Game.java 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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.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("h_game")
  19. public class Game {
  20. /**
  21. * 游戏ID
  22. */
  23. @TableId(value = "id", type = IdType.AUTO)
  24. private Long id;
  25. /**
  26. * CP ID
  27. */
  28. private Long cpId;
  29. /**
  30. * 游戏名称
  31. */
  32. private String name;
  33. /**
  34. * appkey
  35. */
  36. private String appKey;
  37. /**
  38. * 游戏标签
  39. */
  40. private Long tags;
  41. /**
  42. * 游戏类型
  43. */
  44. private Long category;
  45. /**
  46. * 游戏类别
  47. */
  48. private Integer classify;
  49. /**
  50. * 网页游戏图标,200*200
  51. */
  52. private String icon;
  53. /**
  54. * CP回调路径
  55. */
  56. private String cpPaybackUrl;
  57. /**
  58. * 从属游戏
  59. */
  60. private Long parentId;
  61. /**
  62. * 包名
  63. */
  64. private String packageName;
  65. /**
  66. * 上线状态1 接入中, 2 可上线, 3 已下线
  67. */
  68. private Boolean status;
  69. /**
  70. * 1在线游戏 2 单机
  71. */
  72. private Boolean isOnline;
  73. /**
  74. * 1 不是SDK游戏 2 是SDK游戏
  75. */
  76. private Boolean isSdk;
  77. /**
  78. * 游戏宣传语
  79. */
  80. private String publicity;
  81. /**
  82. * 语言
  83. */
  84. private String language;
  85. /**
  86. * 游戏描述
  87. */
  88. private String description;
  89. /**
  90. * 游戏宣传图 JSON格式
  91. */
  92. private String image;
  93. /**
  94. * 苹果应用ID
  95. */
  96. private String appleId;
  97. /**
  98. * 是否需要强制实名认证,1为 关闭实名认证,2为 强制实名认证 3 开启实名认证
  99. */
  100. private Byte isAuth;
  101. /**
  102. * 扩展 JSON格式
  103. */
  104. private String extInfo;
  105. /**
  106. * 上线时间
  107. */
  108. private LocalDateTime onlineTime;
  109. /**
  110. * 1 删除 0 正常
  111. */
  112. @TableLogic
  113. private Integer isDelete;
  114. /**
  115. * 删除时间
  116. */
  117. private LocalDateTime deleteTime;
  118. /**
  119. * 渠道
  120. */
  121. private Long channel;
  122. /**
  123. * 创建时间
  124. */
  125. private LocalDateTime createTime;
  126. /**
  127. * 更新时间
  128. */
  129. private LocalDateTime updateTime;
  130. }