package com.YuyeTech.HeartRate.game.userinfo.projo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author:slambb
 * @date:2019/12/5
 */
@Data
@Entity
public class UserInfo {

    @Id
    private String userId;

    private String username;

    private String gender;

    /**
     * 城市代码
     */
    private String cityCode;

    private Date birthday;

    private String signature;

    private String avatarUrl;

    private Double height;

    private Double weight;

    /** 创建时间. */
    private Date registerTime;

    private Date updateTime;

    /**
     * todo 后续看情况设置旧用户信息
     */
    private Integer status;//0：旧用户，1：新注册
}
