Class TaskWithAssignmentDTO

java.lang.Object
org.cswteams.ms3.dto.medicalservice.TaskWithAssignmentDTO

@Entity public class TaskWithAssignmentDTO extends Object
This DTO keeps track of whether the task is already assigned to some DoctorAssignment.

This feature is useful for making impossible to update/delete a Task that is assigned to some DoctorAssignment.

See issue #413 for more details.

  • Constructor Details

    • TaskWithAssignmentDTO

      protected TaskWithAssignmentDTO()
    • TaskWithAssignmentDTO

      public TaskWithAssignmentDTO(Long id, TaskEnum taskType, boolean isAssigned)