Class DoctorAssignment

java.lang.Object
org.cswteams.ms3.entity.DoctorAssignment

@Entity public class DoctorAssignment extends Object
This entity models the association between Doctors and concrete shifts.
  • Constructor Details

    • DoctorAssignment

      public DoctorAssignment(Doctor doctor, ConcreteShiftDoctorStatus concreteShiftDoctorStatus, ConcreteShift concreteShift, Task task)
      Create a Doctor-concrete shift association with the specified parameters
      Parameters:
      doctor - Doctor involved
      concreteShiftDoctorStatus - state with which the Doctor is involved in the association
      concreteShift - concrete shift
      task - task for the association
    • DoctorAssignment

      protected DoctorAssignment()
      Default constructor needed by Lombok