f
This commit is contained in:
@@ -43,8 +43,12 @@ type UserProfileResponse struct {
|
||||
Phone string `json:"phone" example:"13800138000"`
|
||||
Username string `json:"username,omitempty" example:"admin"`
|
||||
UserType string `json:"user_type" example:"user"`
|
||||
IsActive bool `json:"is_active" example:"true"`
|
||||
LastLoginAt *time.Time `json:"last_login_at,omitempty" example:"2024-01-01T00:00:00Z"`
|
||||
IsActive bool `json:"is_active" example:"true"`
|
||||
IsBlacklisted bool `json:"is_blacklisted" example:"false"`
|
||||
BlacklistReason string `json:"blacklist_reason,omitempty"`
|
||||
BlacklistSource string `json:"blacklist_source,omitempty"`
|
||||
BlacklistedAt *time.Time `json:"blacklisted_at,omitempty"`
|
||||
LastLoginAt *time.Time `json:"last_login_at,omitempty" example:"2024-01-01T00:00:00Z"`
|
||||
LoginCount int `json:"login_count" example:"10"`
|
||||
Permissions []string `json:"permissions,omitempty" example:"['user:read','user:write']"`
|
||||
EnterpriseInfo *EnterpriseInfoResponse `json:"enterprise_info,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user