From b0254c5a17b3915eb00fdcb33f0eea222cff78ee Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 06 三月 2024 15:06:54 +0800 Subject: [PATCH] Merge branch '2.0' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/entity/WorldCup.java | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 180 insertions(+), 0 deletions(-) diff --git a/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/entity/WorldCup.java b/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/entity/WorldCup.java new file mode 100644 index 0000000..ccc170d --- /dev/null +++ b/cloud-server-communityWorldCup/src/main/java/com/dsh/communityWorldCup/entity/WorldCup.java @@ -0,0 +1,180 @@ +package com.dsh.communityWorldCup.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; +import lombok.Data; + +import java.math.BigDecimal; +import java.util.Date; + +/** + * 社区世界杯 + * @author zhibing.pu + * @Date 2024/2/18 16:58 + */ +@Data +@TableName("t_world_cup") +public class WorldCup { + /** + * 主键 + */ + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + /** + * 名称 + */ + @TableField("name") + private String name; + /** + * 开始时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + @TableField("startTime") + private Date startTime; + /** + * 结束时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + @TableField("endTime") + private Date endTime; + /** + * 报名结束时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + @TableField("registrationClosingTime") + private Date registrationClosingTime; + /** + * 开始年龄 + */ + @TableField("startAge") + private Integer startAge; + /** + * 结束年龄 + */ + @TableField("endAge") + private Integer endAge; + /** + * 报名性别(0=全部,1=男,2=女) + */ + @TableField("gender") + private Integer gender; + /** + * 支付方式(1=免费,2=现金支付,3=玩湃币支付,4=课时支付) + */ + @TableField("payType") + private String payType; + /** + * 现金 + */ + @TableField("cash") + private BigDecimal cash; + /** + * 玩湃币 + */ + @TableField("paiCoin") + private Integer paiCoin; + /** + * 课时 + */ + @TableField("classHour") + private Integer classHour; + /** + * 最多报名人数 + */ + @TableField("maxPeople") + private Integer maxPeople; + /** + * 基础报名人数 + */ + @TableField("basePeople") + private Integer basePeople; + /** + * 参赛获得积分 + */ + @TableField("participationIntegral") + private Integer participationIntegral; + /** + * 胜利获得积分 + */ + @TableField("winIntegral") + private Integer winIntegral; + /** + * 省 + */ + @TableField("province") + private String province; + /** + * 省 + */ + @TableField("provinceCode") + private String provinceCode; + /** + * 市 + */ + @TableField("city") + private String city; + /** + * 市 + */ + @TableField("cityCode") + private String cityCode; + /** + * 参赛地址 + */ + @TableField("address") + private String address; + /** + * 经度 + */ + @TableField("lon") + private String lon; + /** + * 纬度 + */ + @TableField("lat") + private String lat; + /** + * 封面图 + */ + @TableField("coverImg") + private String coverImg; + /** + * 首页默认背景图 + */ + @TableField("homeBackdropImg") + private String homeBackdropImg; + /** + * 比赛图片 + */ + @TableField("infoImg") + private String infoImg; + /** + * 比赛简介 + */ + @TableField("intro") + private String intro; + /** + * 比赛详情 + */ + @TableField("content") + private String content; + /** + * 比赛状态(1=未开始,2=已开始,3=已结束,4=已取消) + */ + @TableField("status") + private Integer status; + /** + * 添加时间 + */ + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + @TableField("createTime") + private Date createTime; + /** + * 已比赛次数 + */ + @TableField("matchNumber") + private Integer matchNumber; +} -- Gitblit v1.7.1