Complete refactoring SFM App Source Code

This commit is contained in:
anhtunz
2024-12-15 00:59:02 +07:00
parent caa73ca43c
commit 2e27d59278
247 changed files with 18390 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
class User {
String? id;
String? username;
String? role;
String? name;
String? email;
String? phone;
String? address;
String? notes;
String? latitude;
String? longitude;
User(
{this.address,
this.email,
this.id,
this.name,
this.notes,
this.phone,
this.role,
this.username,
this.latitude,
this.longitude});
User.fromJson(Map<String, dynamic> json) {
id = json['id'];
username = json['username'];
role = json['role'];
name = json['name'];
email = json['email'];
phone = json['phone'];
address = json['address'];
notes = json['notes'];
latitude = json['latitude'];
longitude = json['longitude'];
}
}