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.
88 lines
1.7 KiB
88 lines
1.7 KiB
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'tenant_info.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class TenantInfo {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
String? createUser = '';
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? code = '';
|
||
|
String? name = '';
|
||
|
Type? type;
|
||
|
Status? status;
|
||
|
bool? readonly = false;
|
||
|
bool? usePlatformPay = false;
|
||
|
bool? usePlatformVip = false;
|
||
|
String? money = '';
|
||
|
String? duty = '';
|
||
|
String? address = '';
|
||
|
int? expireLimitYear = 0;
|
||
|
String? startTime = '';
|
||
|
String? expirationTime = '';
|
||
|
String? contactTel = '';
|
||
|
String? logo = '';
|
||
|
String? describe = '';
|
||
|
dynamic account;
|
||
|
String? dianwodaId = '';
|
||
|
String? dadaId = '';
|
||
|
bool? showVipCard = false;
|
||
|
String? packageId = '';
|
||
|
String? packageName = '';
|
||
|
PosType? posType;
|
||
|
|
||
|
TenantInfo();
|
||
|
|
||
|
factory TenantInfo.fromJson(Map<String, dynamic> json) => _$TenantInfoFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$TenantInfoToJson(this);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Type {
|
||
|
String? desc = '';
|
||
|
String? code = '';
|
||
|
|
||
|
Type();
|
||
|
|
||
|
factory Type.fromJson(Map<String, dynamic> json) => _$TypeFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$TypeToJson(this);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class Status {
|
||
|
String? desc = '';
|
||
|
String? code = '';
|
||
|
|
||
|
Status();
|
||
|
|
||
|
factory Status.fromJson(Map<String, dynamic> json) => _$StatusFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$StatusToJson(this);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class PosType {
|
||
|
String? desc = '';
|
||
|
String? code = '';
|
||
|
|
||
|
PosType();
|
||
|
|
||
|
factory PosType.fromJson(Map<String, dynamic> json) => _$PosTypeFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$PosTypeToJson(this);
|
||
|
|
||
|
|
||
|
}
|