|
|
|
|
|
|
|
class DeliveryInfo {
|
|
|
|
bool dadaRegStatus;
|
|
|
|
String dadaSourceId;
|
|
|
|
bool dadaStatus;
|
|
|
|
bool dianwodaRegStatus;
|
|
|
|
bool dianwodaStatus;
|
|
|
|
bool meituanRegStatus;
|
|
|
|
bool meituanStatus;
|
|
|
|
|
|
|
|
DeliveryInfo({this.dadaRegStatus, this.dadaSourceId, this.dadaStatus, this.dianwodaRegStatus, this.dianwodaStatus, this.meituanRegStatus, this.meituanStatus});
|
|
|
|
|
|
|
|
factory DeliveryInfo.fromJson(Map<String, dynamic> json) => DeliveryInfo(
|
|
|
|
dadaRegStatus: json['dadaRegStatus'] as bool,
|
|
|
|
dadaSourceId: json['dadaSourceId'] as String,
|
|
|
|
dadaStatus: json['dadaStatus'] as bool,
|
|
|
|
dianwodaRegStatus: json['dianwodaRegStatus'] as bool,
|
|
|
|
dianwodaStatus: json['dianwodaStatus'] as bool,
|
|
|
|
meituanRegStatus: json['meituanRegStatus'] as bool,
|
|
|
|
meituanStatus: json['meituanStatus'] as bool,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => <String, dynamic>{
|
|
|
|
'dadaRegStatus': this.dadaRegStatus,
|
|
|
|
'dadaSourceId': this.dadaSourceId,
|
|
|
|
'dadaStatus': this.dadaStatus,
|
|
|
|
'dianwodaRegStatus': this.dianwodaRegStatus,
|
|
|
|
'dianwodaStatus': this.dianwodaStatus,
|
|
|
|
'meituanRegStatus': this.meituanRegStatus,
|
|
|
|
'meituanStatus': this.meituanStatus,
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|