package com.yeshi.fanli.dto.mq.user.body;
|
|
import java.util.Date;
|
|
import com.yeshi.fanli.dto.mq.BaseMQMsgBody;
|
|
/**
|
* 用户信息修改
|
*
|
* @author Administrator
|
*
|
*/
|
public class UserInfoUpdateMQMsg extends BaseMQMsgBody {
|
|
public enum UserInfoUpdateTypeEnum {
|
nickName("昵称"), portrait("头像"), sex("绑定更换"), inviteCode("邀请码修改"), wxId("微信号"), wxErCode("微信二维码");
|
private final String desc;
|
|
private UserInfoUpdateTypeEnum(String desc) {
|
this.desc = desc;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
}
|
|
private Long uid;// 用户ID
|
private UserInfoUpdateTypeEnum type;// 类型
|
private String value;// 值
|
private Date createTime;// 时间
|
|
public UserInfoUpdateMQMsg(Long uid, UserInfoUpdateTypeEnum type, String value, Date createTime) {
|
super();
|
this.uid = uid;
|
this.type = type;
|
this.value = value;
|
this.createTime = createTime;
|
}
|
|
public UserInfoUpdateMQMsg() {
|
super();
|
|
}
|
|
public Long getUid() {
|
return uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
}
|
|
public UserInfoUpdateTypeEnum getType() {
|
return type;
|
}
|
|
public void setType(UserInfoUpdateTypeEnum 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;
|
}
|
|
}
|