package com.docus.server.collect.web.common.dto;

import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;

@Getter
@Setter
public class NoViewCollectionDto {
    /**
     * 出院时间起
     */
    private String startTime;
    /**
     * 出院时间结束
     */
    private String endTime;

    /**
     * 查询条件
     */
    private String where = "";
    private Integer interval = 5;
    /**
     * 0：不计算节假日,1:计算节假日
     */
    private Integer holiday = 0;
    /**
     * 页数，从0开始
     */
    private int offset;
    /**
     * 页数，从0开始
     */
    private int pageNumber = 0;
    /**
     * 笔数
     */
    private int pageSize;

    /**
     * 采集器ids,以 , 分隔
     */
    private String syscodes = "";

    /**
     * 数据查询方式, 0:出院，1:创建时间
     */
    private int queryway = 0;

    /**
     * 此任务优先级优先级
     */
    private int priority = 1;

    /**
     * 指定队列，指定科室，具体业务
     */
    List<NoViewConfig> noviewconfig;

    /**
     * 合并队列，具体业务
     */
    private Map<String, Object> queuemerge;

    @Override
    public String toString() {
        return "NoViewCollectionDto{" +
            "startTime='" + startTime + '\'' +
            ", endTime='" + endTime + '\'' +
            ", where='" + where + '\'' +
            ", interval=" + interval +
            ", holiday=" + holiday +
            ", pageNumber=" + pageNumber +
            ", pageSize=" + pageSize +
            ", syscodes='" + syscodes + '\'' +
            ", queryway=" + queryway +
            ", priority=" + priority +
            '}';
    }
}
