mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 20:58:54 +03:30
75 lines
1.4 KiB
Dart
Executable File
75 lines
1.4 KiB
Dart
Executable File
// ignore_for_file: public_member_api_docs, sort_constructors_first
|
|
import 'package:equatable/equatable.dart';
|
|
|
|
class TestResultObject extends Equatable {
|
|
final String id;
|
|
final String name;
|
|
final String deviceId;
|
|
final String result;
|
|
final String date;
|
|
final String hospital;
|
|
final String verified;
|
|
|
|
TestResultObject({
|
|
required this.id,
|
|
required this.name,
|
|
required this.deviceId,
|
|
required this.result,
|
|
required this.date,
|
|
required this.hospital,
|
|
required this.verified,
|
|
});
|
|
|
|
@override
|
|
List<Object> get props {
|
|
return [
|
|
id,
|
|
name,
|
|
deviceId,
|
|
result,
|
|
date,
|
|
hospital,
|
|
verified,
|
|
];
|
|
}
|
|
|
|
@override
|
|
bool get stringify => true;
|
|
}
|
|
|
|
class TestResultFilterObject extends Equatable {
|
|
final String id;
|
|
final String labelID;
|
|
final String userName;
|
|
final String hospital;
|
|
final String testType;
|
|
final String fDate;
|
|
final String uDate;
|
|
|
|
TestResultFilterObject({
|
|
required this.id,
|
|
required this.labelID,
|
|
required this.userName,
|
|
required this.hospital,
|
|
required this.testType,
|
|
required this.fDate,
|
|
required this.uDate,
|
|
});
|
|
|
|
@override
|
|
List<Object> get props {
|
|
return [
|
|
id,
|
|
labelID,
|
|
userName,
|
|
hospital,
|
|
testType,
|
|
fDate,
|
|
uDate,
|
|
];
|
|
}
|
|
|
|
@override
|
|
bool get stringify => true;
|
|
}
|