package com.gxwebsoft.oa.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据统计查询参数
 *
 * @author 科技小王子
 * @since 2024-09-10 20:57:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "OaTaskCountParam对象", description = "数据统计查询参数")
public class OaTaskCountParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @QueryField(type = QueryType.EQ)
    private Integer taskCountId;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "待处理数")
    @QueryField(type = QueryType.EQ)
    private Integer pending;

    @Schema(description = "闲置的工单(废弃)")
    @QueryField(type = QueryType.EQ)
    private Integer unused;

    @Schema(description = "已完成数(废弃)")
    @QueryField(type = QueryType.EQ)
    private Integer completed;

    @Schema(description = "今天处理数")
    @QueryField(type = QueryType.EQ)
    private Integer today;

    @Schema(description = "本月处理数")
    @QueryField(type = QueryType.EQ)
    private Integer month;

    @Schema(description = "今年处理数")
    @QueryField(type = QueryType.EQ)
    private Integer year;

    @Schema(description = "总工单数")
    @QueryField(type = QueryType.EQ)
    private Integer total;

    @Schema(description = "部门ID")
    @QueryField(type = QueryType.EQ)
    private Integer organizationId;

    @Schema(description = "角色ID")
    @QueryField(type = QueryType.EQ)
    private Integer roleId;

    @Schema(description = "角色标识")
    private String roleCode;

}
