update carton

This commit is contained in:
2021-01-07 18:15:39 +06:30
parent 045d27945b
commit 016ebed384
16 changed files with 295 additions and 68 deletions

View File

@@ -138,6 +138,14 @@ class Package {
package.fcsID != this.fcsID;
}
bool isChangedForEditProcessing(Package package) {
return package.trackingID != this.trackingID ||
package.fcsID != this.fcsID ||
package.market != this.market ||
package.desc != this.desc ||
package.remark != this.remark;
}
@override
bool operator ==(Object other) => other is Package && other.id == id;