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.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 数据统计查询参数
 *
 * @author 科技小王子
 * @since 2023-10-30 14:25:30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TaskCountParam对象", description = "数据统计查询参数")
public class TaskCountParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

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

    @ApiModelProperty(value = "已完成数")
    @QueryField(type = QueryType.EQ)
    private Integer completed;

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

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

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

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

    @ApiModelProperty(value = "部门ID")
    private Integer organizationId;

    @ApiModelProperty(value = "角色ID")
    private Integer roleId;

    @ApiModelProperty(value = "角色标识")
    private String roleCode;

}
