mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-12 03:38:56 +03:30
63 lines
1.0 KiB
Dart
63 lines
1.0 KiB
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
class MyItemResultObject extends Equatable {
|
|
final String id;
|
|
final String name;
|
|
final String size;
|
|
final String? userName;
|
|
final String? fromDate;
|
|
final String? toDate;
|
|
|
|
MyItemResultObject({
|
|
required this.id,
|
|
required this.name,
|
|
required this.size,
|
|
this.userName,
|
|
this.fromDate,
|
|
this.toDate,
|
|
});
|
|
|
|
@override
|
|
List<Object> get props => [
|
|
id,
|
|
name,
|
|
size,
|
|
userName!,
|
|
fromDate!,
|
|
toDate!,
|
|
];
|
|
|
|
@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;
|
|
}
|