package com.backendsys.modules.app.user.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;

@Data
@TableName("app_user")
public class AppUser {

    public static interface Detail{}

    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(exist = false)
    private Long user_id;
    private String wechat_open_id;
    private String nickname;

    private String phone;
    private String email;
    private String password;


    private String gender;
    private String avatar;
    private String last_login_uuid;
    private String last_login_ip;
    private String last_login_time;
    private Integer status;
    private String create_time;
    private String update_time;
    private Integer del_flag;

    @TableField(exist = false)
    private String role;
    @TableField(exist = false)
    private String session_key;

    @TableField(exist = false)
    private String token_expiration;
    @TableField(exist = false)
    private String token;

}
