26 lines
629 B
Dart
26 lines
629 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'epg_bean.g.dart';
|
|
|
|
///
|
|
@JsonSerializable(explicitToJson: true)
|
|
class EpgBean {
|
|
int? epgId;
|
|
int? resType;
|
|
String? resId;
|
|
String? idName;
|
|
String? imageUrl;
|
|
int? imageResStyle;
|
|
String? cornerIcon;
|
|
String? title;
|
|
String? subTitle;
|
|
String? score;
|
|
|
|
EpgBean(
|
|
this.epgId, this.resType, this.resId, this.idName, this.imageUrl, this.imageResStyle, this.cornerIcon, this.title, this.subTitle, this.score);
|
|
|
|
factory EpgBean.fromJson(Map<String, dynamic> json) => _$EpgBeanFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$EpgBeanToJson(this);
|
|
}
|