mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 17:28:56 +03:30
2.2.0
This commit is contained in:
Regular → Executable
+29
-9
@@ -5,20 +5,14 @@ class MyPackageResultObject extends Equatable {
|
||||
final String name;
|
||||
final String createdAt;
|
||||
final String? userName;
|
||||
final String? fromDate;
|
||||
final String? toDate;
|
||||
final String? requestId;
|
||||
final String? userHistory;
|
||||
|
||||
MyPackageResultObject({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.createdAt,
|
||||
this.userName,
|
||||
this.fromDate,
|
||||
this.toDate,
|
||||
this.requestId,
|
||||
this.userHistory,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -27,10 +21,7 @@ class MyPackageResultObject extends Equatable {
|
||||
name,
|
||||
createdAt,
|
||||
userName!,
|
||||
fromDate!,
|
||||
toDate!,
|
||||
requestId!,
|
||||
userHistory!,
|
||||
];
|
||||
|
||||
@override
|
||||
@@ -60,3 +51,32 @@ class MyPackageFilterObject extends Equatable {
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
class PackageHistoryObject extends Equatable {
|
||||
final String fromDate;
|
||||
final String toDate;
|
||||
final String userHistoryName;
|
||||
final String userHistoryId;
|
||||
final String userHistoryPhon;
|
||||
PackageHistoryObject({
|
||||
required this.fromDate,
|
||||
required this.toDate,
|
||||
required this.userHistoryName,
|
||||
required this.userHistoryId,
|
||||
required this.userHistoryPhon,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props {
|
||||
return [
|
||||
fromDate,
|
||||
toDate,
|
||||
userHistoryName,
|
||||
userHistoryId,
|
||||
userHistoryPhon,
|
||||
];
|
||||
}
|
||||
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user