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

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

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

/**
 * @author cz
 */
@Data
@ApiModel("证书打印")
public class CertificateListRequest {

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

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

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

    @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 certificateClass;

    @ApiModelProperty(value = "可打印(证书可打印传0,全部传null)", dataType = "String")
    private Integer printStatus;

    @ApiModelProperty(value = "审批状态(待审批传)", dataType = "String")
    private String approvalStatus;

    @ApiModelProperty(value = "创建人id(前端不需要传)", dataType = "String")
    private Long createUserId;

    @ApiModelProperty(value = "导出ids", dataType = "List")
    private List<Long> ids;

}
