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.
40 lines
1.4 KiB
Dart
40 lines
1.4 KiB
Dart
class LoanAttachmentModel {
|
|
int? loanId;
|
|
String? attachmentName;
|
|
int? loanAttachmentTypeId;
|
|
String? attachmentDescription;
|
|
int? id;
|
|
String? createdBy;
|
|
String? createdDate;
|
|
String? modifiedBy;
|
|
String? modifiedDate;
|
|
|
|
LoanAttachmentModel({this.loanId, this.attachmentName, this.loanAttachmentTypeId, this.attachmentDescription, this.id, this.createdBy, this.createdDate, this.modifiedBy, this.modifiedDate});
|
|
|
|
LoanAttachmentModel.fromJson(Map<String, dynamic> json) {
|
|
loanId = json['loanId'];
|
|
attachmentName = json['attachmentName'];
|
|
loanAttachmentTypeId = json['loanAttachmentTypeId'];
|
|
attachmentDescription = json['attachmentDescription'];
|
|
id = json['id'];
|
|
createdBy = json['createdBy'];
|
|
createdDate = json['createdDate'];
|
|
modifiedBy = json['modifiedBy'];
|
|
modifiedDate = json['modifiedDate'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['loanId'] = this.loanId;
|
|
data['attachmentName'] = this.attachmentName;
|
|
data['loanAttachmentTypeId'] = this.loanAttachmentTypeId;
|
|
data['attachmentDescription'] = this.attachmentDescription;
|
|
data['id'] = this.id;
|
|
data['createdBy'] = this.createdBy;
|
|
data['createdDate'] = this.createdDate;
|
|
data['modifiedBy'] = this.modifiedBy;
|
|
data['modifiedDate'] = this.modifiedDate;
|
|
return data;
|
|
}
|
|
}
|