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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 车辆品牌信息表
 * </p>
 *
 * @author haoxuyang
 * @since 2024-10-10 05:01:01
 */
@Getter
@Setter
@TableName("tb_car_brand")
@Schema(name = "TbCarBrand", description = "车辆品牌信息表")
public class TbCarBrand implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

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

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

    @Schema(description = "logo")
    private String logo;

    @Schema(description = "年份")
    private Integer year;

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

    @Schema(description = "厂商")
    private String manufacturer;

    @Schema(description = "类型（1-品牌 2-型号 3-配置）")
    private Integer type;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

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

    @Schema(description = "创建",hidden = true)
    private Date createTime;

    @Schema(description = "更新者")
    private String updateBy;

    @Schema(description = "更新时间",hidden = true)
    private Date updateTime;

    @Schema(description = "备注")
    private String remark;
}
