// Package domain defines the core domain entities, constants, and business rules // for the member service. It contains the fundamental building blocks that // represent the business concepts and their relationships. package domain // Business constants for the member service const ( // DefaultBcryptCost is the default cost for bcrypt password hashing DefaultBcryptCost = 10 // MinPasswordLength is the minimum required password length MinPasswordLength = 8 // MaxPasswordLength is the maximum allowed password length MaxPasswordLength = 128 // DefaultVerifyCodeDigits is the default number of digits for verification codes DefaultVerifyCodeDigits = 6 // MinVerifyCodeDigits is the minimum number of digits for verification codes MinVerifyCodeDigits = 4 // MaxVerifyCodeDigits is the maximum number of digits for verification codes MaxVerifyCodeDigits = 10 // DefaultCacheExpiration is the default cache expiration time in seconds DefaultCacheExpiration = 3600 // MaxRetryAttempts is the maximum number of retry attempts for operations MaxRetryAttempts = 3 )