import 'package:json_annotation/json_annotation.dart'; import 'ad_free_bean.dart'; part 'app_config_bean.g.dart'; @JsonSerializable() class AppConfigBean { int? SharingRewards; AdFreeBean? AdFree; String? MallInletImage; int? InvitationCodeNumber; int? InviteeNumber; bool? UserPageAd; bool? UserPageShoppingMall; bool? UserPageOfficialAccount; bool? IsCheckRemark; bool? IsShowUserPageEquityBtn; AppConfigBean(this.SharingRewards, this.AdFree, this.MallInletImage, this.InvitationCodeNumber, this.InviteeNumber, this.UserPageAd, this.UserPageShoppingMall, this.UserPageOfficialAccount, this.IsCheckRemark, this.IsShowUserPageEquityBtn); factory AppConfigBean.fromJson(Map json) => _$AppConfigBeanFromJson(json); Map toJson() => _$AppConfigBeanToJson(this); }