package com.zanxiang.mybatis.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.*; import java.time.LocalDateTime; /** * @author : lingfeng * @time : 2022-06-06 * @description : 游戏版本表 */ @Data @NoArgsConstructor @AllArgsConstructor @ToString @Builder @TableName("h_game_version") public class GameVersion { /** * 编号,自增 */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 游戏ID */ private Long gameId; /** * 版本 */ private String version; /** * 版本key */ private String versionKey; /** * 版本说明 */ private String content; /** * 包下载地址 */ private String packageUrl; /** * 大小 单位byte */ private Integer size; /** * 1 非默认 2 默认 */ private Boolean isDefault; /** * 1 已删除 2 正常 */ private Boolean isDelete; /** * 删除时间 */ private LocalDateTime deleteTime; /** * 创建时间 */ private LocalDateTime createTime; /** * 更新时间 */ private LocalDateTime updateTime; }