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.
26 lines
644 B
26 lines
644 B
4 years ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'banner.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class BannerData {
|
||
|
String content;
|
||
|
String createTime;
|
||
|
num createUser;
|
||
|
num id;
|
||
|
String imgUrl;
|
||
|
bool isDelete;
|
||
|
String storeId;
|
||
|
String tenantCode;
|
||
|
String type;
|
||
|
String updateTime;
|
||
|
num updateUser;
|
||
|
|
||
|
BannerData({this.content, this.createTime, this.createUser, this.id, this.imgUrl, this.isDelete, this.storeId, this.tenantCode, this.type, this.updateTime, this.updateUser});
|
||
|
|
||
|
factory BannerData.fromJson(Map<String, dynamic> json) => _$BannerDataFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$BannerDataToJson(this);
|
||
|
}
|
||
|
|