passo_mobile_app/lib/model/passo/land_ext.dart

178 lines
5.9 KiB
Dart
Raw Normal View History

2023-09-01 03:22:48 +00:00
// To parse this JSON data, do
//
// final landExt = landExtFromJson(jsonString);
import 'dart:convert';
LandExt landExtFromJson(String str) => LandExt.fromJson(json.decode(str));
String landExtToJson(LandExt data) => json.encode(data.toJson());
class LandExt {
final int? id;
final int? landapprDetailsId;
final String? assessedById;
final String? assessedByName;
2024-02-08 00:52:29 +00:00
final String? dateCreated;
final String? dateModified;
final String? taxable;
final String? exempt;
final String? qtr;
final String? yr;
2023-09-01 03:22:48 +00:00
final String? appraisedbyName;
2024-02-08 00:52:29 +00:00
final String? appraisedbyDate;
2023-09-01 03:22:48 +00:00
final String? recommendapprName;
2024-02-08 00:52:29 +00:00
final String? recommendapprDate;
2023-09-01 03:22:48 +00:00
final String? approvedbyName;
2024-02-08 00:52:29 +00:00
final String? approvedbyDate;
2023-09-01 03:22:48 +00:00
final String? memoranda;
final String? swornstatementNo;
2024-02-08 00:52:29 +00:00
final String? dateReceived;
final String? entryDateAssessment;
2023-09-01 03:22:48 +00:00
final String? entryDateBy;
LandExt({
this.id,
this.landapprDetailsId,
this.assessedById,
this.assessedByName,
this.dateCreated,
this.dateModified,
this.taxable,
this.exempt,
this.qtr,
this.yr,
this.appraisedbyName,
this.appraisedbyDate,
this.recommendapprName,
this.recommendapprDate,
this.approvedbyName,
this.approvedbyDate,
this.memoranda,
this.swornstatementNo,
this.dateReceived,
this.entryDateAssessment,
this.entryDateBy,
});
2024-02-08 00:52:29 +00:00
LandExt copy({
final int? id,
final int? landapprDetailsId,
final String? assessedById,
final String? assessedByName,
final String? dateCreated,
final String? dateModified,
final String? taxable,
final String? exempt,
final String? qtr,
final String? yr,
final String? appraisedbyName,
final String? appraisedbyDate,
final String? recommendapprName,
final String? recommendapprDate,
final String? approvedbyName,
final String? approvedbyDate,
final String? memoranda,
final String? swornstatementNo,
final String? dateReceived,
final String? entryDateAssessment,
final String? entryDateBy,
}) {
return LandExt(
id: id ?? this.id,
landapprDetailsId: landapprDetailsId ?? this.landapprDetailsId,
assessedById: assessedById ?? this.assessedById,
assessedByName: assessedByName ?? this.assessedByName,
dateCreated: dateCreated ?? this.dateCreated,
dateModified: dateModified ?? this.dateModified,
taxable: taxable ?? this.taxable,
exempt: exempt ?? this.exempt,
qtr: qtr ?? this.qtr,
yr: yr ?? this.yr,
appraisedbyName: appraisedbyName ?? this.appraisedbyName,
appraisedbyDate: appraisedbyDate ?? this.appraisedbyDate,
recommendapprName: recommendapprName ?? this.recommendapprName,
recommendapprDate: recommendapprDate ?? this.recommendapprDate,
approvedbyName: approvedbyName ?? this.approvedbyName,
approvedbyDate: approvedbyDate ?? this.approvedbyDate,
memoranda: memoranda ?? this.memoranda,
swornstatementNo: swornstatementNo ?? this.swornstatementNo,
dateReceived: dateReceived ?? this.dateReceived,
entryDateAssessment: entryDateAssessment ?? this.entryDateAssessment,
entryDateBy: entryDateBy ?? this.entryDateBy,
);
}
2023-09-01 03:22:48 +00:00
factory LandExt.fromJson(Map<String, dynamic> json) => LandExt(
id: json["id"],
landapprDetailsId: json["landappr_details_id"],
assessedById: json["assessed_by_id"],
assessedByName: json["assessed_by_name"],
2024-02-08 00:52:29 +00:00
dateCreated: json["date_created"],
dateModified: json["date_modified"],
2023-09-01 03:22:48 +00:00
taxable: json["taxable"],
exempt: json["exempt"],
qtr: json["qtr"],
yr: json["yr"],
appraisedbyName: json["appraisedby_name"],
2024-02-08 00:52:29 +00:00
appraisedbyDate: json["appraisedby_date"],
2023-09-01 03:22:48 +00:00
recommendapprName: json["recommendappr_name"],
2024-02-08 00:52:29 +00:00
recommendapprDate: json["recommendappr_date"],
2023-09-01 03:22:48 +00:00
approvedbyName: json["approvedby_name"],
2024-02-08 00:52:29 +00:00
approvedbyDate: json["approvedby_date"],
2023-09-01 03:22:48 +00:00
memoranda: json["memoranda"],
swornstatementNo: json["swornstatement_no"],
2024-02-08 00:52:29 +00:00
dateReceived: json["date_received"],
entryDateAssessment: json["entry_date_assessment"],
2023-09-01 03:22:48 +00:00
entryDateBy: json["entry_date_by"],
);
2024-02-08 00:52:29 +00:00
factory LandExt.fromJson2(Map<String, dynamic> json) => LandExt(
id: json["id"],
landapprDetailsId: json["landapprDetailsId"],
assessedById: json["assessedById"],
assessedByName: json["assessedByName"],
dateCreated: json["dateCreated"],
dateModified: json["dateModified"],
taxable: json["taxable"],
exempt: json["exempt"],
qtr: json["qtr"],
yr: json["yr"],
appraisedbyName: json["appraisedbyName"],
appraisedbyDate: json["appraisedbyDate"],
recommendapprName: json["recommendapprName"],
recommendapprDate: json["recommendapprDate"],
approvedbyName: json["approvedbyName"],
approvedbyDate: json["approvedbyDate"],
memoranda: json["memoranda"],
swornstatementNo: json["swornstatementNo"],
dateReceived: json["dateReceived"],
entryDateAssessment: json["entryDateAssessment"],
entryDateBy: json["entryDateBy"],
);
2023-09-01 03:22:48 +00:00
Map<String, dynamic> toJson() => {
"id": id,
"landappr_details_id": landapprDetailsId,
"assessed_by_id": assessedById,
"assessed_by_name": assessedByName,
2024-02-08 00:52:29 +00:00
"date_created": dateCreated,
"date_modified": dateModified,
2023-09-01 03:22:48 +00:00
"taxable": taxable,
"exempt": exempt,
"qtr": qtr,
"yr": yr,
"appraisedby_name": appraisedbyName,
2024-02-08 00:52:29 +00:00
"appraisedby_date": appraisedbyDate,
2023-09-01 03:22:48 +00:00
"recommendappr_name": recommendapprName,
2024-02-08 00:52:29 +00:00
"recommendappr_date": recommendapprDate,
2023-09-01 03:22:48 +00:00
"approvedby_name": approvedbyName,
2024-02-08 00:52:29 +00:00
"approvedby_date": approvedbyDate,
2023-09-01 03:22:48 +00:00
"memoranda": memoranda,
"swornstatement_no": swornstatementNo,
2024-02-08 00:52:29 +00:00
"date_received": dateReceived,
"entry_date_assessment": entryDateAssessment,
2023-09-01 03:22:48 +00:00
"entry_date_by": entryDateBy,
};
}