package com.sundot.airport.personnel.dto;

import java.util.List;

/**
 * 部门分值分布DTO
 *
 * @author wangxx
 * @date 2026-05-09
 */
public class DeptScoreDistributionNewDto {
    /**
     * 部门ID
     */
    private Long deptId;

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

    /**
     * 部门类型
     */
    private String deptType;

    /**
     * 部门类型描述
     */
    private String deptTypeDesc;

    /**
     * 各分数段人数详情列表
     */
    private List<ScoreRangeItemDto> scoreRangeDetails;

    /**
     * 总人数
     */
    private Integer totalCount;

    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 String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    public String getDeptTypeDesc() {
        return deptTypeDesc;
    }

    public void setDeptTypeDesc(String deptTypeDesc) {
        this.deptTypeDesc = deptTypeDesc;
    }

    public List<ScoreRangeItemDto> getScoreRangeDetails() {
        return scoreRangeDetails;
    }

    public void setScoreRangeDetails(List<ScoreRangeItemDto> scoreRangeDetails) {
        this.scoreRangeDetails = scoreRangeDetails;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

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

    /**
     * 分数段明细DTO
     */
    public static class ScoreRangeItemDto {
        /**
         * 分数段标识
         */
        private String rangeKey;

        /**
         * 分数段显示名称
         */
        private String rangeLabel;

        /**
         * 该分数段人数
         */
        private Integer count;

        public String getRangeKey() {
            return rangeKey;
        }

        public void setRangeKey(String rangeKey) {
            this.rangeKey = rangeKey;
        }

        public String getRangeLabel() {
            return rangeLabel;
        }

        public void setRangeLabel(String rangeLabel) {
            this.rangeLabel = rangeLabel;
        }

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }
    }
}
