You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
HMG_Patient_App/lib/models/SmartWatch/HealthData.dart

33 lines
898 B
Dart

4 months ago
class healthData {
int? MedCategoryID;
int? MedSubCategoryID;
String? MachineDate;
double? Value;
int? TransactionsListID;
healthData({
this.MedCategoryID,
this.MedSubCategoryID,
this.MachineDate,
this.Value,
this.TransactionsListID
});
healthData.fromJson(Map<String, dynamic> json) {
MedCategoryID = json['MedCategoryID'];
MedSubCategoryID = json['MedSubCategoryID'];
MachineDate = json['MachineDate'];
Value = json['Value'];
TransactionsListID = json['TransactionsListID'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['MedCategoryID'] = this.MedCategoryID;
data['MedSubCategoryID'] = this.MedSubCategoryID;
data['MachineDate'] = this.MachineDate;
data['Value'] = this.Value;
data['TransactionsListID'] = this.TransactionsListID;
return data;
}
}