package com.hotwj.platform.workbench.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * 总部端企业列表VO
 *
 * @author shihongwei
 */
@Data
@Schema(description = "总部端企业列表VO")
public class HeadquartersCompanyListVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "入驻企业总数")
    private Long totalCount;

    @Schema(description = "企业列表")
    private List<CompanyRow> list;

    @Data
    @Schema(description = "企业行数据")
    public static class CompanyRow implements Serializable {
        @Schema(description = "企业ID")
        private Long id;

        @Schema(description = "企业名称")
        private String companyName;

        @Schema(description = "负责人")
        private String leaderName;

        @Schema(description = "企业法人")
        private String legalPerson;

        @Schema(description = "管理人员总数")
        private Long managerCount;
    }
}
