|
|
@@ -0,0 +1,43 @@
|
|
|
+package com.etotem.cfc.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import lombok.Data;
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
+@Data
|
|
|
+@TableName("promotion_tier_config")
|
|
|
+public class PromotionTierConfig implements Serializable {
|
|
|
+
|
|
|
+ @TableId(type = IdType.AUTO)
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /** 等级代码: R0/R1/R2/R3/R4 */
|
|
|
+ private String tierCode;
|
|
|
+
|
|
|
+ /** 等级名称 */
|
|
|
+ private String tierName;
|
|
|
+
|
|
|
+ /** 晋级所需最小团队人数(totalTeamSize) */
|
|
|
+ private Integer minTeamSize;
|
|
|
+
|
|
|
+ /** 晋级所需最小累计推荐佣金(分),0表示不要求 */
|
|
|
+ private Integer minReferralEarnings;
|
|
|
+
|
|
|
+ /** 晋级所需最小累计消费分润(分),0表示不要求 */
|
|
|
+ private Integer minShareEarnings;
|
|
|
+
|
|
|
+ /** 该等级的产品P点比例(%),如 20 表示20% */
|
|
|
+ private Integer profitSharePercent;
|
|
|
+
|
|
|
+ /** 排序,越大越高(用于显示顺序) */
|
|
|
+ private Integer sortOrder;
|
|
|
+
|
|
|
+ /** 是否启用: 1=启用, 0=禁用 */
|
|
|
+ private Integer enabled;
|
|
|
+
|
|
|
+ private Date createdAt;
|
|
|
+ private Date updatedAt;
|
|
|
+}
|