|
|
|
|
@ -57,6 +57,7 @@ class AssetInventoryResponse {
|
|
|
|
|
class AssetInventoryModel {
|
|
|
|
|
num? id;
|
|
|
|
|
num? assetId;
|
|
|
|
|
String? transactionDate;
|
|
|
|
|
String? assetNumber;
|
|
|
|
|
String? serialNo;
|
|
|
|
|
String? assetName;
|
|
|
|
|
@ -111,6 +112,7 @@ class AssetInventoryModel {
|
|
|
|
|
this.id,
|
|
|
|
|
this.sessionId,
|
|
|
|
|
this.assetId,
|
|
|
|
|
this.transactionDate,
|
|
|
|
|
this.assetNumber,
|
|
|
|
|
this.assetNameId,
|
|
|
|
|
this.serialNo,
|
|
|
|
|
@ -163,6 +165,7 @@ class AssetInventoryModel {
|
|
|
|
|
AssetInventoryModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
id = json['id'];
|
|
|
|
|
assetId = json['assetId'];
|
|
|
|
|
transactionDate = json['transactionDate'];
|
|
|
|
|
assetNumber = json['assetNumber'];
|
|
|
|
|
assetNameId = json['assetNameId'];
|
|
|
|
|
serialNo = json['serialNo'];
|
|
|
|
|
@ -210,6 +213,7 @@ class AssetInventoryModel {
|
|
|
|
|
'isNotRegistered': isNotRegistered,
|
|
|
|
|
'sessionId': sessionId,
|
|
|
|
|
'assetImportId': assetImportId,
|
|
|
|
|
'transactionDate': transactionDate,
|
|
|
|
|
'assetId': assetId,
|
|
|
|
|
'siteId': siteId,
|
|
|
|
|
'buildingId': buildingId,
|
|
|
|
|
@ -237,6 +241,7 @@ class AssetInventoryModel {
|
|
|
|
|
return AssetInventoryModel(
|
|
|
|
|
id: id ?? other.id,
|
|
|
|
|
assetId: assetId ?? other.assetId,
|
|
|
|
|
transactionDate: transactionDate ?? other.transactionDate,
|
|
|
|
|
assetNumber: assetNumber ?? other.assetNumber,
|
|
|
|
|
serialNo: serialNo ?? other.serialNo,
|
|
|
|
|
assetName: assetName ?? other.assetName,
|
|
|
|
|
|