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.
50 lines
1.4 KiB
50 lines
1.4 KiB
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; |
|
late bool isCheck; |
|
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, |
|
this.isCheck = false, |
|
}); |
|
|
|
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'] ?? ""; |
|
isCheck = false; |
|
} |
|
void setCheck(bool val) { |
|
isCheck = val; |
|
} |
|
|
|
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; |
|
} |
|
}
|
|
|