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 Integer 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("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;
|
}
|