mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-25 15:55:44 +00:00
feat(BE): recording
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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"`
|
||||
Increase *float64 `gorm:"column:increase"`
|
||||
Decrease *float64 `gorm:"column:decrease"`
|
||||
UsageAmount *int64 `gorm:"column:usage_amount"`
|
||||
Notes *string `gorm:"column:notes"`
|
||||
|
||||
Recording Recording `gorm:"foreignKey:RecordingId;references:Id"`
|
||||
ProductWarehouse ProductWarehouse `gorm:"foreignKey:ProductWarehouseId;references:Id"`
|
||||
}
|
||||
Reference in New Issue
Block a user