import 'package:json_annotation/json_annotation.dart'; part 'vip_benefit.g.dart'; @JsonSerializable(explicitToJson: true) class VipBenefit { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? code = ''; String? name = ''; String? icon = ''; String? iconGrey = ''; String? introduce = ''; String? describes = ''; bool? actived = false; int? sort = 0; int? isDelete = 0; bool? have = false; String? config = ''; VipBenefit(); factory VipBenefit.fromJson(Map json) => _$VipBenefitFromJson(json); Map toJson() => _$VipBenefitToJson(this); }