You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
785 B
Dart
25 lines
785 B
Dart
class CalculateAbsenceDuration {
|
|
num? pABSENCEDAYS;
|
|
double? pABSENCEHOURS;
|
|
String? pRETURNMSG;
|
|
String? pRETURNSTATUS;
|
|
|
|
CalculateAbsenceDuration({this.pABSENCEDAYS, this.pABSENCEHOURS, this.pRETURNMSG, this.pRETURNSTATUS});
|
|
|
|
CalculateAbsenceDuration.fromJson(Map<String, dynamic> json) {
|
|
pABSENCEDAYS = json['P_ABSENCE_DAYS'];
|
|
pABSENCEHOURS = json['P_ABSENCE_HOURS'];
|
|
pRETURNMSG = json['P_RETURN_MSG'];
|
|
pRETURNSTATUS = json['P_RETURN_STATUS'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['P_ABSENCE_DAYS'] = this.pABSENCEDAYS;
|
|
data['P_ABSENCE_HOURS'] = this.pABSENCEHOURS;
|
|
data['P_RETURN_MSG'] = this.pRETURNMSG;
|
|
data['P_RETURN_STATUS'] = this.pRETURNSTATUS;
|
|
return data;
|
|
}
|
|
}
|