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.
47 lines
1023 B
47 lines
1023 B
1 month ago
|
import 'package:huixiang/data/store.dart';
|
||
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'vip_card.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class VipCard {
|
||
|
String? id = '';
|
||
|
String? createTime = '';
|
||
|
dynamic createUser;
|
||
|
String? updateTime = '';
|
||
|
String? updateUser = '';
|
||
|
String? mid = '';
|
||
|
String? openid = '';
|
||
|
String? nickname = '';
|
||
|
String? headimg = '';
|
||
|
String? balance = '';
|
||
|
String? realRecharge = '';
|
||
|
String? sex = '';
|
||
|
bool? status = false;
|
||
|
bool? onCredit = false;
|
||
|
String? loginTime = '';
|
||
|
int? loginNum = 0;
|
||
|
String? tenantCode = '';
|
||
|
int? source = 0;
|
||
|
String? expendAmount = '';
|
||
|
int? buyTimes = 0;
|
||
|
dynamic lastBuyTime;
|
||
|
@JsonKey(name: "vip_no")
|
||
|
dynamic vipNo;
|
||
|
dynamic expireTime;
|
||
|
int? integral = 0;
|
||
|
int? level = 0;
|
||
|
dynamic vipRegStore;
|
||
|
String? tenantName = '';
|
||
|
String? tenantLogo = '';
|
||
|
List<Store>? storeList = [];
|
||
|
|
||
|
VipCard();
|
||
|
|
||
|
factory VipCard.fromJson(Map<String, dynamic> json) => _$VipCardFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$VipCardToJson(this);
|
||
|
|
||
|
|
||
|
}
|