update info
This commit is contained in:
@@ -60,6 +60,33 @@ class UserInfo {
|
||||
/// CCCD/ID card number
|
||||
final String? cccd;
|
||||
|
||||
/// Date of birth
|
||||
final DateTime? dateOfBirth;
|
||||
|
||||
/// Gender
|
||||
final String? gender;
|
||||
|
||||
/// ID card front image URL
|
||||
final String? idCardFront;
|
||||
|
||||
/// ID card back image URL
|
||||
final String? idCardBack;
|
||||
|
||||
/// Certificate image URLs
|
||||
final List<String> certificates;
|
||||
|
||||
/// Membership verification status text
|
||||
final String? membershipStatus;
|
||||
|
||||
/// Membership status color indicator
|
||||
final String? membershipStatusColor;
|
||||
|
||||
/// Whether user is verified
|
||||
final bool isVerified;
|
||||
|
||||
/// Whether to display credential verification form
|
||||
final bool credentialDisplay;
|
||||
|
||||
/// Referral code
|
||||
final String? referralCode;
|
||||
|
||||
@@ -88,6 +115,15 @@ class UserInfo {
|
||||
this.taxId,
|
||||
this.address,
|
||||
this.cccd,
|
||||
this.dateOfBirth,
|
||||
this.gender,
|
||||
this.idCardFront,
|
||||
this.idCardBack,
|
||||
this.certificates = const [],
|
||||
this.membershipStatus,
|
||||
this.membershipStatusColor,
|
||||
this.isVerified = false,
|
||||
this.credentialDisplay = false,
|
||||
this.referralCode,
|
||||
this.erpnextCustomerId,
|
||||
required this.createdAt,
|
||||
@@ -151,6 +187,15 @@ class UserInfo {
|
||||
String? taxId,
|
||||
String? address,
|
||||
String? cccd,
|
||||
DateTime? dateOfBirth,
|
||||
String? gender,
|
||||
String? idCardFront,
|
||||
String? idCardBack,
|
||||
List<String>? certificates,
|
||||
String? membershipStatus,
|
||||
String? membershipStatusColor,
|
||||
bool? isVerified,
|
||||
bool? credentialDisplay,
|
||||
String? referralCode,
|
||||
String? erpnextCustomerId,
|
||||
DateTime? createdAt,
|
||||
@@ -172,6 +217,15 @@ class UserInfo {
|
||||
taxId: taxId ?? this.taxId,
|
||||
address: address ?? this.address,
|
||||
cccd: cccd ?? this.cccd,
|
||||
dateOfBirth: dateOfBirth ?? this.dateOfBirth,
|
||||
gender: gender ?? this.gender,
|
||||
idCardFront: idCardFront ?? this.idCardFront,
|
||||
idCardBack: idCardBack ?? this.idCardBack,
|
||||
certificates: certificates ?? this.certificates,
|
||||
membershipStatus: membershipStatus ?? this.membershipStatus,
|
||||
membershipStatusColor: membershipStatusColor ?? this.membershipStatusColor,
|
||||
isVerified: isVerified ?? this.isVerified,
|
||||
credentialDisplay: credentialDisplay ?? this.credentialDisplay,
|
||||
referralCode: referralCode ?? this.referralCode,
|
||||
erpnextCustomerId: erpnextCustomerId ?? this.erpnextCustomerId,
|
||||
createdAt: createdAt ?? this.createdAt,
|
||||
|
||||
Reference in New Issue
Block a user