models/user.go
dragonmuffin 466a81903a init
2024-09-23 23:38:34 +05:00

10 lines
208 B
Go

package models
import "time"
type User struct {
UserId *int32 `json:"user_id" db:"user_id"`
Role *Role `json:"role" db:"role"`
UpdatedAt *time.Time `json:"updated_at" db:"updated_at"`
}