package com.dsh.course.feignClient.communityWorldCup.Model; 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.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * 社区世界杯 * @author zhibing.pu * @Date 2024/2/18 16:58 */ @Data public class WorldCup implements Serializable { private static final long serialVersionUID = 1905122041950251207L; /** * 主键 */ private Integer id; /** * 名称 */ private String name; /** * 开始时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date startTime; /** * 结束时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date endTime; /** * 报名结束时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date registrationClosingTime; /** * 开始年龄 */ private Integer startAge; /** * 结束年龄 */ private Integer endAge; /** * 报名性别(0=全部,1=男,2=女) */ private Integer gender; /** * 支付方式(1=免费,2=现金支付,3=玩湃币支付,4=课时支付) */ private String payType; /** * 现金 */ private BigDecimal cash; /** * 玩湃币 */ private Integer paiCoin; /** * 课时 */ private Integer classHour; /** * 最多报名人数 */ private Integer maxPeople; /** * 基础报名人数 */ private Integer basePeople; /** * 参赛获得积分 */ private Integer participationIntegral; /** * 胜利获得积分 */ private Integer winIntegral; /** * 类型(1=智慧赛事,2=非智慧赛事) */ private Integer type; /** * 平场获得积分 */ private Integer drawIntegral; /** * 失败获得积分 */ private Integer loseIntegral; /** * 省 */ @TableField("province") private String province; /** * 省 */ @TableField("provinceCode") private String provinceCode; /** * 市 */ @TableField("city") private String city; /** * 市 */ @TableField("cityCode") private String cityCode; /** * 参赛地址 */ private String address; /** * 经度 */ private String lon; /** * 纬度 */ private String lat; /** * 封面图 */ private String coverImg; /** * 首页默认背景图 */ private String homeBackdropImg; /** * 比赛图片 */ private String infoImg; /** * 比赛简介 */ private String intro; /** * 比赛详情 */ private String content; /** * 参赛协议 */ private String contentOne; /** * 比赛状态(1=未开始,2=已开始,3=已结束,4=已取消) */ private Integer status; /** * 添加时间 */ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date createTime; /** * 已比赛次数 */ private Integer matchNumber; }