import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/promotion.g.dart'; @JsonSerializable() class Promotion { String? activityEndTime; String? activityStartTime; String? applyEndTime; String? applyStartTime; String? createTime; String? createUser; String? description; String? id; String? image; num? isDelete; num? isNeedSecurityDeposit; String? name; List? promotionDetail; num? promotionPlan; num? promotionType; String? securityDeposit; num? status; String? tag; String? updateTime; String? updateUser; Promotion({this.activityEndTime, this.activityStartTime, this.applyEndTime, this.applyStartTime, this.createTime, this.createUser, this.description, this.id, this.image, this.isDelete, this.isNeedSecurityDeposit, this.name, this.promotionDetail, this.promotionPlan, this.promotionType, this.securityDeposit, this.status, this.tag, this.updateTime, this.updateUser}); factory Promotion.fromJson(Map json) => $PromotionFromJson(json); Map toJson() => $PromotionToJson(this); } @JsonSerializable() class DetailBean { DetailBean(); factory DetailBean.fromJson(Map json) => DetailBean(); Map toJson() => {}; }