import 'package:json_annotation/json_annotation.dart'; part 'service_bug.g.dart'; @JsonSerializable(explicitToJson: true) class ServiceBug { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? tenantId = ''; String? tenantCode = ''; String? packageId = ''; String? oldPackageId = ''; String? packagePrice = ''; int? packageNum = 0; int? packageDiscount = 0; String? expirationTime = ''; dynamic upgradeTime; int? status = 0; int? payChannel = 0; int? isDelete = 0; String? packageName = ''; ServiceBug(); factory ServiceBug.fromJson(Map json) => _$ServiceBugFromJson(json); Map toJson() => _$ServiceBugToJson(this); }