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 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 toJson() { final Map data = new Map(); 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; } }