package cn.iocoder.yudao.module.custom.entity;

import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 车辆品牌型号 DO
 *
 * @author 后台管理员
 */
@TableName("base_car_model")
@KeySequence("base_car_model_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CarModel extends BaseDO {

    /**
     * 主键
     */
    @TableId(type = IdType.ASSIGN_UUID)
    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18805")
    @ExcelProperty("主键")
    private String id;
    /**
     * 排序
     */
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;
    /**
     * 型号名称
     */
    @Schema(description = "型号名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @ExcelProperty("型号名称")
    private String modelName;
    /**
     * 型号键值
     */
    private String modelValue;
    /**
     * 备注
     */
    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;
    /**
     * 型号缩写
     */
    @Schema(description = "型号缩写", example = "李四")
    @ExcelProperty("型号缩写")
    private String abbName;
    /**
     * 品牌id
     */
    private String brandId;
    /**保养里程规则*/
    private BigDecimal ruleMileage;
    /**保养时间规则（月）*/
    private Integer ruleTime;

}