package com.casic.missiles.dto.meter;

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

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

/**
 * @Description: 文件列表请求实体
 * @Author: wangpeng
 * @Date: 2022/11/22 17:13
 */
@ApiModel
@Data
public class FileListRequest {
    /**
     * 文件编号
     */
    @ApiModelProperty(value = "文件编号", dataType = "String")
    private String fileNo;

    /**
     * 文件名称
     */
    @ApiModelProperty(value = "文件名称", dataType = "String")
    private String fileName;

    /**
     * 文件号
     */
    @ApiModelProperty(value = "文件号", dataType = "String")
    private String fileCode;

    /**
     * 文件类别-字典code
     */
    @ApiModelProperty(value = "文件类别-字典code", dataType = "String")
    private String fileType;

    /**
     * 发布时间
     */
    @ApiModelProperty(value = "发布时间(开始)", dataType = "String")
    private String publishStartTime;
    @ApiModelProperty(value = "发布时间(结束)", dataType = "String")
    private String publishEndTime;

    /**
     * 实施时间
     */
    @ApiModelProperty(value = "实施时间(开始)", dataType = "String")
    private String effectiveStartTime;
    @ApiModelProperty(value = "实施时间(结束)", dataType = "String")
    private String effectiveEndTime;

    /**
     * 实施状态
     */
    @ApiModelProperty(value = "实施状态", dataType = "String")
    private String effectiveStatus;

    @ApiModelProperty(value = "筛选ids", dataType = "List")
    private List<Long> ids;

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