package com.micer.easyball.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 4. 场次 game
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "game")
public class Game implements Serializable {
    private static final long serialVersionUID = -40356785423868312L;

    /**
     * 场次ID
     */
    @TableId("id")
    private String id;

    /**
     * 年份
     */
    @TableField("year")
    private Long year;

    /**
     * 日期
     */
    @TableField("date")
    private Date date;

    /**
     * 我方俱乐部ID
     */
    @TableField("our_team_id")
    private String ourTeamId;

    /**
     * 对方俱乐部名
     */
    @TableField("opponent_team_name")
    private String opponentTeamName;

    /**
     * 我方得分
     */
    @TableField("our_score")
    private Long ourScore;

    /**
     * 对方得分
     */
    @TableField("opponent_score")
    private Long opponentScore;

    /**
     * 赛事ID
     */
    @TableField("event_id")
    private String eventId;

    /**
     * 比赛地点
     */
    @TableField("venue")
    private String venue;
}

