package com.yeshi.fanli.entity.bus.user;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import org.yeshi.utils.generater.mybatis.Column;
|
import org.yeshi.utils.generater.mybatis.Table;
|
|
/**
|
* 修改记录
|
*
|
* @author Administrator
|
*
|
*/
|
@Table("yeshi_ec_user_modify_record")
|
public class UserInfoModifyRecord implements Serializable {
|
/**
|
*
|
*/
|
private static final long serialVersionUID = 1L;
|
|
public enum ModifyTypeEnum {
|
bindWeiXin("微信授权"), bindPhone("绑定手机"), bindTaoBao("淘宝授权"), bindQQ("绑定QQ"), setWeiXinNum("添加微信号"),
|
gender("设置性别"), portrait("修改头像"), nickName("修改昵称"), bindAlipay("绑定支付宝");
|
|
private final String desc;
|
|
private ModifyTypeEnum(String desc) {
|
this.desc = desc;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
}
|
|
|
@Column(name = "umr_id")
|
private Long id;
|
|
@Column(name = "umr_uid")
|
private Long uid ;
|
|
@Column(name = "umr_type")
|
private ModifyTypeEnum type;
|
|
@Column(name = "umr_value")
|
private String value; // 唯一值
|
|
@Column(name = "umr_create_time")
|
private Date createTime;
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public ModifyTypeEnum getType() {
|
return type;
|
}
|
|
public void setType(ModifyTypeEnum type) {
|
this.type = type;
|
}
|
|
public String getValue() {
|
return value;
|
}
|
|
public void setValue(String value) {
|
this.value = value;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
}
|