package com.tykj.dev.device.allot.subject.vo;

import com.tykj.dev.device.file.entity.FileRet;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author dengdiyi
 */
@Data
@ApiModel("单据上传类")
public class FileUploadVo {

    @NotNull(message = "taskId不能为空")
    @Min(value = 1,message = "taskId不能小于1")
    @ApiModelProperty(value = "任务Id")
    private Integer taskId;

//    @NotNull(message = "billFileName不能为空")
    @ApiModelProperty(value = "配发单附件名字")
    private String billFileName;

//    @NotNull(message = "billFileUrl不能为空")
    @ApiModelProperty(value = "配发单附件URL")
    private String billFileUrl;

//    @NotNull(message = "status不能为空")
    @ApiModelProperty(value = "是否上传单据（0：否，1：是）")
    private Integer status;

    @ApiModelProperty(value = "接收单位B岗")
    private Integer sendUserbId;

    @ApiModelProperty(value = "接收单位B岗")
    private Integer receiveUserbId;

    @ApiModelProperty(value = "接收方配发单")
    private List<FileRet> receiveFiles;
}
