This commit is contained in:
Mohammed Al-Samarraie
2026-01-18 19:40:54 +03:00
parent 8adab4c4af
commit 79b53b6303
13 changed files with 771 additions and 94 deletions

View File

@@ -0,0 +1,47 @@
class VacationResponseModel {
final int statusCode;
final bool isSuccess;
final String message;
final VacationDataModel? data;
VacationResponseModel({
required this.statusCode,
required this.isSuccess,
required this.message,
this.data,
});
}
class VacationDataModel {
final String employeeId;
final String? employeeFullName;
final DateTime startDate;
final DateTime endDate;
final String reason;
final String? submittedBy;
final String? submittedByUser;
final int state;
final int type;
final String id;
final DateTime? createdAt;
final DateTime? updatedAt;
final DateTime? deletedAt;
final bool? isDeleted;
VacationDataModel({
required this.employeeId,
this.employeeFullName,
required this.startDate,
required this.endDate,
required this.reason,
this.submittedBy,
this.submittedByUser,
required this.state,
required this.type,
required this.id,
this.createdAt,
this.updatedAt,
this.deletedAt,
this.isDeleted,
});
}