object and router files update
This commit is contained in:
parent
fcd045ac40
commit
5b905be74b
44 changed files with 88 additions and 88 deletions
25
Frontend/patient_manager/lib/mih_objects/files.dart
Normal file
25
Frontend/patient_manager/lib/mih_objects/files.dart
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
class PFile {
|
||||
final int idpatient_files;
|
||||
final String file_path;
|
||||
final String file_name;
|
||||
final String insert_date;
|
||||
final String app_id;
|
||||
|
||||
const PFile(
|
||||
this.idpatient_files,
|
||||
this.file_path,
|
||||
this.file_name,
|
||||
this.insert_date,
|
||||
this.app_id,
|
||||
);
|
||||
|
||||
factory PFile.fromJson(dynamic json) {
|
||||
return PFile(
|
||||
json['idpatient_files'],
|
||||
json['file_path'],
|
||||
json['file_name'],
|
||||
json['insert_date'],
|
||||
json['app_id'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue