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.
73 lines
2.1 KiB
Dart
73 lines
2.1 KiB
Dart
class GetAnnouncementDetails {
|
|
String? titleEN;
|
|
String? titleAR;
|
|
String? emailBodyEN;
|
|
String? emailBodyAR;
|
|
String? bodyEN = "";
|
|
String? bodyAR = "";
|
|
String? bannerImage;
|
|
String? rowID;
|
|
String? awarenessName;
|
|
String? created;
|
|
String? publishedDesc;
|
|
String? published;
|
|
String? twoLanguageTemplateDesc;
|
|
String? wFStatus;
|
|
String? totalItems;
|
|
|
|
GetAnnouncementDetails(
|
|
{this.titleEN,
|
|
this.titleAR,
|
|
this.emailBodyEN,
|
|
this.emailBodyAR,
|
|
this.bodyEN,
|
|
this.bodyAR,
|
|
this.bannerImage,
|
|
this.rowID,
|
|
this.awarenessName,
|
|
this.created,
|
|
this.publishedDesc,
|
|
this.published,
|
|
this.twoLanguageTemplateDesc,
|
|
this.wFStatus,
|
|
this.totalItems});
|
|
|
|
GetAnnouncementDetails.fromJson(Map<String, dynamic> json) {
|
|
titleEN = json['Title_EN'];
|
|
titleAR = json['Title_AR'];
|
|
emailBodyEN = json['EmailBody_EN'];
|
|
emailBodyAR = json['EmailBody_AR'];
|
|
bodyEN = json['Body_EN'];
|
|
bodyAR = json['Body_AR'];
|
|
bannerImage = json['Banner_Image'];
|
|
rowID = json['rowID'];
|
|
awarenessName = json['awarenessName'];
|
|
created = json['created'];
|
|
publishedDesc = json['PublishedDesc'];
|
|
published = json['Published'];
|
|
twoLanguageTemplateDesc = json['TwoLanguageTemplateDesc'];
|
|
wFStatus = json['WFStatus'];
|
|
totalItems = json['TotalItems'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['Title_EN'] = this.titleEN;
|
|
data['Title_AR'] = this.titleAR;
|
|
data['EmailBody_EN'] = this.emailBodyEN;
|
|
data['EmailBody_AR'] = this.emailBodyAR;
|
|
data['Body_EN'] = this.bodyEN;
|
|
data['Body_AR'] = this.bodyAR;
|
|
data['Banner_Image'] = this.bannerImage;
|
|
data['rowID'] = this.rowID;
|
|
data['awarenessName'] = this.awarenessName;
|
|
data['created'] = this.created;
|
|
data['PublishedDesc'] = this.publishedDesc;
|
|
data['Published'] = this.published;
|
|
data['TwoLanguageTemplateDesc'] = this.twoLanguageTemplateDesc;
|
|
data['WFStatus'] = this.wFStatus;
|
|
data['TotalItems'] = this.totalItems;
|
|
return data;
|
|
}
|
|
}
|