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 EquipmentApplyRequest {
    /**
     * 表单id
     */
    @NotBlank(message = "表单id不能为空")
    @ApiModelProperty(value = "表单id", dataType = "String")
    private String formId;
    /**
     * 申请编号
     */
    @ApiModelProperty(value = "申请编号", dataType = "String")
    private String applyNo;

    /**
     * 申请名称
     */
    @ApiModelProperty(value = "申请名称", dataType = "String")
    private String applyName;

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

    /**
     * 申请人
     */
    @ApiModelProperty(value = "申请人", dataType = "String")
    private String applyPerson;

    /**
     * 申请日期开始时间
     */
    @ApiModelProperty(value = "申请日期开始时间", dataType = "String")
    private String startTime;

    /**
     * 申请日期结束时间
     */
    @ApiModelProperty(value = "申请日期结束时间", dataType = "String")
    private String endTime;

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

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

    /**
     * 处置结果
     */
    @ApiModelProperty(value = "处置结果", dataType = "String", required = true)
    private String processResult;


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

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

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

}
