forked from yaso_meth/mih-project
appUser file
This commit is contained in:
29
Frontend/patient_manager/lib/objects/appUser.dart
Normal file
29
Frontend/patient_manager/lib/objects/appUser.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
// ignore: file_names
|
||||
class AppUser {
|
||||
final int idusers;
|
||||
final String email;
|
||||
final int docOffice_id;
|
||||
final String fname;
|
||||
final String lname;
|
||||
final String title;
|
||||
|
||||
const AppUser(
|
||||
this.idusers,
|
||||
this.email,
|
||||
this.docOffice_id,
|
||||
this.fname,
|
||||
this.lname,
|
||||
this.title,
|
||||
);
|
||||
|
||||
factory AppUser.fromJson(dynamic json) {
|
||||
return AppUser(
|
||||
json['idusers'],
|
||||
json['email'],
|
||||
json['docOffice_id'],
|
||||
json['fname'],
|
||||
json['lname'],
|
||||
json['title'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user