package com.tzy.pojo.app;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import lombok.Data;
import java.util.Date;

/**
 * @Description  
 * @Author  Hunter
 * @Date 2022-02-16 
 */

@Table ( name ="app_base_user" )
@Data
public class AppBaseUser  implements Serializable {

	private static final long serialVersionUID =  2871692150562029434L;

	/**
	 * id
	 */
   	@Column(name = "id" )
	private Long id;

	/**
	 * 所属程序
	 */
   	@Column(name = "appid" )
	private String appid;

	/**
	 * 真实姓名
	 */
   	@Column(name = "realname" )
	private String realname;

	/**
	 * 昵称
	 */
   	@Column(name = "nickname" )
	private String nickname;

	/**
	 * 头像
	 */
   	@Column(name = "avatar" )
	private String avatar;

	/**
	 * 积分
	 */
   	@Column(name = "point" )
	private Long point;

	/**
	 * 会员等级
	 */
   	@Column(name = "level" )
	private Integer level;

	/**
	 * 生日
	 */
   	@Column(name = "birthday" )
	private Date birthday;

	/**
	 * 性别
	 */
   	@Column(name = "sex" )
	private Integer sex;

	/**
	 * openid
	 */
   	@Column(name = "openid" )
	private String openid;

	/**
	 * unionid
	 */
   	@Column(name = "unionid" )
	private String unionid;

	/**
	 * 注册渠道
	 */
   	@Column(name = "register_channel" )
	private String registerChannel;

	/**
	 * 状态
	 */
   	@Column(name = "status" )
	private Integer status;

	/**
	 * 删除标记
	 */
   	@Column(name = "del_flg" )
	private Integer delFlg;

	/**
	 * 备注
	 */
   	@Column(name = "remark" )
	private String remark;

	/**
	 * 创建人
	 */
   	@Column(name = "create_by" )
	private String createBy;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 更新人
	 */
   	@Column(name = "update_by" )
	private String updateBy;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 账号
	 */
   	@Column(name = "username" )
	private String username;

	/**
	 * 会员成长值
	 */
   	@Column(name = "growth_num" )
	private Long growthNum;

	/**
	 * 会员码
	 */
   	@Column(name = "code" )
	private String code;

	/**
	 * 是否接受通知消息,1接受,0拒绝
	 */
   	@Column(name = "notify_flag" )
	private Integer notifyFlag;

	/**
	 * app极光注册id
	 */
   	@Column(name = "sms_register_id" )
	private String smsRegisterId;

   	@Column(name = "user_id" )
	private Long userId;

   	@Column(name = "notify_type" )
	private String notifyType;

}
