24 lines
730 B
Go
24 lines
730 B
Go
package adminuser
|
|
|
|
import "time"
|
|
|
|
type UserDTO struct {
|
|
ID uint64 `json:"id"`
|
|
Phone string `json:"phone"`
|
|
Nickname string `json:"nickname"`
|
|
RealnameStatus string `json:"realname_status"`
|
|
RiskStatus string `json:"risk_status"`
|
|
CreditScore int `json:"credit_score"`
|
|
Status string `json:"status"`
|
|
OrderCount int64 `json:"order_count"`
|
|
ListingCount int64 `json:"listing_count"`
|
|
DisputeCount int64 `json:"dispute_count"`
|
|
LastLoginAt *time.Time `json:"last_login_at"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
}
|
|
|
|
type FreezeRequest struct {
|
|
Reason string `json:"reason"`
|
|
}
|