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.
28 lines
703 B
28 lines
703 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/category_select.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/category_select.g.dart'; |
|
|
|
@JsonSerializable() |
|
class CategorySelect { |
|
String? id = ''; |
|
String? createTime = ''; |
|
String? createUser = ''; |
|
String? updateTime = ''; |
|
String? updateUser = ''; |
|
String? name = ''; |
|
bool? isTop = false; |
|
int? sort = 0; |
|
int? isDelete = 0; |
|
|
|
CategorySelect(); |
|
|
|
factory CategorySelect.fromJson(Map<String, dynamic> json) => $CategorySelectFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $CategorySelectToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |