first commit
This commit is contained in:
9
back-end/models/models.go
Normal file
9
back-end/models/models.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package models
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
type User struct {
|
||||
gorm.Model
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email" gorm:"unique"`
|
||||
}
|
||||
Reference in New Issue
Block a user