package com.casic.missiles.dto.equipment;

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

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

/**
 * 测量设备-状态管理申请请求实体
 * @author xiezhuangz
 * @version 1.0
 * @date 2022/12/19 9:43
 */

@ApiModel
@Data
public class StateManageRequest {

    /**
     * 申请编号
     */
    @ApiModelProperty(value = "申请编号", dataType = "String")
    private String applyNo;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "(状态管理)设备编号", dataType = "String")
    private String equipmentNo;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称", dataType = "String")
    private String equipmentName;

    /**
     * 申请单位
     */
    @ApiModelProperty(value = "申请单位", dataType = "String")
    private String applyUnit;

    /**
     * 申请状态
     */
    @ApiModelProperty(value = "申请状态", dataType = "String")
    private String applyStatus;

    /**
     * 审批状态
     */
    @ApiModelProperty(value = "审批状态", dataType = "String", required = true)
    private String approvalStatus;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人", dataType = "String", required = true)
    private String createUser;

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

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

    /**
     * 业务主键列表
     */
    @ApiModelProperty(value = "业务主键列表（工作流查询用，不用前端传）", dataType = "List")
    private List<String> businessKeys;

    /**
     * 申请类型
     */
    @ApiModelProperty(value = "申请类型", dataType = "String",required = true)
    private String applyType;
}
