package models;

import java.util.List;
import java.io.Serializable;

public class Competition {
    private int id;
    private String name;
    private String countryName;

    public Competition(int id, String name, String countryName) {
        this.id = id;
        this.name = name;
        this.countryName = countryName;
    }

    private List<Season> seasonList;

    public Competition() {
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public void setSeasonList(List<Season> seasonList) {
        this.seasonList = seasonList;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getCountryName() {
        return countryName;
    }

    public List<Season> getSeasonList() {
        return seasonList;
    }
}
