package com.maintain.business.domain.bo;

import com.maintain.business.domain.ErpTyrePosition;
import com.maintain.common.core.validate.AddGroup;
import com.maintain.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import com.maintain.common.core.domain.BaseEntity;

/**
 * 客户信息-车型业务对象 erp_vehicle_model
 *
 * @author liushuai
 * @date 2025-03-25
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpVehicleModelBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 车型编号
     */
    @NotBlank(message = "车型编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String carTypeCode;

    /**
     * 车辆品牌
     */
    @NotBlank(message = "车辆品牌不能为空", groups = { AddGroup.class, EditGroup.class })
    private String carBrand;

    /**
     * 车辆型号
     */
    @NotBlank(message = "车辆型号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String carModel;

    /**
     * 车辆配置
     */
    private String carConfiguration;

    /**
     * 车辆颜色
     */
    private String carColour;

    /**
     * 车型（1轿车 2 SUV）
     */
    private Integer type;

    /**
     * 能耗类型（1纯油 2纯电 3混动）
     */
    private Integer expendType;

    /**
     * 底盘型号
     */
    @NotBlank(message = "底盘型号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String chassisNumber;

    /**
     * 电机型号||发动机型号
     */
    private String motorNumber;

    /**
     * 发动机型号
     */
    private String engineNumber;

    /**
     * 车轴数量
     */
    private Long axleNumber;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 胎位列表
     */
    private List<ErpTyrePositionBo> tyrePositions;


}
