import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/tenant_package_calculate_details.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/tenant_package_calculate_details.g.dart'; @JsonSerializable() class TenantPackageCalculateDetails { String? totalFee = ''; String? expirationTime = ''; int? duration = 0; String? packageId = ''; TenantPackageCalculateDetails(); factory TenantPackageCalculateDetails.fromJson(Map json) => $TenantPackageCalculateDetailsFromJson(json); Map toJson() => $TenantPackageCalculateDetailsToJson(this); @override String toString() { return jsonEncode(this); } }