package com.sundot.airport.ledger.dto;

import java.io.Serializable;
import java.util.List;

/**
 * <b>功能名：</b>DeptMemberDistributionDTO<br>
 * <b>说明：</b> 部门成员基本情况分布DTO（用于饼图展示）<br>
 * <b>著作权：</b> Copyright (C) 2025 SUNDOT CORPORATION<br>
 *
 * @author Claude
 */
public class DeptMemberDistributionDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 性别分布
     */
    private List<DistributionItem> sexDistribution;

    /**
     * 民族分布
     */
    private List<DistributionItem> nationDistribution;

    /**
     * 政治面貌分布
     */
    private List<DistributionItem> politicalDistribution;

    /**
     * 职业资格等级分布
     */
    private List<DistributionItem> qualificationDistribution;

    /**
     * 开机年限分布
     */
    private List<DistributionItem> xrayYearDistribution;

    /**
     * 岗位资质分布
     */
    private List<DistributionItem> positionDistribution;

    /**
     * 分布项内部类
     */
    public static class DistributionItem implements Serializable {
        private static final long serialVersionUID = 1L;

        /**
         * 名称（如：男、女、汉族等）
         */
        private String name;

        /**
         * 数量
         */
        private Integer count;

        public DistributionItem() {
        }

        public DistributionItem(String name, Integer count) {
            this.name = name;
            this.count = count;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Integer getCount() {
            return count;
        }

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

    public List<DistributionItem> getSexDistribution() {
        return sexDistribution;
    }

    public void setSexDistribution(List<DistributionItem> sexDistribution) {
        this.sexDistribution = sexDistribution;
    }

    public List<DistributionItem> getNationDistribution() {
        return nationDistribution;
    }

    public void setNationDistribution(List<DistributionItem> nationDistribution) {
        this.nationDistribution = nationDistribution;
    }

    public List<DistributionItem> getPoliticalDistribution() {
        return politicalDistribution;
    }

    public void setPoliticalDistribution(List<DistributionItem> politicalDistribution) {
        this.politicalDistribution = politicalDistribution;
    }

    public List<DistributionItem> getQualificationDistribution() {
        return qualificationDistribution;
    }

    public void setQualificationDistribution(List<DistributionItem> qualificationDistribution) {
        this.qualificationDistribution = qualificationDistribution;
    }

    public List<DistributionItem> getXrayYearDistribution() {
        return xrayYearDistribution;
    }

    public void setXrayYearDistribution(List<DistributionItem> xrayYearDistribution) {
        this.xrayYearDistribution = xrayYearDistribution;
    }

    public List<DistributionItem> getPositionDistribution() {
        return positionDistribution;
    }

    public void setPositionDistribution(List<DistributionItem> positionDistribution) {
        this.positionDistribution = positionDistribution;
    }
}
