mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 05:21:57 +00:00
13 lines
528 B
Go
13 lines
528 B
Go
package entities
|
|
|
|
type RecordingStock struct {
|
|
Id uint `gorm:"primaryKey"`
|
|
RecordingId uint `gorm:"column:recording_id;not null;index"`
|
|
ProductWarehouseId uint `gorm:"column:product_warehouse_id;not null"`
|
|
UsageQty *float64 `gorm:"column:usage_qty"`
|
|
PendingQty *float64 `gorm:"column:pending_qty"`
|
|
|
|
Recording Recording `gorm:"foreignKey:RecordingId;references:Id"`
|
|
ProductWarehouse ProductWarehouse `gorm:"foreignKey:ProductWarehouseId;references:Id"`
|
|
}
|