You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
287 B
Go

package model
import "time"
type OrderProduct struct {
ID uint
OrderNo string
UserID int
ProductID int
Num int
Price float64
Amount float64
CreatedAt time.Time
UpdatedAt time.Time
}
func (OrderProduct) TableName() string {
return "order_products"
}