package com.fs.his.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class PrescribeStatParam {
    // 医生姓名模糊搜索
    private String doctorName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startOperateTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endOperateTime;

    //医生组别
    private String groupCode;

    //拒方率筛选范围
    // 最小拒方率 (0.0 - 1.0)
    private Double minRejectRate;

    // 最大拒方率 (0.0 - 1.0)
    private Double maxRejectRate;

    // --- 新增的月度查询字段 ---
    private Integer queryYear;

    private Integer queryMonth;

    // 新增：指定排序字段 (例如: avgOperateSecond, prescribeNum, operation, rejectRate)
    private String orderByColumn = "avgOperateSecond"; // 默认按平均操作时长排序

    // 科室id
    private Long deptId;

    // 医院id
    private Long hospitalId;

    // 排序方式：asc / desc
    private String sort;

    private int pageNum=1;

    private int pageSize=150;
}