You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
743 B
36 lines
743 B
1 year ago
|
class WarehouseModel {
|
||
|
int? id;
|
||
|
String? name;
|
||
|
String? description;
|
||
|
String? address;
|
||
|
String? created_by;
|
||
|
String? updated_by;
|
||
|
|
||
|
WarehouseModel({
|
||
|
this.id,
|
||
|
this.name,
|
||
|
this.description,
|
||
|
this.address,
|
||
|
this.created_by,
|
||
|
this.updated_by,
|
||
|
});
|
||
|
|
||
|
WarehouseModel.fromJson(Map<String, dynamic> json) {
|
||
|
id = json['id'];
|
||
|
name = json['name'];
|
||
|
description = json['description'];
|
||
|
address = json['address'];
|
||
|
created_by = json['created_by'];
|
||
|
updated_by = json['updated_by'];
|
||
|
}
|
||
|
|
||
|
Map<String, dynamic> toJson() => {
|
||
|
'id': id,
|
||
|
'name': name,
|
||
|
'description': description,
|
||
|
'address': address,
|
||
|
'created_by': created_by,
|
||
|
'updated_by': updated_by,
|
||
|
};
|
||
|
}
|