import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/collect_class.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/collect_class.g.dart'; @JsonSerializable() class CollectClass { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? name = ''; int? sort = 0; bool? enabled = false; int? isDelete = 0; CollectClass(); factory CollectClass.fromJson(Map json) => $CollectClassFromJson(json); Map toJson() => $CollectClassToJson(this); @override String toString() { return jsonEncode(this); } }