package model

import "time"

type StoreProduct struct {
	Id                 int64 `gorm:"column=id;PRIMARY"`
	StoreId            int64
	ProductId          int64
	Status             int // 0: pending 1:available 2:deleted
	Stock              int
	Unit               string
	Price              int
	DeliveryType       int // 1 :deserve, 2: place order
	DeliveryCommitTime int
	CreatedAt          time.Time `gorm:"column=created_at;autoCreateTime"`
	UpdatedAt          time.Time `gorm:"column=updated_at;autoUpdateTime"`
}
