package com.xiaoniu.system.platformsettings.carbrand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author haoxuyang
 * @Date 2024/10/10 17:11
 */
@Data
@Schema(description = "车辆信息列表响应参数VO")
public class CarBrandListVO {

    @Schema(description = "id")
    private Long id;

    @Schema(description = "父id")
    private Long parentId;

    @Schema(description = "编号")
    private String no;

    @Schema(description = "名称（品牌、型号名称）")
    private String name;

    @Schema(description = "创建者")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "子数据")
    private List<CarBrandListVO> children;
}
