This commit is contained in:
张良(004796)
2024-03-20 16:25:47 +08:00
parent 56df980731
commit 8768134db7
8 changed files with 96 additions and 22 deletions

View File

@@ -0,0 +1,18 @@
package com.ruoyi.cai.enums.rank;
import lombok.Getter;
@Getter
public enum RankDataTypeEnum {
DAY(1,"日榜"),
WEEK(2,"周榜"),
MONTH(3,"月榜"),
;
private final Integer code;
private final String text;
RankDataTypeEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}

View File

@@ -0,0 +1,18 @@
package com.ruoyi.cai.enums.rank;
import com.sun.org.apache.bcel.internal.generic.IFNE;
import lombok.Getter;
@Getter
public enum RankTypeEnum {
LOVE(1,"魅力榜"),
INVITE(2,"邀请榜"),
;
private final Integer code;
private final String text;
RankTypeEnum(Integer code, String text) {
this.code = code;
this.text = text;
}
}