You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
3.7 KiB
103 lines
3.7 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'tenant_info.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
TenantInfo _$TenantInfoFromJson(Map<String, dynamic> 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<String, dynamic>)
|
||
|
..status = json['status'] == null
|
||
|
? null
|
||
|
: Status.fromJson(json['status'] as Map<String, dynamic>)
|
||
|
..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<String, dynamic>);
|
||
|
|
||
|
Map<String, dynamic> _$TenantInfoToJson(TenantInfo instance) =>
|
||
|
<String, dynamic>{
|
||
|
'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<String, dynamic> json) => Type()
|
||
|
..desc = json['desc'] as String?
|
||
|
..code = json['code'] as String?;
|
||
|
|
||
|
Map<String, dynamic> _$TypeToJson(Type instance) => <String, dynamic>{
|
||
|
'desc': instance.desc,
|
||
|
'code': instance.code,
|
||
|
};
|
||
|
|
||
|
Status _$StatusFromJson(Map<String, dynamic> json) => Status()
|
||
|
..desc = json['desc'] as String?
|
||
|
..code = json['code'] as String?;
|
||
|
|
||
|
Map<String, dynamic> _$StatusToJson(Status instance) => <String, dynamic>{
|
||
|
'desc': instance.desc,
|
||
|
'code': instance.code,
|
||
|
};
|
||
|
|
||
|
PosType _$PosTypeFromJson(Map<String, dynamic> json) => PosType()
|
||
|
..desc = json['desc'] as String?
|
||
|
..code = json['code'] as String?;
|
||
|
|
||
|
Map<String, dynamic> _$PosTypeToJson(PosType instance) => <String, dynamic>{
|
||
|
'desc': instance.desc,
|
||
|
'code': instance.code,
|
||
|
};
|