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

52 lines
972 B
Java
Raw Normal View History

package com.plannaplan.entities;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Groups {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
private Long courseId;
private int time;
private String room;
private int capacity;
public Groups() {
}
public int getCapacity() {
return capacity;
}
public void setCapacity(int capacity) {
this.capacity = capacity;
}
public String getRoom() {
return room;
}
public void setRoom(String room) {
this.room = room;
}
public int getTime() {
return time;
}
public void setTime(int time) {
this.time = time;
}
public Long getCourseId() {
return courseId;
}
public void setCourseId(Long courseId) {
this.courseId = courseId;
}
}