1
0
forked from PGL/Clyde

43 lines
850 B
Java

package ovh.herisson.Clyde.Tables;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
@Entity
public class Curriculum {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private int curriculumId;
private int year;
private String option;
public Curriculum(int year, String option){
this.year = year;
this.option = option;
}
public Curriculum() {}
public int getCurriculumId(){
return this.curriculumId;
}
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;
}
}