GameUser.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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.TableName;
  5. import lombok.*;
  6. import java.math.BigDecimal;
  7. import java.time.LocalDateTime;
  8. /**
  9. * @author : lingfeng
  10. * @time : 2022-06-06
  11. * @description : 玩家游戏表
  12. */
  13. @Data
  14. @NoArgsConstructor
  15. @AllArgsConstructor
  16. @ToString
  17. @Builder
  18. @TableName("t_game_user")
  19. public class GameUser {
  20. /**
  21. * 主键id
  22. */
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Long id;
  25. /**
  26. * 用户 id
  27. */
  28. private Long userId;
  29. /**
  30. * 所属渠道ID
  31. */
  32. private Long agentId;
  33. /**
  34. * 导量的渠道ID
  35. */
  36. private Long guidedAgentId;
  37. /**
  38. * 游戏ID
  39. */
  40. private Long gameId;
  41. /**
  42. * 昵称
  43. */
  44. private String nickname;
  45. /**
  46. * 充值次数
  47. */
  48. private Integer rechargeCount;
  49. /**
  50. * 充值金额
  51. */
  52. private BigDecimal rechargeMoney;
  53. /**
  54. * 最近充值时间
  55. */
  56. private LocalDateTime lastRechargeTime;
  57. /**
  58. * 平台币余额
  59. */
  60. private BigDecimal platformCoin;
  61. /**
  62. * 是否GS
  63. */
  64. private Boolean isGs;
  65. /**
  66. * 客服id
  67. */
  68. private Long customerId;
  69. /**
  70. * 创角数
  71. */
  72. private Integer roleCount;
  73. /**
  74. * 拥有角色最高vip等级
  75. */
  76. private Integer roleVipMax;
  77. /**
  78. * 开始玩时间
  79. */
  80. private LocalDateTime createTime;
  81. /**
  82. * 最后玩时间
  83. */
  84. private LocalDateTime updateTime;
  85. }