This commit is contained in:
张良(004796)
2024-03-11 18:14:31 +08:00
parent c47e71b301
commit 2bd2871df0
31 changed files with 175 additions and 68 deletions

View File

@@ -0,0 +1,32 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 年收入
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserAnnualIncomeEnum {
AI_5W_DOWN(1,"5万以下"),
AI_5_10W(2,"5-10万"),
AI_10_20W(3,"10-20万"),
AI_20_30W(4,"20-30万"),
AI_30_50W(5,"30-50万"),
AI_50_100W(6,"50-100万"),
AI_100W_UP(7,"100万以上"),
;
private final Integer code;
private final String text;
UserAnnualIncomeEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,31 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 购车情况
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserCarStatusEnum {
WGC(1,"未购车"),
YGC_JJX(2,"已购车(经济型)"),
YGC_ZDX(3,"已购车(中档型)"),
YGC_HHX(4,"已购车(豪华型)"),
XYSKPZ(5,"需要时可配置"),
;
private final Integer code;
private final String text;
UserCarStatusEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,28 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 有没有小孩
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserChildStatusEnum {
N(1,"没有"),
Y_HWZYQ(2,"有,和我住一起"),
Y_YSHWZYQ(3,"有,有时和我住一起"),
Y_BHWZYQ(4,"有,不和我住一起"),
;
private final Integer code;
private final String text;
UserChildStatusEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,32 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 公司性质
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserCompanyNatureEnum {
ZFJG(1,"政府机关"),
SYDW(2,"事业单位"),
WQQY(3,"外企企业"),
SJ500Q(4,"世界500强"),
SSGS(5,"上市公司"),
GYQY(6,"国有企业"),
SYQY(7,"私营企业"),
SYGS(8,"自有公司"),
;
private final Integer code;
private final String text;
UserCompanyNatureEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,30 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 是否喝酒
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserDrinkStatusEnum {
BHJ(1,"不喝酒"),
SJXYH(2,"社交需要喝"),
XZSXZ(3,"兴致时小酌"),
JBLK(4,"酒不离口"),
;
private final Integer code;
private final String text;
UserDrinkStatusEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,33 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 学历
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserEducationEnum {
ZZ_LOW(1,"中专以下"),
ZZ(2,"中专"),
DZ(3,"大专"),
BK(4,"本科"),
SH(5,"硕士"),
BS(6,"博士"),
BS_MORE(7,"博士后"),
;
private final Integer code;
private final String text;
UserEducationEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,31 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 家庭背景
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserFamilyBackgroundEnum {
GZ(1,"高知"),
GG(2,"高干"),
JS(3,"经商"),
ZCJJ(4,"中产阶级"),
XK(5,"小康"),
GXJC(6,"工薪阶层"),
QT(7,"其他"),
;
private final Integer code;
private final String text;
UserFamilyBackgroundEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,31 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 家中排行
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserFamilyRankingEnum {
DSZN(1,"独生子女"),
LD(2,"老大"),
LE(3,"老二"),
LS(4,"老三"),
LSI(5,"老四"),
LW(6,"老五"),
QT(7,"其他"),
;
private final Integer code;
private final String text;
UserFamilyRankingEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,29 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 交友目的
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserFindTagEnum {
JPY(1,"交朋友"),
ZPY(2,"找知己"),
TNA(3,"谈恋爱"),
JH(4,"结婚"),
;
private final Integer code;
private final String text;
UserFindTagEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,27 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 为谁征婚
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserForPersonalsEnum {
FOR_ME(1,"为自己征婚"),
FOR_CHILD(2,"为子女征婚"),
FOR_FRIEND(3,"为亲友征婚"),
;
private final Integer code;
private final String text;
UserForPersonalsEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,27 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 性别
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserGenderEnum {
NONE(0,"未知"),
WOMEN(1,""),
MAN(2,""),
;
private final Integer code;
private final String text;
UserGenderEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,29 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 住房情况
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserHousingStatusEnum {
ZWGF(1,"暂未购房"),
YGF_YDK(2,"已购房(有贷款)"),
YGF_WDK(3,"已购房(无贷款)"),
YFMTZ(4,"与父母同住"),
WFXWDFJJ(5,"无房希望对方解决"),
WFXWSFJJ(6,"无房希望双方解决"),
;
private final Integer code;
private final String text;
UserHousingStatusEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,26 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 愿与对方父母同住
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserLiveAtParentEnum {
YY(1,"愿意"),
BYY(2,"不愿意"),
SQKED(3,"视情况而定"),
;
private final Integer code;
private final String text;
UserLiveAtParentEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,28 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 是否接受异地恋
* <p>created on 2024/2/26 16:50</p>
*
* @author duet
*/
@Getter
public enum UserLoveAtDistanceEnum {
JS(1,"接受"),
BJS(2,"不接受"),
KQK(3,"看情况"),
;
private final Integer code;
private final String text;
UserLoveAtDistanceEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,26 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 婚况
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserMarriageEnum {
WH(1,"未婚"),
LY(2,"离异"),
SO(3,"丧偶"),
;
private final Integer code;
private final String text;
UserMarriageEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,26 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 民族(直接用汉字)
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserNationEnum {
;
private final Integer code;
private final String text;
UserNationEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,92 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 职业 (职业太多。 直接用汉字)
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserProfessionEnum {
YDY("YDY","运动员"),
JS("JS","教师"),
JSHOU("JSHOU","教授"),
XS("XS","学生"),
DSZ("DSZ","董事长"),
ZJL("ZJL","总经理"),
FZZJ("FZZJ","副总/总监"),
BMJL("BMJL","部门经理"),
ZCGL("ZCGL","中层管理"),
QYJ("QYJ","企业家"),
GTLB("GTLB","个体老板"),
GB("GB","干部"),
GWY("GWY","公务员"),
LS("LS","律师"),
YS("YS","医生"),
HS("HS","护士"),
ZJXZ("ZJXZ","专家学者"),
GCS("GCS","工程师"),
SJS("SJS","设计师"),
YSJ("YSJ","艺术家"),
WY("WY","文员"),
ZB("ZB","主播"),
KJ("KJ","会计"),
JSY("JSY","技术员"),
FWY("FWY","服务员"),
PTGR("PTGR","普通工人"),
ZYZY("ZYZY","自由职业"),
MRY("MRY","美容业"),
PXS("PXS","培训师"),
MTGZZ("MTGZZ","媒体工作者"),
SYS("SYS","摄影师"),
ZXS("ZXS","咨询师"),
YH("YH","银行"),
BX("BX","保险"),
FCXS("FCXS","房产销售"),
JR("JR","军人"),
XFY("XFY","消防员"),
JC("JC","警察"),
GQZY("GQZY","国企职员"),
SJ("SJ","司机"),
ZYZ("ZYZ","种养殖"),
XIAOSHOU("XIAOSHOU","销售"),
JP("JP","教培老师"),
JZSG("JZSG","建筑施工"),
FJAB("FJAB","辅警安保"),
XXY("XXY","程序员"),
HQZC("HQZC","婚庆主持"),
JGFZR("JGFZR","机构负责人"),
YJ("YJ","医技"),
XMGL("XMGL","项目管理"),
DZSW("DZSW","电子商务"),
DHZB("DHZB","带货主播"),
JDY("JDY","鉴定员"),
BJ("BJ","编辑"),
JZ("JZ","记者"),
WL("WL","物流"),
ZXG("ZXG","装修工"),
GCZG("GCZG","工程主管"),
JRTZ("JRTZ","金融投资"),
KF("KF","客服"),
KC("KC","空乘"),
CW("CW","财务"),
FY("FY","翻译"),
SYDW("SYDW","事业单位"),
ZS("ZS","招商"),
CS("CS","厨师"),
YOUJIAO("YOUJIAO","幼教"),
;
private final String name;
private final String text;
UserProfessionEnum(String name, String text) {
this.name = name;
this.text = text;
}
}

View File

@@ -0,0 +1,35 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 星座(直接用汉字)
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserSignEnum {
ARIES(1,"白羊座"),
TAURUS(2,"金牛座"),
GEMINI(3,"双子座"),
CANCER(4,"巨蟹座"),
LEO(5,"狮子座"),
VIRGO(6,"处女座"),
LIBRA(7,"天秤座"),
SCORPIO(8,"天蝎座"),
SAGITTARIUS(9,"射手座"),
CAPRICORNUS(10,"摩羯座"),
AQUARIUS(11,"水瓶座"),
PISCES(12,"双鱼座"),
;
private final Integer code;
private final String text;
UserSignEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,29 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 是否吸烟
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserSmokeStatusEnum {
BX_FG(1,"不吸,很反感"),
BX_BFG(2,"不吸烟,但不反感"),
SJOEXY(3,"社交偶尔吸烟"),
YBLS(4,"烟不离手"),
;
private final Integer code;
private final String text;
UserSmokeStatusEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,33 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 体型
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserSomatotypeEnum {
S(1,""),
JS(2,"较瘦"),
XC(3,"匀称"),
MT(4,"苗条"),
GT(5,"高挑"),
FM(6,"丰满"),
JZ(7,"健壮"),
KW(8,"魁梧"),
P(9,""),
JP(10,"较胖"),
;
private final Integer code;
private final String text;
UserSomatotypeEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,26 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 是否要小孩
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserWantChildEnum {
YY(1,"愿意"),
BYY(2,"不愿意"),
SQKED(3,"视情况而定"),
;
private final Integer code;
private final String text;
UserWantChildEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,28 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 何时结婚
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserWhenMarriageEnum {
JSSH(1,"及时闪婚"),
YNYN(2,"一年以内"),
LNYN(3,"两年以内"),
SNYN(4,"三年以内"),
SJCSJJH(5,"时机成熟就结婚"),
;
private final Integer code;
private final String text;
UserWhenMarriageEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,35 @@
package com.ruoyi.xq.enums.userinfo;
import lombok.Getter;
/**
* 生肖
* <p>created on 2024/2/26 16:50</p>
* @author duet
*/
@Getter
public enum UserZodiacEnum {
RAT(1,""),
OX(2,""),
TIGER(3,""),
RABBIT(4,""),
DRAGON(5,""),
SNAKE(6,""),
HORSE(7,""),
GOAT(8,""),
MONKEY(9,""),
ROOSTER(10,""),
DOG(11,""),
PIG(12,""),
;
private final Integer code;
private final String text;
UserZodiacEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}