model/purchase/request/purchase.go
@@ -4,13 +4,11 @@ "github.com/shopspring/decimal" "srm/model/common/request" "srm/model/purchase" "time" ) type PurchaseSearch struct { StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"` EndCreatedAt *time.Time `json:"endCreatedAt" form:"endCreatedAt"` request.PageInfo SupplierId int `json:"supplierId" form:"supplierId" gorm:"type:int(11);not null;default 0;comment:供应商id"` // 供应商id } type AddPurchase struct {