package com.zhongshu.card.client.model.school;

import com.zhongshu.card.client.model.org.OrganizationUserSimpleModel;
import com.zhongshu.card.client.model.org.UserCountModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 注册返回数据
 *
 * @author TRX
 * @date 2024/9/10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterResultModel {

    @Schema(description = "学号/工号")
    private String code;

    @Schema(description = "用户信息")
    private UserCountModel userInfo;

    @Schema(description = "所在学校信息")
    List<OrganizationUserSimpleModel> schools = new ArrayList<>();

}
