From 1d5cb2f03c706c4b1cc36f50fd431f98fdbe7101 Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 13 十二月 2023 15:23:33 +0800
Subject: [PATCH] 对number的验证及不重复
---
models/material.go | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/models/material.go b/models/material.go
index c77b4b9..16a6e10 100644
--- a/models/material.go
+++ b/models/material.go
@@ -75,6 +75,9 @@
PredictionAmount decimal.Decimal `json:"predictionAmount" gorm:"-"`
InputAmount decimal.Decimal `json:"inputAmount" gorm:"-"`
OutputAmount decimal.Decimal `json:"outputAmount" gorm:"-"`
+ MinInventoryRule decimal.Decimal `json:"minInventoryRule" gorm:"-"` //鏈�灏忓簱瀛�
+ MaxInventoryRule decimal.Decimal `json:"maxInventoryRule" gorm:"-"` //鏈�澶у簱瀛�
+ ReorderRuleNum int64 `json:"reorderRuleNum"`
}
MaterialSearch struct {
--
Gitblit v1.8.0