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

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description: 分包项目验收草稿箱保存/编辑请求实体
 * @Author: wangpeng
 * @Date: 2023/3/29 9:03
 */
@ApiModel
@Data
public class OutsourceProjectCheckSaveOrUpdateRequest {
    @NotNull(message = "分包项目主键id不能为空")
    @ApiModelProperty(value = "主键id", dataType = "Long", required = true)
    private Long id;

    @NotBlank(message = "验收结论不能为空")
    @ApiModelProperty(value = "验收结论", dataType = "String", required = true)
    private String checkConclusion;

    @ApiModelProperty(value = "验收时间", dataType = "String", required = true)
    private String checkTime;

    @ApiModelProperty(value = "项目验收文件-minio存储文件名", dataType = "String", required = true)
    private String checkMinioFileName;

    @ApiModelProperty(value = "项目验收备注", dataType = "String", required = true)
    private String checkRemark;

    @ApiModelProperty(value = "流程实例id（未通过验收编辑接口入参必传）", dataType = "String")
    private String checkProcessId;
}
