feat: 部署初版测试
This commit is contained in:
@@ -7,11 +7,12 @@ import (
|
||||
)
|
||||
|
||||
type User struct {
|
||||
ID uuid.UUID `gorm:"type:uuid;primary_key;default:gen_random_uuid()" json:"id"`
|
||||
Email string `gorm:"unique;not null" json:"email"`
|
||||
PasswordHash string `json:"-"`
|
||||
SubscriptionTier string `gorm:"default:'Free'" json:"subscription_tier"`
|
||||
IdentityLabel string `json:"identity_label"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
ID uuid.UUID `gorm:"type:uuid;primary_key;default:gen_random_uuid()" json:"id"`
|
||||
Email string `gorm:"unique;not null" json:"email"`
|
||||
PasswordHash string `json:"-"`
|
||||
SubscriptionTier string `gorm:"default:'Free'" json:"subscription_tier"`
|
||||
IdentityLabel string `json:"identity_label"`
|
||||
LanguagePreference string `gorm:"default:'auto'" json:"language_preference"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
UpdatedAt time.Time `json:"updated_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user