class BannerData { String content; String createTime; int contentType; String createUser; String id; String imgUrl; bool isDelete; String storeId; String tenantCode; String type; String updateTime; String updateUser; BannerData({this.content, this.createTime, this.contentType, this.createUser, this.id, this.imgUrl, this.isDelete, this.storeId, this.tenantCode, this.type, this.updateTime, this.updateUser}); factory BannerData.fromJson(Map json) => BannerData( content: json['content'] as String, createTime: json['createTime'] as String, contentType: json['contentType'], createUser: json['createUser'] as String, id: json['id'] as String, imgUrl: json['imgUrl'] as String, isDelete: json['isDelete'] as bool, storeId: json['storeId'] as String, tenantCode: json['tenantCode'] as String, type: json['type'] as String, updateTime: json['updateTime'] as String, updateUser: json['updateUser'] as String, ); Map toJson() => { 'content': this.content, 'createTime': this.createTime, 'contentType': this.contentType, 'createUser': this.createUser, 'id': this.id, 'imgUrl': this.imgUrl, 'isDelete': this.isDelete, 'storeId': this.storeId, 'tenantCode': this.tenantCode, 'type': this.type, 'updateTime': this.updateTime, 'updateUser': this.updateUser, }; }