package com.gxwebsoft.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

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)
@ApiModel(value = "TaskCount对象", description = "数据统计")
@TableName("oa_task_count")
public class TaskCount implements Serializable {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "待处理数")
    private Integer pending;

    @ApiModelProperty(value = "闲置可抢的工单")
    private Integer unused;

    @ApiModelProperty(value = "已完成数")
    private Integer completed;

    @ApiModelProperty(value = "今天处理数")
    private Integer today;

    @ApiModelProperty(value = "本月处理数")
    private Integer month;

    @ApiModelProperty(value = "今年处理数")
    private Integer year;

    @ApiModelProperty(value = "总工单数")
    private Integer total;

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

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

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

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "昵称")
    @TableField(exist = false)
    private String nickname;

    @ApiModelProperty(value = "头像")
    @TableField(exist = false)
    private String avatar;

    @ApiModelProperty(value = "手机号码")
    @TableField(exist = false)
    private String phone;

}
