package com.backendsys.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Data
public class SysUserInfoSimple {
    private Long id;
    private Long user_id;
    private String username;
    private String phone;
    private String phone_area_code;
    private String nickname;
    private String email;
    private Integer gender;
    private String avatar;
    private String last_login_ip;
    private String last_login_uuid;
    private String last_login_time;
    private Integer is_super;

    @TableField(exist = false)
    private Integer integral;       // 积分

    private Double point_balance;
    private String invite_code;
    private Integer status;
    private Integer audit_status;
    private String audit_note;

    private LocalDateTime create_time;
    private LocalDateTime update_time;

    private Integer del_flag;
    private List<Map<String, Object>> roles;
    private List<Long> role_id;
}
