package model

import "time"

type OrderItem struct {
	Id                   int64 `gorm:"column=id:PRIMARY"`
	OrderId              int64
	ProductId            int64
	Status               int
	Quantity             float64
	QuoteQuantity        float64
	Price                int
	SubtotalPrice        int
	Name                 string
	Thumbnail            string
	DeliveryType         int
	DeliveryCommitTime   int
	IsQuoteAfterOrdering bool
	Note                 string
	Product              string
	CreatedAt            time.Time `gorm:"column=created_at;autoCreateTime"`
	UpdatedAt            time.Time `gorm:"column=updated_at;autoUpdateTime"`
}
