|
@@ -7,7 +7,8 @@ import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.*;
|
|
import lombok.*;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
-import java.util.Date;
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
|
+import java.time.LocalDateTime;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 注释游戏策略
|
|
* 注释游戏策略
|
|
@@ -20,13 +21,13 @@ import java.util.Date;
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
@ToString
|
|
@ToString
|
|
@Builder
|
|
@Builder
|
|
-@TableName("t_game_strategy")
|
|
|
|
-public class GameStrategy implements Serializable {
|
|
|
|
|
|
+@TableName("t_game_pay_strategy")
|
|
|
|
+public class GamePayStrategy implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * ID
|
|
|
|
|
|
+ * 主键id
|
|
*/
|
|
*/
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Long id;
|
|
private Long id;
|
|
@@ -37,7 +38,7 @@ public class GameStrategy implements Serializable {
|
|
private String name;
|
|
private String name;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 策略类型 1:订单起量切换规则
|
|
|
|
|
|
+ * 策略类型 1: 切换规则, 2: 显示规则, 3: 订单起量切换规则
|
|
*/
|
|
*/
|
|
private Integer type;
|
|
private Integer type;
|
|
|
|
|
|
@@ -47,33 +48,43 @@ public class GameStrategy implements Serializable {
|
|
private Long gameId;
|
|
private Long gameId;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 0正常 1删除
|
|
|
|
|
|
+ * 总支付额度
|
|
*/
|
|
*/
|
|
- @TableLogic
|
|
|
|
- private Integer isDelete;
|
|
|
|
|
|
+ private BigDecimal totalPayAmount;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 状态 0正常 1不可用
|
|
|
|
|
|
+ * 月已用额度
|
|
*/
|
|
*/
|
|
- private Integer status;
|
|
|
|
|
|
+ private BigDecimal mouthPayAmount;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 周已用额度
|
|
|
|
+ */
|
|
|
|
+ private BigDecimal weakerPayAmount;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 配置
|
|
|
|
|
|
+ * 日已用额度
|
|
*/
|
|
*/
|
|
- private String config;
|
|
|
|
|
|
+ private BigDecimal dayPayAmount;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 渠道
|
|
|
|
|
|
+ * 状态 1 不可用 0 可用
|
|
*/
|
|
*/
|
|
- private Long channel;
|
|
|
|
|
|
+ private Integer status;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 是否已删除 1 已删除 0 正常
|
|
|
|
+ */
|
|
|
|
+ @TableLogic
|
|
|
|
+ private Integer isDelete;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 创建时间
|
|
* 创建时间
|
|
*/
|
|
*/
|
|
- private Date createTime;
|
|
|
|
|
|
+ private LocalDateTime createTime;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 更新时间
|
|
* 更新时间
|
|
*/
|
|
*/
|
|
- private Date updateTime;
|
|
|
|
|
|
+ private LocalDateTime updateTime;
|
|
}
|
|
}
|