package com.casic.missiles.dto.meter;

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: 2022/12/22 12:13
 */
@ApiModel
@Data
public class TraceSupplierApprovalListRequest {
    /**
     * 审批状态类型，对应ApprovalStatusEnum
     */
    @NotEmpty(message = "审批状态类型不能为空")
    @ApiModelProperty(value = "审批状态类型code", dataType = "String")
    private String approvalStatus;

    /**
     * 溯源供方编号
     */
    @ApiModelProperty(value = "溯源供方编号", dataType = "String")
    private String supplierNo;

    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称", dataType = "String", required = true)
    private String supplierName;

    /**
     * 业务内容
     */
    @ApiModelProperty(value = "业务内容", dataType = "String", required = true)
    private String businessContent;

    /**
     * 公司地址-省
     */
    @ApiModelProperty(value = "公司地址-省", dataType = "String")
    private String companyProvince;

    /**
     * 公司地址-市
     */
    @ApiModelProperty(value = "公司地址-市", dataType = "String")
    private String companyCity;

    /**
     * 公司地址-区
     */
    @ApiModelProperty(value = "公司地址-区", dataType = "String")
    private String companyArea;

    @ApiModelProperty(hidden = true)
    private Long createUserId;

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

}
