package com.maintain.business.domain.bo;

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.List;

import com.maintain.common.core.domain.BaseEntity;

/**
 * 检验项目业务对象 erp_examine_project
 *
 * @author liushuai
 * @date 2025-03-28
 */

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

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

    /**
     * 检验类型ID
     */
    @NotNull(message = "检验类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long typeId;

    /**
     * 检验类型名称
     */
    private String typeName;

    /**
     * 检验项目编号
     */
    @NotBlank(message = "检验项目编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String examineCode;

    /**
     * 检验项目名称
     */
    @NotBlank(message = "检验项目名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String examineName;

    /**
     * 是否通用（0否 1是 默认0）
     */
    @NotNull(message = "是否通用（0否 1是 默认0）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer isGeneral;

    /**
     * 状态
     */
    private Integer state;

    /**
     * 是否删除（0否1是 默认0）
     */
    private Integer isDelete;

    /**
     * 适配车型列表
     */
    private List<ErpVehicleModelBo> modelList;


}
