初始化
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
class BannerJumpEntity {
|
||||
String? id;
|
||||
int? position;
|
||||
String? url;
|
||||
String? title;
|
||||
String? startAt;
|
||||
String? banner;
|
||||
String? endAt;
|
||||
int? countdownType;
|
||||
|
||||
BannerJumpEntity({this.title, this.id, this.position, this.url, this.startAt, this.banner, this.endAt, this.countdownType});
|
||||
|
||||
BannerJumpEntity.fromJson(dynamic json) {
|
||||
id = json['id'];
|
||||
position = json['position'];
|
||||
url = json['url'];
|
||||
title = json['title'];
|
||||
startAt = json['startAt'];
|
||||
endAt = json['endAt'];
|
||||
banner = json['banner'];
|
||||
countdownType = json['countdownType'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user