GameVersion.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.time.LocalDateTime;
  7. /**
  8. * @author : lingfeng
  9. * @time : 2022-06-06
  10. * @description : 游戏版本表
  11. */
  12. @Data
  13. @NoArgsConstructor
  14. @AllArgsConstructor
  15. @ToString
  16. @Builder
  17. @TableName("h_game_version")
  18. public class GameVersion {
  19. /**
  20. * 编号,自增
  21. */
  22. @TableId(value = "id", type = IdType.AUTO)
  23. private Long id;
  24. /**
  25. * 游戏ID
  26. */
  27. private Long gameId;
  28. /**
  29. * 版本
  30. */
  31. private String version;
  32. /**
  33. * 版本key
  34. */
  35. private String versionKey;
  36. /**
  37. * 版本说明
  38. */
  39. private String content;
  40. /**
  41. * 包下载地址
  42. */
  43. private String packageUrl;
  44. /**
  45. * 大小 单位byte
  46. */
  47. private Integer size;
  48. /**
  49. * 1 非默认 2 默认
  50. */
  51. private Boolean isDefault;
  52. /**
  53. * 1 已删除 2 正常
  54. */
  55. private Boolean isDelete;
  56. /**
  57. * 删除时间
  58. */
  59. private LocalDateTime deleteTime;
  60. /**
  61. * 创建时间
  62. */
  63. private LocalDateTime createTime;
  64. /**
  65. * 更新时间
  66. */
  67. private LocalDateTime updateTime;
  68. }