package account

// AccountType тип аккаунта
type AccountType string

const (
	AccountTypeIndividual AccountType = "individual" // Физическое лицо
	AccountTypeBusiness   AccountType = "business"   // Юридическое лицо
)

// AccountRole роль пользователя
type AccountRole string

const (
	RoleUser    AccountRole = "user"
	RoleModer   AccountRole = "moderator"
	RoleAdmin   AccountRole = "admin"
)

// ValidationRules правила валидации
type ValidationRules struct {
	MinPasswordLength int
	MaxNameLength     int
	MaxPhoneLength    int
	INNLength         int
}

// DefaultValidationRules правила валидации по умолчанию
var DefaultValidationRules = ValidationRules{
	MinPasswordLength: 6,
	MaxNameLength:     100,
	MaxPhoneLength:    20,
	INNLength:         12,
}