package com.seer.teach.user.app.auth.service;

import lombok.Data;

import java.util.List;

@Data
public class LoginUser {

    private Integer userId;

    /**
     * 是否有孩子,家长登录专用字段
     */
    private Boolean status;

    /**
     * 经销商申请状态,经销商专业字段
     */
    private Integer applyStatus;

    private List<String> roles;

    public LoginUser(Integer userId) {
        this.userId = userId;
    }

    public LoginUser(Integer userId, Boolean status) {
        this.userId = userId;
        this.status = status;
    }

    public LoginUser(Integer userId, Integer applyStatus) {
        this.applyStatus = applyStatus;
        this.userId = userId;
    }
}
