package com.sonic.bear.domain.entity;

import com.sonic.bear.enums.AccountType;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserInfoBo {

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 账号类型
     */
    private Integer accountType;

    /**
     * 账号状态
     */
    private Integer accountStatus;

    /**
     * 账号注册时间
     */
    private LocalDateTime createTime;

    public AccountType getAccountTypeEnum() {
        return AccountType.from(this.accountType);
    }

}
