| | |
| | |
|
| | | /**
|
| | | * 用户app界面个性化设置
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_user_custom_settings")
|
| | | public class UserCustomSettings {
|
| | |
|
| | | public static int STATE_VALID = 1;
|
| | |
|
| | | public static int STATE_INVALID = 0;
|
| | |
|
| | | // 消息类型的枚举
|
| | | public enum UserSettingTypeEnum {
|
| | | cancelNotice("通知免打扰(20:00-8:00)"), noNewsRedDot("不看消息红点提醒"), noBonusCount("不看奖金统计"),
|
| | | noShareRecordAndStorage("不看分享记录和选品库"),noInvitationBonus("不看邀请拿奖金"), openSpreadHongBao("开启推广红包");
|
| | | cancelNotice("通知免打扰(20:00-8:00)"),
|
| | | noNewsRedDot("不看消息红点提醒"), |
| | | noBonusCount("不看奖金统计"), |
| | | noShareRecordAndStorage("不看分享记录和选品库"),
|
| | | noInvitationBonus("不看邀请拿奖金"),
|
| | | openSpreadHongBao("开启推广红包"),
|
| | | noDisplayPhoneNum("不允许查看手机号码");
|
| | | |
| | |
|
| | | private final String desc;
|
| | |
|
| | |
| | | @Column(name = "ucs_type")
|
| | | private UserSettingTypeEnum type;
|
| | |
|
| | | // 状态: 默认0 1选中
|
| | | // 状态: 默认0 1选中
|
| | | @Column(name = "ucs_state")
|
| | | private Integer state;
|
| | | |
| | |
|
| | | // 创建时间
|
| | | @Column(name = "ucs_create_time")
|
| | | private Date createTime;
|