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.
31 lines
744 B
31 lines
744 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/headlines.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/headlines.g.dart'; |
|
|
|
@JsonSerializable() |
|
class Headlines { |
|
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 = ''; |
|
|
|
Headlines(); |
|
|
|
factory Headlines.fromJson(Map<String, dynamic> json) => $HeadlinesFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $HeadlinesToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |