mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
12 lines
474 B
Go
12 lines
474 B
Go
package entities
|
|
|
|
type RecordingDepletion struct {
|
|
Id uint `gorm:"primaryKey"`
|
|
RecordingId uint `gorm:"column:recording_id;not null;index"`
|
|
ProductWarehouseId uint `gorm:"column:product_warehouse_id;not null"`
|
|
Qty float64 `gorm:"column:qty;not null"`
|
|
|
|
Recording Recording `gorm:"foreignKey:RecordingId;references:Id"`
|
|
ProductWarehouse ProductWarehouse `gorm:"foreignKey:ProductWarehouseId;references:Id"`
|
|
}
|