// GENERATED CODE - DO NOT MODIFY BY HAND part of 'tenant_info.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** TenantInfo _$TenantInfoFromJson(Map json) => TenantInfo() ..id = json['id'] as String? ..createTime = json['createTime'] as String? ..createUser = json['createUser'] as String? ..updateTime = json['updateTime'] as String? ..updateUser = json['updateUser'] as String? ..code = json['code'] as String? ..name = json['name'] as String? ..type = json['type'] == null ? null : Type.fromJson(json['type'] as Map) ..status = json['status'] == null ? null : Status.fromJson(json['status'] as Map) ..readonly = json['readonly'] as bool? ..usePlatformPay = json['usePlatformPay'] as bool? ..usePlatformVip = json['usePlatformVip'] as bool? ..money = json['money'] as String? ..duty = json['duty'] as String? ..address = json['address'] as String? ..expireLimitYear = (json['expireLimitYear'] as num?)?.toInt() ..startTime = json['startTime'] as String? ..expirationTime = json['expirationTime'] as String? ..contactTel = json['contactTel'] as String? ..logo = json['logo'] as String? ..describe = json['describe'] as String? ..account = json['account'] ..dianwodaId = json['dianwodaId'] as String? ..dadaId = json['dadaId'] as String? ..showVipCard = json['showVipCard'] as bool? ..packageId = json['packageId'] as String? ..packageName = json['packageName'] as String? ..posType = json['posType'] == null ? null : PosType.fromJson(json['posType'] as Map); Map _$TenantInfoToJson(TenantInfo instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'code': instance.code, 'name': instance.name, 'type': instance.type?.toJson(), 'status': instance.status?.toJson(), 'readonly': instance.readonly, 'usePlatformPay': instance.usePlatformPay, 'usePlatformVip': instance.usePlatformVip, 'money': instance.money, 'duty': instance.duty, 'address': instance.address, 'expireLimitYear': instance.expireLimitYear, 'startTime': instance.startTime, 'expirationTime': instance.expirationTime, 'contactTel': instance.contactTel, 'logo': instance.logo, 'describe': instance.describe, 'account': instance.account, 'dianwodaId': instance.dianwodaId, 'dadaId': instance.dadaId, 'showVipCard': instance.showVipCard, 'packageId': instance.packageId, 'packageName': instance.packageName, 'posType': instance.posType?.toJson(), }; Type _$TypeFromJson(Map json) => Type() ..desc = json['desc'] as String? ..code = json['code'] as String?; Map _$TypeToJson(Type instance) => { 'desc': instance.desc, 'code': instance.code, }; Status _$StatusFromJson(Map json) => Status() ..desc = json['desc'] as String? ..code = json['code'] as String?; Map _$StatusToJson(Status instance) => { 'desc': instance.desc, 'code': instance.code, }; PosType _$PosTypeFromJson(Map json) => PosType() ..desc = json['desc'] as String? ..code = json['code'] as String?; Map _$PosTypeToJson(PosType instance) => { 'desc': instance.desc, 'code': instance.code, };