package com.micer.easyball.pojo;

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

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

/**
 * 5. 场次球员 game_player
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "game_image")
public class GameImage implements Serializable {
    private static final long serialVersionUID = -40356785423868312L;

    /**
     * UUID
     */
    @TableId("id")
    private String id;

    /**
     * 场次ID
     */
    @TableField("game_id")
    private String gameId;

    /**
     * 图片相对路径
     */
    @TableField("image_path")
    private String imagePath;

    /**
     * 比赛日期
     */
    @TableField("create_at")
    private Date createAt;

    /**
     * 排列
     */
    @TableField("image_rank")
    private Long imageRank;
}