import 'package:json_annotation/json_annotation.dart'; part 'vip_badges.g.dart'; @JsonSerializable(explicitToJson: true) class VipBadges { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? name = ''; int? eachReward = 0; String? code = ''; String? icon = ''; bool? actived = false; int? sort = 0; int? isDelete = 0; VipBadges(); factory VipBadges.fromJson(Map json) => _$VipBadgesFromJson(json); Map toJson() => _$VipBadgesToJson(this); }