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.
29 lines
723 B
29 lines
723 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/goods_category.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/goods_category.g.dart'; |
|
|
|
@JsonSerializable() |
|
class GoodsCategory { |
|
String? id = ''; |
|
String? createTime = ''; |
|
String? createUser = ''; |
|
String? updateTime = ''; |
|
String? updateUser = ''; |
|
String? parentId = ''; |
|
String? name = ''; |
|
int? miniShow = 0; |
|
int? sortOrder = 0; |
|
int? isDelete = 0; |
|
|
|
GoodsCategory(); |
|
|
|
factory GoodsCategory.fromJson(Map<String, dynamic> json) => $GoodsCategoryFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $GoodsCategoryToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |