package com.casic.missiles.dto.business.siteExecutive;

import com.casic.missiles.annotation.DictCodeField;
import com.casic.missiles.constants.MeterDictCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @Description: 分包方列表请求实体
 * @Author: wangpeng
 * @Date: 2023/3/25 09:27
 */
@Data
@ApiModel
public class SiteExecutiveApprovalListRequest {
    /**
     * 审批状态类型，对应ApprovalStatusEnum
     */
    @NotEmpty(message = "审批状态类型不能为空")
    @DictCodeField(message = "审批状态类型不合法", cacheName = MeterDictCode.APPROVAL_STATUS)
    @ApiModelProperty(value = "审批状态类型code", dataType = "String")
    private String approvalStatus;

    /**
     * 表单id
     */
    @NotBlank(message = "表单id不能为空")
    @ApiModelProperty(value = "表单id（流程定义对应的表单id，等价于业务id）", dataType = "String")
    private String formId;

    @ApiModelProperty(value = "现场检测编号", dataType = "String")
    private String siteExecutiveNo;

    @ApiModelProperty(value = "委托方名称", dataType = "String")
    private String customerName;

    @ApiModelProperty(value = "负责人", dataType = "String")
    private String directorName;

    @ApiModelProperty(hidden = true)
    private Long createUserId;

}
