package ovh.herisson.Clyde.Tables;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;

@Entity
public class Cursus {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private int cursusId;
    private int year;
    private String option;

    public Cursus(int year, String option){
        this.year = year;
        this.option = option;
    }

    public Cursus() {}

    public int getCursusId(){
        return this.cursusId;
    }

    public int getYear(){
        return this.year;
    }

    public void setYear(int year){
        this.year = year;
    }

    public String getOption(){
        return this.option;
    }

    public void setOption(String option){
        this.option = option;
    }

}
