Handlers, DB, Cache
This commit is contained in:
10
internal/service/database/orm/user.go
Normal file
10
internal/service/database/orm/user.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package orm
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type User struct {
|
||||
gorm.Model
|
||||
TIN string
|
||||
Phone string `gorm:"uniqueIndex:idx_phone"`
|
||||
PasswdHash string
|
||||
}
|
||||
Reference in New Issue
Block a user