package models import "time" type SalesOrderItem struct { ID uint `gorm:"primaryKey" json:"id"` SalesOrderID uint `json:"sales_order_id"` ProductID uint `json:"product_id"` Quantity float64 `json:"quantity"` UnitPrice float64 `json:"unit_price"` Subtotal float64 `json:"subtotal"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }