package com.skr.mdm.bean.qo.content;

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

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

/**
 * @author nfq
 * @date 2022-10-28 15:51
 */
@Data
@ApiModel(value = "文档下发对象")
public class DocumentIssuedQO {

    @NotNull(message = "文档ID不能为空")
    @ApiModelProperty("策略ID集合")
    private List<Integer> strategyIdList;

    @NotNull(message = "全局类型不能为空")
    @ApiModelProperty(value = "策略全局类型（1：公司全局 2：部门全局 3：个人）")
    private Integer globalType;

    @ApiModelProperty(value = "候选ID集合（部门ID集合或设备ID集合）")
    private List<Integer> candidateIdList;

    @ApiModelProperty("定时删除 (0: 无 1:阅后 2:指定时间)")
    private Integer reviewDelete;

    @ApiModelProperty("阅读后删除")
    private String reviewDeleteTime;

    @ApiModelProperty("有效期")
    private Date validTime;

    @ApiModelProperty("水印")
    private String waterMark;

    @ApiModelProperty("是否允许共享 0:不允许 1:允许 ")
    private Integer allowShare;

    @ApiModelProperty("推送时间")
    private Date sendPushTime;
}
