This commit is contained in:
张良(004796)
2024-03-29 14:45:29 +08:00
parent e3bf8cd433
commit fbec1e6a56
15 changed files with 316 additions and 42 deletions

View File

@@ -0,0 +1,20 @@
package com.ruoyi.xq.enums.userstatus;
import lombok.Data;
import lombok.Getter;
// 征婚状态 1-寻找中 2-已脱单 3-隐藏资料
@Getter
public enum PersonalsStatusEnum {
RUNNING(1,"寻找中"),
CAO(2,"已脱单"),
HIDING(3,"隐藏资料"),
;
private final Integer code;
private final String text;
PersonalsStatusEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,21 @@
package com.ruoyi.xq.enums.userstatus;
import lombok.Getter;
// 谁可查看头像 1-所有用户 2-VIP用户 3-实名用户 4-实名认证且VIP用户 5-不公开
@Getter
public enum ShowAvatarEnum {
ALL(1,"所有用户"),
VIP(2,"VIP用户"),
CARD(3,"实名用户"),
VIP_AND_CARD(4,"实名认证且VIP用户"),
NO(5,"不公开"),
;
private final Integer code;
private final String text;
ShowAvatarEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}