release-新增用户类型枚举类

release-2024-08-08
pikaqiudeshujia 9 months ago
parent 54dd53e31d
commit b20a0df9bb

@ -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;
}
}
Loading…
Cancel
Save