appUser file
This commit is contained in:
parent
f24ebab335
commit
380f212c7f
1 changed files with 29 additions and 0 deletions
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'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue