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 lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/2/19 15:35
|
*/
|
@Data
|
@TableName("t_world_cup_competitor")
|
public class WorldCupCompetitor {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.INPUT)
|
private Long id;
|
/**
|
* 参赛编号
|
*/
|
@TableField("code")
|
private String code;
|
/**
|
* 世界杯id
|
*/
|
@TableField("worldCupId")
|
private Integer worldCupId;
|
/**
|
* 参赛人员类型(1=学员,2=参赛人)
|
*/
|
@TableField("participantType")
|
private Integer participantType;
|
/**
|
* 用户id
|
*/
|
@TableField("appUserId")
|
private Integer appUserId;
|
/**
|
* 参赛人id
|
*/
|
@TableField("participantId")
|
private Integer participantId;
|
/**
|
* 参赛方(1=蓝方,2=红方)
|
*/
|
@TableField("participant")
|
private Integer participant;
|
/**
|
* 比赛结果(1=胜,-1=负)
|
*/
|
@TableField("matchResult")
|
private Integer matchResult;
|
/**
|
* 参赛奖励
|
*/
|
@TableField("participationIntegral")
|
private Integer participationIntegral;
|
/**
|
* 胜利奖励
|
*/
|
@TableField("winIntegral")
|
private Integer winIntegral;
|
/**
|
* 比赛开始时间
|
*/
|
@TableField("startTime")
|
private Date startTime;
|
/**
|
* 比赛结束时间
|
*/
|
@TableField("endTime")
|
private Date endTime;
|
/**
|
* 提示状态(0=否,1=是)
|
*/
|
@TableField("tips")
|
private Integer tips;
|
}
|