package com.gxwebsoft.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;
import java.io.Serializable;
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)
@Schema(name = "OaTaskCount对象", description = "数据统计")
public class OaTaskCount implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @TableId(value = "task_count_id", type = IdType.AUTO)
    private Integer taskCountId;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "待处理数")
    private Integer pending;

    @Schema(description = "闲置的工单(废弃)")
    private Integer unused;

    @Schema(description = "已完成数(废弃)")
    private Integer completed;

    @Schema(description = "今天处理数")
    private Integer today;

    @Schema(description = "本月处理数")
    private Integer month;

    @Schema(description = "今年处理数")
    private Integer year;

    @Schema(description = "总工单数")
    private Integer total;

    @Schema(description = "部门ID")
    private Integer organizationId;

    @Schema(description = "角色ID")
    private Integer roleId;

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

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

}
