package com.sundot.airport.exam.dto;

import java.io.Serializable;

/**
 * <b>功能名：</b>DailyTaskDeptStatisticsDTO<br>
 * <b>说明：</b> 按部门统计每日任务DTO <br>
 * <b>著作权：</b> Copyright (C) 2025 SUNDOT CORPORATION<br>
 * <b>修改履历：
 *
 * @author 2025-01-18
 */
public class DailyTaskDeptStatisticsDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 部门名称
     */
    private String deptName;

    /**
     * 任务总数
     */
    private Long totalCount;

    /**
     * 待答题数量
     */
    private Long pendingCount;

    /**
     * 答题中数量
     */
    private Long inProgressCount;

    /**
     * 已完成数量
     */
    private Long completedCount;

    /**
     * 已逾期数量
     */
    private Long expiredCount;

    /**
     * 完成率（百分比）
     */
    private Double completionRate;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Long totalCount) {
        this.totalCount = totalCount;
    }

    public Long getPendingCount() {
        return pendingCount;
    }

    public void setPendingCount(Long pendingCount) {
        this.pendingCount = pendingCount;
    }

    public Long getInProgressCount() {
        return inProgressCount;
    }

    public void setInProgressCount(Long inProgressCount) {
        this.inProgressCount = inProgressCount;
    }

    public Long getCompletedCount() {
        return completedCount;
    }

    public void setCompletedCount(Long completedCount) {
        this.completedCount = completedCount;
    }

    public Long getExpiredCount() {
        return expiredCount;
    }

    public void setExpiredCount(Long expiredCount) {
        this.expiredCount = expiredCount;
    }

    public Double getCompletionRate() {
        return completionRate;
    }

    public void setCompletionRate(Double completionRate) {
        this.completionRate = completionRate;
    }

    @Override
    public String toString() {
        return "DailyTaskDeptStatisticsDTO{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", totalCount=" + totalCount +
                ", pendingCount=" + pendingCount +
                ", inProgressCount=" + inProgressCount +
                ", completedCount=" + completedCount +
                ", expiredCount=" + expiredCount +
                ", completionRate=" + completionRate +
                '}';
    }
}
