package com.example.demo.Entity;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.ArrayList;

@Entity
@Table(name = "games")
@Setter @Getter
public class Game {
  private String name;
  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private long id;
  private long bggGameId;
  private String thumbnail;
  private ArrayList mechanics;
}