One UI in flutter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.3 KiB

2 years ago
class AcMouResponseModel {
late String mMouEndDate;
late String mMouID;
late String mMouIsActive;
late String mMouIsMcu;
late String mMouName;
late String mMouNote;
late String mMouNumber;
late String mMouStartDate;
AcMouResponseModel({
required this.mMouEndDate,
required this.mMouID,
required this.mMouIsActive,
required this.mMouIsMcu,
required this.mMouName,
required this.mMouNote,
required this.mMouNumber,
required this.mMouStartDate,
});
AcMouResponseModel.fromJson(Map<String, dynamic> json) {
mMouEndDate = json['M_MouEndDate'] ?? "";
mMouID = json['M_MouID'].toString();
mMouIsActive = json['M_MouIsActive'] ?? "";
mMouIsMcu = json['M_MouIsMcu'] ?? "";
mMouName = json['M_MouName'] ?? "";
mMouNote = json['M_MouNote'] ?? "";
mMouNumber = json['M_MouNumber'] ?? "";
mMouStartDate = json['M_MouStartDate'] ?? "";
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['M_MouEndDate'] = mMouEndDate;
data['M_MouID'] = mMouID;
data['M_MouIsActive'] = mMouIsActive;
data['M_MouIsMcu'] = mMouIsMcu;
data['M_MouName'] = mMouName;
data['M_MouNote'] = mMouNote;
data['M_MouNumber'] = mMouNumber;
data['M_MouStartDate'] = mMouStartDate;
return data;
}
}