2 changed files with 90 additions and 1 deletions
@ -0,0 +1,69 @@ |
|||||
|
package com.elink.esua.epdc.commons.tools.enums; |
||||
|
|
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* @author: qushutong |
||||
|
* @Date: 2021/9/24 14:41 |
||||
|
* @Description: 积分埋点枚举 |
||||
|
*/ |
||||
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT) |
||||
|
public enum BehaviorEnum { |
||||
|
|
||||
|
/** |
||||
|
* 点赞 |
||||
|
*/ |
||||
|
POINTS_GIVE_RULES("points_give_rules"), |
||||
|
|
||||
|
/** |
||||
|
* 议题 |
||||
|
*/ |
||||
|
POINTS_ISSUE_RULES("points_issue_rules"), |
||||
|
|
||||
|
/** |
||||
|
* 评价 |
||||
|
*/ |
||||
|
POINTS_EVELUATE_RULES("points_evaluate_rules"), |
||||
|
/** |
||||
|
* 注册 |
||||
|
*/ |
||||
|
POINTS_REGISTER_RULES("points_register_rules"), |
||||
|
|
||||
|
/** |
||||
|
* 评论 |
||||
|
*/ |
||||
|
POINTS_COMMENT_RULES("points_comment_rules"), |
||||
|
/** |
||||
|
* 党员认证 |
||||
|
*/ |
||||
|
POINTS_PARTY_AUTHENTICATION_RULES("points_party_authentication_rules"), |
||||
|
|
||||
|
/** |
||||
|
* 新闻规则 |
||||
|
*/ |
||||
|
POINTS_NEWS_RULES("points_news_rules"), |
||||
|
|
||||
|
/** |
||||
|
* 话题规则 |
||||
|
*/ |
||||
|
POINTS_TOPIC_RULES("points_topic_rules"), |
||||
|
|
||||
|
/** |
||||
|
* 创建社群 |
||||
|
*/ |
||||
|
POINTS_PARTY_GROUP_RULES("points_party_group_rules"); |
||||
|
|
||||
|
|
||||
|
private String value; |
||||
|
|
||||
|
BehaviorEnum(final String value) { |
||||
|
this.value = value; |
||||
|
} |
||||
|
|
||||
|
public String getValue() { |
||||
|
return this.value; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue