mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 19:19:17 +03:30
90 lines
1.6 KiB
Dart
Executable File
90 lines
1.6 KiB
Dart
Executable File
// ignore_for_file: public_member_api_docs, sort_constructors_first
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
class MyItemResultObject extends Equatable {
|
|
final String id;
|
|
final String name;
|
|
final String size;
|
|
final String? userName;
|
|
final String? requestId;
|
|
|
|
MyItemResultObject({
|
|
required this.id,
|
|
required this.name,
|
|
required this.size,
|
|
this.userName,
|
|
this.requestId,
|
|
});
|
|
|
|
@override
|
|
List<Object> get props => [
|
|
id,
|
|
name,
|
|
size,
|
|
userName!,
|
|
requestId!,
|
|
];
|
|
|
|
@override
|
|
bool get stringify => true;
|
|
}
|
|
|
|
class MyItemFilterObject extends Equatable {
|
|
final String id;
|
|
final String name;
|
|
final String udi;
|
|
final String size;
|
|
final String specific;
|
|
|
|
MyItemFilterObject({
|
|
required this.id,
|
|
required this.name,
|
|
required this.udi,
|
|
required this.size,
|
|
required this.specific,
|
|
});
|
|
|
|
@override
|
|
List<Object> get props {
|
|
return [
|
|
id,
|
|
name,
|
|
udi,
|
|
size,
|
|
specific,
|
|
];
|
|
}
|
|
|
|
@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;
|
|
}
|