diff --git a/luoo_common/src/main/java/enums/UserTypeEnum.java b/luoo_common/src/main/java/enums/UserTypeEnum.java new file mode 100644 index 0000000..afeed9d --- /dev/null +++ b/luoo_common/src/main/java/enums/UserTypeEnum.java @@ -0,0 +1,32 @@ +package enums; + +import lombok.Getter; + +/** + * @Author: yawei.huang + * @Package: enums + * @Project: luoo_parent + * @Date: 2024/4/25 9:56 + * @Filename: UserTypeEnum + * @Describe: 用户类型 + */ +@Getter +public enum UserTypeEnum { + + NORMAL(1, "普通用户"), + + ARTIST_PERSON(2, "音乐人个人"), + + ARTIST_BAND(3, "音乐人乐队"), + + LABEL(4, "厂牌"); + + private Integer code; + private String desc; + + UserTypeEnum(Integer code, String desc) { + this.code = code; + this.desc = desc; + } + +}