init
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user