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.
aku_new_community/lib/model/manager/goods_out_model.dart

41 lines
979 B

class GoodsOutModel {
int id;
String name;
int weight;
String expectedTime;
int approach;
int status;
String movingCompanyTel;
GoodsOutModel(
{this.id,
this.name,
this.weight,
this.expectedTime,
this.approach,
this.status,
this.movingCompanyTel});
GoodsOutModel.fromJson(Map<String, dynamic> json) {
id = json['id'];
name = json['name'];
weight = json['weight'];
expectedTime = json['expectedTime'];
approach = json['approach'];
status = json['status'];
movingCompanyTel = json['movingCompanyTel'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['id'] = this.id;
data['name'] = this.name;
data['weight'] = this.weight;
data['expectedTime'] = this.expectedTime;
data['approach'] = this.approach;
data['status'] = this.status;
data['movingCompanyTel'] = this.movingCompanyTel;
return data;
}
}