2025-05-31 02:38:40 +00:00

18 lines
380 B
Go

package model
import (
"time"
"gorm.io/gorm"
)
type User struct {
ID int64 `gorm:"id,primaryKey"`
Name string `gorm:"name"`
Email string `gorm:"email"`
Password string `gorm:"password"`
CreatedAt time.Time `gorm:"created_at"`
UpdatedAt *time.Time `gorm:"updated_at"`
DeletedAt gorm.DeletedAt `gorm:"index"`
}