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.
44 lines
986 B
44 lines
986 B
/// name : "asdasdsad" |
|
/// image : "https://pos.upload.gznl.top/MDAwMA==/2021/07/1741cb53-d035-4f3e-9ca1-b6f1a7fb13eb.webp" |
|
/// video : "asdasdad" |
|
/// desc : "asdasdas" |
|
/// content : "hshs" |
|
/// sort : 0 |
|
/// storeId : "0" |
|
|
|
class Brand { |
|
String? name; |
|
String? image; |
|
String? video; |
|
String? desc; |
|
String? content; |
|
String? icon; |
|
int? sort; |
|
String? storeId; |
|
|
|
Brand(); |
|
|
|
Brand.fromJson(dynamic json) { |
|
this.name = json["name"]; |
|
this.image = json["image"]; |
|
this.video = json["video"]; |
|
this.desc = json["desc"]; |
|
this.content = json["content"]; |
|
this.icon = json["icon"]; |
|
this.sort = json["sort"]; |
|
this.storeId = json["storeId"]; |
|
} |
|
|
|
Map<String, dynamic> toJson() { |
|
var map = <String, dynamic>{}; |
|
map["name"] = this.name; |
|
map["image"] = this.image; |
|
map["video"] = this.video; |
|
map["desc"] = this.desc; |
|
map["content"] = this.content; |
|
map["sort"] = this.sort; |
|
map["storeId"] = this.storeId; |
|
return map; |
|
} |
|
|
|
} |