package com.casic.missiles.dto.equipment;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@ApiModel
@Data
public class AcceptanceCheckRequest {

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

    /**
     * 验收单编号
     */
    @ApiModelProperty(value = "验收单编号", dataType = "String")
    private String applyNo;

    /**
     * 验收单名称
     */
    @ApiModelProperty(value = "验收单名称", dataType = "String")
    private String applyName;

    /**
     * 检修单编号
     */
    @ApiModelProperty(value = "检修单编号", dataType = "String")
    private String checkApplyNo;

    /**
     * 检修保养人
     */
    @ApiModelProperty(value = "检修保养人", dataType = "String")
    private String overhaulPerson;

    /**
     * 检查日期开始时间
     */
    @ApiModelProperty(value = "检查日期开始时间", dataType = "String")
    private String checkStartDate;

    /**
     * 检查日期结束时间
     */
    @ApiModelProperty(value = "检查日期结束时间", dataType = "String")
    private String checkEndDate;

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

    /**
     * 表单id
     */
    @NotBlank(message = "表单id不能为空")
    @ApiModelProperty(value = "表单id", dataType = "String")
    private String formId;

    /**
     * 创建人
     */
    @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;

}
