package com.sckw.system.model.vo.res;

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

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

/**
 * @author :chenXiaoFei
 * @version :1.0
 * @description : 企业信息响应参数
 * @create :2025-11-04 13:45:00
 */
@Data
public class EntInfoResp implements Serializable {
    @Serial
    private static final long serialVersionUID = -8957989833318602612L;

    @Schema(description = "当前企业是否为买家：true-买家，false-卖家")
    private Boolean buyer;

    private List<EntInfo> entInfos;

    @Data
    public static class EntInfo implements Serializable{
        @Serial
        private static final long serialVersionUID = 2247838821327708080L;
        /**
         * 企业id
         */
        @Schema(description = "企业id")
        private String entId;

        /**
         * 企业名称
         */
        @Schema(description = "企业名称")
        private String entName;
    }
}
