package com.zhiqiyun.open.core.models.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zhiqiyun.open.core.enmus.Gender;
import com.zhiqiyun.open.core.enmus.UserState;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Administrator
 * @date 2017-6-7
 */
@Data
@TableName("user_base_info")
public class UserBaseInfo implements Serializable {
    private static final long serialVersionUID = 925241835389657323L;
    @TableId(type = IdType.INPUT)
    private Long id;
    private String nickName;
    private String avatar;

    private Gender gender;
    private Date registerTime;
    private String registerIp;

    private UserState state;
}
