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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 审批请求体
 */
@Data
@ApiModel
public class CertificateReportApprovalRequest {

    /**
     * 审批状态类型，对应ApprovalStatusEnum
     */
    @NotEmpty(message = "审批状态类型不能为空")
    @ApiModelProperty(value = "审批状态类型code", dataType = "String")
    private String approvalStatus;

    @ApiModelProperty(value = "证书号", dataType = "String")
    private String certificateReportCode;


    @ApiModelProperty(value = "委托书编号", dataType = "String")
    private String orderCode;

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


    @ApiModelProperty(value = "样品编号", dataType = "String")
    private String sampleNo;

    @ApiModelProperty(value = "样品名称", dataType = "String")
    private String sampleName;

    @ApiModelProperty(value = " 检校类别", dataType = "String")
    private String measureCategory;

    @ApiModelProperty(value = "导出ids(查询不用传)", dataType = "List")
    private List<Long> ids;

    @ApiModelProperty(hidden = true)
    private Long createUserId;

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