import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/headlines_details.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/headlines_details.g.dart'; @JsonSerializable() class HeadlinesDetails { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? name = ''; String? introduce = ''; String? coverImg = ''; String? bannerImg = ''; int? sort = 0; int? isDelete = 0; String? tenantCode = ''; HeadlinesDetails(); factory HeadlinesDetails.fromJson(Map json) => $HeadlinesDetailsFromJson(json); Map toJson() => $HeadlinesDetailsToJson(this); @override String toString() { return jsonEncode(this); } }