| | |
| | | import org.springframework.data.mongodb.core.mapping.Document; |
| | | import org.springframework.data.mongodb.core.mapping.Field; |
| | | |
| | | import com.yeshi.fanli.entity.common.Config; |
| | | |
| | | /** |
| | | * 设置分类 |
| | | * |
| | |
| | | |
| | | public enum ConfigCategoryEnum { |
| | | versionDiff("标签栏引导提示"), |
| | | msgNotify("大图通知"), |
| | | tbGoods("淘宝商品"), |
| | | msgNotify("大图通知"), |
| | | tbGoods("淘宝商品"), |
| | | jdGoods("京东商品"), |
| | | pddGoods("拼多多商品"), |
| | | goldCoin("金币设置"), |
| | | freeCoupon("免单券设置"), |
| | | rebateCoupon("返利奖励券设置"), |
| | | rebateCoupon("返利奖励券设置"), |
| | | pageText("页面文本设置"), |
| | | protocol("协议相关"), |
| | | rule("规则相关"), |
| | | helpStrategy("帮助攻略相关"), |
| | | orderCart("订单购物车相关"), |
| | | orderCart("订单购物车相关"), |
| | | maskControl("遮罩控制"), |
| | | guanXuan("官宣任务"), |
| | | specialHelper("小助手"), |
| | | article("学院相关"), |
| | | extract("提现相关"); |
| | | |
| | | private final String desc; |
| | |
| | | // 类型 |
| | | @Field("order") |
| | | private int order; |
| | | |
| | | // 编辑方式: 1 、普通文本 2、多行文本 3、单选框 |
| | | @Field("editMode") |
| | | private int editMode; |
| | | |
| | | private Config config; |
| | | |
| | | public String getId() { |
| | | return id; |
| | |
| | | this.order = order; |
| | | } |
| | | |
| | | public int getEditMode() { |
| | | return editMode; |
| | | } |
| | | |
| | | public void setEditMode(int editMode) { |
| | | this.editMode = editMode; |
| | | } |
| | | |
| | | public Config getConfig() { |
| | | return config; |
| | | } |
| | | |
| | | public void setConfig(Config config) { |
| | | this.config = config; |
| | | } |
| | | |
| | | } |