add FCS UI

This commit is contained in:
Thinzar Win
2020-12-01 19:02:21 +06:30
parent a2c9e41f55
commit 230e6f9e66
24 changed files with 2121 additions and 245 deletions

View File

@@ -0,0 +1,36 @@
import 'package:fcs/domain/entities/package.dart';
class Processing {
String id;
//for consignee
String userID;
String userName;
String userPhoneNumber;
//for shipper
String fcsID;
String shipperName;
String shipperPhoneNumber;
List<Package> packages;
Processing(
{this.id,
this.userID,
this.userName,
this.userPhoneNumber,
this.fcsID,
this.shipperName,
this.shipperPhoneNumber,
this.packages});
@override
bool operator ==(Object other) => other is Processing && other.id == id;
@override
int get hashCode => id.hashCode;
@override
String toString() {
return 'Processing{id: $id}';
}
}