package com.bcxin.tenant.domain.repositories.dtos;

import lombok.Data;

@Data
public class OrganizationStatisticsDto {
    private String orgId;
    private String unifySocialCreditCode;

    private int countOfMembers;

    public OrganizationStatisticsDto(String orgId, String unifySocialCreditCode, Long countOfMembers) {
        this.orgId = orgId;
        this.unifySocialCreditCode = unifySocialCreditCode;
        this.countOfMembers = countOfMembers.intValue();
    }
}
