mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-12 17:58:55 +03:30
beta commit
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
// ignore_for_file: public_member_api_docs, sort_constructors_first
|
||||
import 'package:equatable/equatable.dart';
|
||||
|
||||
class PackageResultObject extends Equatable {
|
||||
final String id;
|
||||
final String createdAt;
|
||||
final String name;
|
||||
|
||||
PackageResultObject({
|
||||
required this.id,
|
||||
required this.createdAt,
|
||||
required this.name,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props => [
|
||||
id,
|
||||
createdAt,
|
||||
name,
|
||||
];
|
||||
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
class PackageDetailObject extends Equatable {
|
||||
final String id;
|
||||
final String name;
|
||||
final String description;
|
||||
final String createDate;
|
||||
final String hospitalName;
|
||||
final String udi;
|
||||
final List<String> items;
|
||||
|
||||
PackageDetailObject({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.description,
|
||||
required this.createDate,
|
||||
required this.hospitalName,
|
||||
required this.udi,
|
||||
required this.items,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props {
|
||||
return [
|
||||
id,
|
||||
name,
|
||||
description,
|
||||
createDate,
|
||||
hospitalName,
|
||||
udi,
|
||||
items,
|
||||
];
|
||||
}
|
||||
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
|
||||
class PackageFilterObject extends Equatable {
|
||||
final String id;
|
||||
final String name;
|
||||
final String hospital;
|
||||
final String udi;
|
||||
|
||||
PackageFilterObject({
|
||||
required this.id,
|
||||
required this.name,
|
||||
required this.hospital,
|
||||
required this.udi,
|
||||
});
|
||||
|
||||
@override
|
||||
List<Object> get props {
|
||||
return [
|
||||
id,
|
||||
name,
|
||||
hospital,
|
||||
udi,
|
||||
];
|
||||
}
|
||||
|
||||
@override
|
||||
bool get stringify => true;
|
||||
}
|
||||
Reference in New Issue
Block a user