fist commit ftc staff app clone
This commit is contained in:
41
lib/models/requests/HolidayRequestData.dart
Normal file
41
lib/models/requests/HolidayRequestData.dart
Normal file
@@ -0,0 +1,41 @@
|
||||
class HolidayRequestData {
|
||||
HolidayRequestData({
|
||||
this.hldRqStartDate,
|
||||
this.hldRqEndDate,
|
||||
this.hldRqTotalDays,
|
||||
this.hldRqTotalHours,
|
||||
this.hldRqStatus,
|
||||
this.hldRequestType,
|
||||
this.staffRequester,
|
||||
});
|
||||
|
||||
HolidayRequestData.fromJson(dynamic json) {
|
||||
hldRqStartDate = json['hldRqStartDate'];
|
||||
hldRqEndDate = json['hldRqEndDate'];
|
||||
hldRqTotalDays = json['hldRqTotalDays'];
|
||||
hldRqTotalHours = json['hldRqTotalHours'];
|
||||
hldRqStatus = json['hldRqStatus'];
|
||||
hldRequestType = json['hldRequestType'];
|
||||
staffRequester = json['staffRequester'];
|
||||
}
|
||||
|
||||
int? hldRqStartDate;
|
||||
int? hldRqEndDate;
|
||||
int? hldRqTotalDays;
|
||||
int? hldRqTotalHours;
|
||||
String? hldRqStatus;
|
||||
String? hldRequestType;
|
||||
String? staffRequester;
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final map = <String, dynamic>{};
|
||||
map['hldRqStartDate'] = hldRqStartDate;
|
||||
map['hldRqEndDate'] = hldRqEndDate;
|
||||
map['hldRqTotalDays'] = hldRqTotalDays;
|
||||
map['hldRqTotalHours'] = hldRqTotalHours;
|
||||
map['hldRqStatus'] = hldRqStatus;
|
||||
map['hldRequestType'] = hldRequestType;
|
||||
map['staffRequester'] = staffRequester;
|
||||
return map;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user