Merge branch 'fix/nonstock-supplier' into 'development'

fix(BE): remove supplier price in master nonstock

See merge request mbugroup/lti-api!194
This commit is contained in:
Hafizh A. Y.
2026-01-15 08:52:11 +00:00
8 changed files with 38 additions and 54 deletions
-1
View File
@@ -5,7 +5,6 @@ import "time"
type NonstockSupplier struct {
NonstockId uint `gorm:"not null"`
SupplierId uint `gorm:"not null"`
Price float64 `gorm:"type:numeric(15,3);not null;default:0"`
CreatedAt time.Time `gorm:"autoCreateTime"`
Nonstock Nonstock `gorm:"foreignKey:NonstockId;references:Id"`