modified: main_dc/yalarba/api_es/internal/models/account.go

add status code to Account struct easysite102.ru
This commit is contained in:
2026-01-22 22:03:10 +05:00
parent b33127055a
commit c8b2f69482
@@ -22,4 +22,8 @@ type Account struct {
INN string `json:"inn"` // ИНН организации
PersonalINN string `json:"personal_inn"` // Личный ИНН
// Статус
IsActive bool `gorm:"default:true" json:"is_active"`
IsVerified bool `gorm:"default:false" json:"is_verified"`
Role string `gorm:"default:user" json:"role"` // user, admin, moderator
}