Files

18 lines
463 B
Go

package models
import (
"github.com/gofrs/uuid/v5"
"github.com/jackc/pgx/v5/pgtype"
)
type UserModel struct {
ID uuid.UUID `json:"id"`
Name string `json:"name"`
Username string `json:"username"`
Email string `json:"email"`
Phone string `json:"phone"`
Password string `json:"-"`
CreatedAt pgtype.Timestamp `json:"createdAt"`
UpdatedAt pgtype.Timestamp `json:"updatedAt"`
}