package thyyxxk.webserver.entity.zhuyuanyisheng.yizhuluru;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 描述： 医嘱费用查询条件
 * </p>
 *
 * @author xc
 * @date 2022-01-06 15:47
 */
@Data
public class YiZhuFeiYongChaXunTiaoJian {
    private long currentPage;
    private long pageSize;
    private long total;
    @NotNull(message = "住院号不能为空")
    private String patNo;
    @NotNull(message = "住院次数不能为空")
    @Min(value = 1, message = "最小值为1")
    private Integer times;

    /**
     * 开始时间
     */
    private String startTime;
    private String endTime;

    /**
     * 医嘱频次
     * 0 - 全部 1-临时 2-长期
     */
    private Integer frequCode;
    /**
     * 医嘱名
     */
    private String orderName;

    /**
     * 医嘱状态
     * {code: 0, name: '全部'},
     * {code: 1, name: '录入'},
     * {code: 2, name: '确认'},
     * {code: 3, name: '执行'},
     * {code: 5, name: '停止'},
     * {code: 6, name: '可停止'},
     * {code: 7, name: '可撤销'},
     * {code: 8, name: '临时医嘱'},
     * {code: 9, name: '长期医嘱'},
     */
    private Integer zhuangTai;

    /**
     * 医嘱号
     */
    private String actOrderNo;

    /**
     * 0 全部
     * 1 停止
     * 2 当前
     * 3 当日
     */
    private Integer displayRange;

    private Boolean inTheHospital = true;
}
