plateMate/models/users.go

16 lines
251 B
Go
Raw Normal View History

package models
import (
"time"
)
type User struct {
ID uint `gorm:"primary_key"`
Name string
LastName string
Email string
Password string `gorm:"not null"`
CreatedAt time.Time
UpdatedAt time.Time
}