File frontend added to app
This commit is contained in:
25
Frontend/patient_manager/lib/objects/files.dart
Normal file
25
Frontend/patient_manager/lib/objects/files.dart
Normal file
@@ -0,0 +1,25 @@
|
||||
class PFile {
|
||||
final int idpatient_files;
|
||||
final String file_path;
|
||||
final String file_name;
|
||||
final int patient_id;
|
||||
final String insert_date;
|
||||
|
||||
const PFile(
|
||||
this.idpatient_files,
|
||||
this.file_path,
|
||||
this.file_name,
|
||||
this.patient_id,
|
||||
this.insert_date,
|
||||
);
|
||||
|
||||
factory PFile.fromJson(dynamic json) {
|
||||
return PFile(
|
||||
json['idpatient_files'],
|
||||
json['file_path'],
|
||||
json['file_name'],
|
||||
json['patient_id'],
|
||||
json['insert_date'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user