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.
23 lines
444 B
23 lines
444 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'brand.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Brand {
|
||
|
String? name = '';
|
||
|
String? image = '';
|
||
|
String? video = '';
|
||
|
String? desc = '';
|
||
|
String? content = '';
|
||
|
String? icon = '';
|
||
|
int? sort = 0;
|
||
|
String? storeId = '';
|
||
|
|
||
|
Brand();
|
||
|
|
||
|
factory Brand.fromJson(Map<String, dynamic> json) => _$BrandFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$BrandToJson(this);
|
||
|
|
||
|
|
||
|
}
|