GamePayWay.java 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package com.zanxiang.mybatis.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableLogic;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import lombok.*;
  7. import java.math.BigDecimal;
  8. import java.time.LocalDateTime;
  9. /**
  10. * @author : lingfeng
  11. * @time : 2022-06-06
  12. * @description : 游戏支付配置表
  13. */
  14. @Data
  15. @NoArgsConstructor
  16. @AllArgsConstructor
  17. @ToString
  18. @Builder
  19. @TableName("t_game_pay_way")
  20. public class GamePayWay {
  21. /**
  22. * 主键id
  23. */
  24. @TableId(value = "id", type = IdType.ASSIGN_ID)
  25. private String id;
  26. /**
  27. * 游戏id
  28. */
  29. private Long gameId;
  30. /**
  31. * 支付方式id
  32. */
  33. private Integer payWayId;
  34. /**
  35. * 支付code
  36. */
  37. private String payWayCode;
  38. /**
  39. * 支付方式自定义别名(为空时则展示支付方式+游戏名称)
  40. */
  41. private String payWayName;
  42. /**
  43. * 状态 1 不可用 0 可用
  44. */
  45. private Integer status;
  46. /**
  47. * 支付配置json (存储根据payway设置后,配置的具体商户号信息)
  48. */
  49. private String payConfig;
  50. /**
  51. * 最大支付额度锁 0 正常 1 锁定
  52. */
  53. private Integer maxPayLock;
  54. /**
  55. * 最大支付额度
  56. */
  57. private BigDecimal maxPayAmount;
  58. /**
  59. * 当前已用支付额度
  60. */
  61. private BigDecimal currentPayAmount;
  62. /**
  63. * 是否已删除 1 已删除 0 正常
  64. */
  65. @TableLogic
  66. private Integer isDelete;
  67. /**
  68. * 备注
  69. */
  70. private String remark;
  71. /**
  72. * 支付盒子id
  73. */
  74. private Long payBoxId;
  75. /**
  76. * 支付商户号id
  77. */
  78. private Long payMerchantId;
  79. /**
  80. * 删除时间
  81. */
  82. private LocalDateTime deleteTime;
  83. /**
  84. * 创建时间
  85. */
  86. private LocalDateTime createTime;
  87. /**
  88. * 更新时间
  89. */
  90. private LocalDateTime updateTime;
  91. }