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

import com.hotwj.platform.config.signAuditPermissionConfig.domain.HotSignAuditPermissionConfig;
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_sign_audit_permission_config
 *
 * @author shihongwei
 * @date 2025-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotSignAuditPermissionConfig.class, reverseConvertGenerate = false)
public class HotSignAuditPermissionConfigBo extends BaseEntity {

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

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

    /**
     * 业务类型 1=车辆三检出车 2=车辆三检行车 3=车辆三检收车 4=隐患排查 5=隐患治理评估 6=隐患治理治理 7=隐患治理复查
     */
    @NotNull(message = "业务类型 1=车辆三检出车 2=车辆三检行车 3=车辆三检收车 4=隐患排查 5=隐患治理评估 6=隐患治理治理 7=隐患治理复查不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long bizType;

    /**
     * 审核人ID
     */
    @NotNull(message = "审核人ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long auditorId;

    /**
     * 审核人姓名
     */
    private String auditorName;

    /**
     * 手机号
     */
    private String phone;

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


}
