package com.hotwj.platform.config.vehicleThreeInspectItem.domain.bo;

import com.hotwj.platform.config.vehicleThreeInspectItem.domain.HotVehicleThreeInspectItem;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 车辆三检检查项业务对象 hot_vehicle_three_inspect_item
 *
 * @author shihongwei
 * @date 2025-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotVehicleThreeInspectItem.class, reverseConvertGenerate = false)
public class HotVehicleThreeInspectItemBo extends BaseEntity {

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

    /**
     * 公司ID
     */
//    @NotNull(message = "公司ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long companyId;

    /**
     * 检查项ID
     */
    @NotNull(message = "检查项ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long inspectId;

    /**
     * 检查类型 1=行车前 2=行车中 3=收车后
     */
    @NotNull(message = "检查类型 1=行车前 2=行车中 3=收车后不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long inspectType;

    /**
     * 排序序号，数字越小越靠前
     */
    @NotNull(message = "排序序号，数字越小越靠前不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long sortNo;

    /**
     * 0=正常, 1=已删除
     */
//    @NotNull(message = "0=正常, 1=已删除不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long isDeleted;


}
