|
|
|
|
@ -1,5 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import 'package:test_sa/models/base.dart';
|
|
|
|
|
|
|
|
|
|
class MedicalGasSupplierModel extends Base {
|
|
|
|
|
@ -15,7 +13,7 @@ class MedicalGasSupplierModel extends Base {
|
|
|
|
|
id = json['id'];
|
|
|
|
|
identifier = id?.toString() ?? '';
|
|
|
|
|
supplier = json['supplier'];
|
|
|
|
|
name=supplier;
|
|
|
|
|
name = supplier;
|
|
|
|
|
supplierEmail = json['supplierEmail'];
|
|
|
|
|
supplierContact = json['supplierContact'];
|
|
|
|
|
if (json['attributeInfoDtos'] != null) {
|
|
|
|
|
@ -41,16 +39,18 @@ class AttributeInfo {
|
|
|
|
|
int? id;
|
|
|
|
|
int? medicalGasAttributeId;
|
|
|
|
|
num? requestedQuantity;
|
|
|
|
|
num? value;
|
|
|
|
|
String? itemName;
|
|
|
|
|
String? oracleName;
|
|
|
|
|
String? oracleCode;
|
|
|
|
|
|
|
|
|
|
AttributeInfo({this.id, this.medicalGasAttributeId, this.requestedQuantity, this.itemName, this.oracleName, this.oracleCode});
|
|
|
|
|
AttributeInfo({this.id, this.medicalGasAttributeId, this.requestedQuantity, this.itemName, this.value, this.oracleName, this.oracleCode});
|
|
|
|
|
|
|
|
|
|
AttributeInfo.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
id = json['id'];
|
|
|
|
|
medicalGasAttributeId = json['medicalGasAttributeId'];
|
|
|
|
|
requestedQuantity = json['requestedQuantity'];
|
|
|
|
|
value = json['value'];
|
|
|
|
|
itemName = json['itemName'];
|
|
|
|
|
oracleName = json['oracleName'];
|
|
|
|
|
oracleCode = json['oracleCode'];
|
|
|
|
|
|