Catalog Entity, Model and DTO fields updated
This commit is contained in:
@@ -3,8 +3,8 @@ package catalog
|
||||
import "github.com/jackc/pgtype"
|
||||
|
||||
type Product struct {
|
||||
ID int `db:"id"`
|
||||
PID string `db:"pid"`
|
||||
ID string `db:"id"`
|
||||
Slug string `db:"slug"`
|
||||
Name string `db:"name"`
|
||||
Price float64 `db:"price"`
|
||||
CreatedAt pgtype.Timestamp `db:"created_at"`
|
||||
|
||||
Reference in New Issue
Block a user