Discover Packages
github.com/tinkler/erp/mist/pssm
pkg
model
inventory
package
Version:
v0.0.0-...-176ebac
Opens a new window with list of versions in this module.
Published: Jul 5, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type StoreIn type StoreInItem (m) Create(ctx) (m) Validate()
Documentation
¶
type StoreIn struct {
gorm .Model
ID string `gorm:"primaryKey;autoIncrement;"`
UserID string `gorm:"type:uuid"`
StoreInItems []*StoreInItem `gorm:"foreignKey:StoreInID"`
}
type StoreInItem struct {
gorm .Model
ID uint `gorm:"primarykey;autoIncrement"`
Index int
StoreInID string `gorm:"type:uuid"`
CommodityID string `gorm:"type:uuid"`
Price int
Quantity float64
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.