backend/buisnesslogic/src/main/java/com/plannaplan/entities/Lecturer.java

44 lines
818 B
Java
Raw Normal View History

2020-07-25 10:21:42 +02:00
package com.plannaplan.entities;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Lecturer {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private String title;
private String name;
private String surname;
public Lecturer() {
}
public String getTitle() {
return title;
}
public String getSurname() {
return surname;
}
public void setSurname(String surname) {
this.surname = surname;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public void setTitle(String title) {
this.title = title;
}
}