package com.ichangzuo.system.model.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.Getter;
import lombok.Setter;

@TableName("mc_user")
@Getter
@Setter
public class NewUser {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long userId;
    private String userName;
    private String nickname;

    @TableField("user_password")
    private String password;
    private Integer state; //状态

    private String phone;
    private Integer isPhone; //手机认证？

    private String email;

    private Integer regTime; //注册时间
}
