mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 15:18:56 +03:30
2.2.0
This commit is contained in:
Regular → Executable
+30
-9
@@ -1,3 +1,4 @@
|
||||
// ignore_for_file: public_member_api_docs, sort_constructors_first
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
class MyItemResultObject extends Equatable {
|
||||
@@ -5,20 +6,14 @@ class MyItemResultObject extends Equatable {
|
||||
final String name;
|
||||
final String size;
|
||||
final String? userName;
|
||||
final String? fromDate;
|
||||
final String? toDate;
|
||||
final String? requestId;
|
||||
final String? userHistory;
|
||||
|
||||
MyItemResultObject({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.size,
|
||||
this.userName,
|
||||
this.fromDate,
|
||||
this.toDate,
|
||||
this.requestId,
|
||||
this.userHistory,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -27,10 +22,7 @@ class MyItemResultObject extends Equatable {
|
||||
name,
|
||||
size,
|
||||
userName!,
|
||||
fromDate!,
|
||||
toDate!,
|
||||
requestId!,
|
||||
userHistory!,
|
||||
];
|
||||
|
||||
@override
|
||||
@@ -66,3 +58,32 @@ class MyItemFilterObject extends Equatable {
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
class ItemHistoryObject extends Equatable {
|
||||
final String fromDate;
|
||||
final String toDate;
|
||||
final String userHistoryName;
|
||||
final String userHistoryId;
|
||||
final String userHistoryPhon;
|
||||
ItemHistoryObject({
|
||||
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