package nuclibook.models;

import com.j256.ormlite.field.DatabaseField;

public class StaffAvailabilities {

    @DatabaseField(generatedId = true)
    private Integer id;

    @DatabaseField(canBeNull = false, foreign = true, columnName = "staff_id")
    private Staff staffID;

    @DatabaseField(canBeNull = false, foreign = true, columnName = "availability_id")
    private Availability availabilityID;

}

@@ -268,20 +268,18 @@
 ff staff
-ID
 ;%0A
+
 %0A    @Da
@@ -398,11 +398,343 @@
 lity
-ID;
+;%0A%0A    public void setStaff(Staff staff) %7B%0A        this.staff = staff;%0A    %7D%0A%0A    public Staff getStaff() %7B%0A        return this.staff;%0A    %7D%0A%0A    public void setAvailability(Availability availability) %7B%0A        this.availability = availability;%0A    %7D%0A%0A    public Availability getAvailability() %7B%0A        return this.availability;%0A    %7D
 %0A%0A%7D%0A

Add getters and setters for staff availability