import 'package:huixiang/data/act_product.dart'; import 'package:huixiang/data/act_record_and_join_dto_list.dart'; import 'package:json_annotation/json_annotation.dart'; part 'activity_details.g.dart'; @JsonSerializable(explicitToJson: true) class ActivityDetails { String? endTime; ActProduct? actProduct; List? actRecordAndJoinlDTOList; ActivityDetails({ this.endTime, this.actProduct, this.actRecordAndJoinlDTOList, }); factory ActivityDetails.fromJson(Map json) => _$ActivityDetailsFromJson(json); Map toJson() => _$ActivityDetailsToJson(this); }