Update
This commit is contained in:
@@ -2,14 +2,14 @@ package basket
|
||||
|
||||
import "time"
|
||||
|
||||
type BasketEntity struct {
|
||||
type Basket struct {
|
||||
ID string `db:"id" json:"id"`
|
||||
State string `db:"state" json:"state"`
|
||||
CreatedAt time.Time `db:"created_at" json:"created_at"`
|
||||
UpdatedAt *time.Time `db:"updated_at" json:"updated_at,omitempty"`
|
||||
}
|
||||
|
||||
type BasketItemEntity struct {
|
||||
type BasketItem struct {
|
||||
ID string `db:"id" json:"id"`
|
||||
BasketID string `db:"basket_id" json:"basket_id"`
|
||||
ProductID string `db:"product_id" json:"product_id"`
|
||||
|
||||
Reference in New Issue
Block a user