WorkloadResponse class
DTO de carga de trabajo de un médico, devuelto por
GET /users/service-workload.
Se utiliza para visualizar la distribución de ingresos activos asignados a cada médico del servicio.
Constructors
- WorkloadResponse({required String name, required String surname, required int admissionsAssigned})
-
WorkloadResponse.fromJson(Map<
String, dynamic> json) -
Crea una instancia a partir del JSON devuelto por el backend.
factory
Properties
- admissionsAssigned → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surname → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited