来源修改
This commit is contained in:
@@ -7,16 +7,14 @@ package com.cool.store.enums;
|
||||
*/
|
||||
public enum UserChannelEnum {
|
||||
|
||||
EXHIBITION("exhibition", 54644,"北京展会"),
|
||||
RECOMMENDED("recommended", 54642,"李德龙推荐");
|
||||
EXHIBITION("EXHIBITION","北京展会"),
|
||||
RECOMMENDED("RECOMMENDED","李德龙推荐");
|
||||
|
||||
private final String code;
|
||||
private final Integer channelId;
|
||||
private final String desc;
|
||||
|
||||
UserChannelEnum(String code, Integer channelId, String desc) {
|
||||
UserChannelEnum(String code, String desc) {
|
||||
this.code = code;
|
||||
this.channelId = channelId;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
@@ -24,9 +22,6 @@ public enum UserChannelEnum {
|
||||
return code;
|
||||
}
|
||||
|
||||
public Integer getChannelId() {
|
||||
return channelId;
|
||||
}
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
|
||||
Reference in New Issue
Block a user