forked from yaso_meth/mih-project
add business user object
This commit is contained in:
29
Frontend/patient_manager/lib/objects/businessUser.dart
Normal file
29
Frontend/patient_manager/lib/objects/businessUser.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
// ignore: file_names
|
||||
class BusinessUser {
|
||||
final int idbusiness_users;
|
||||
final String business_id;
|
||||
final String app_id;
|
||||
final String signature;
|
||||
final String type;
|
||||
final String title;
|
||||
|
||||
const BusinessUser(
|
||||
this.idbusiness_users,
|
||||
this.business_id,
|
||||
this.app_id,
|
||||
this.signature,
|
||||
this.type,
|
||||
this.title,
|
||||
);
|
||||
|
||||
factory BusinessUser.fromJson(dynamic json) {
|
||||
return BusinessUser(
|
||||
json['idbusiness_users'],
|
||||
json['business_id'],
|
||||
json['app_id'],
|
||||
json['signature'],
|
||||
json['type'],
|
||||
json['title'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user