|
|
@@ -27,21 +27,21 @@ var SecondCount int = 0
|
|
|
|
|
|
// SpotPriceOrder 定价明细
|
|
|
type SpotPriceOrder struct {
|
|
|
- Price float64 `json:"price" binding:"required"` // 价格
|
|
|
- Qty float64 `json:"qty" binding:"required"` // 数量
|
|
|
- Amount float64 `json:"amount" binding:"required"` // 金额
|
|
|
- DeliveryStartDate string `json:"deliverystartdate" binding:"required"` // 交收开始日期
|
|
|
- DeliveryEndDate string `json:"deliveryendtdate" binding:"required"` // 交收结束日期
|
|
|
+ Price float64 `json:"price" binding:"required"` // 价格
|
|
|
+ Qty float64 `json:"qty" binding:"required"` // 数量
|
|
|
+ Amount float64 `json:"amount" binding:"required"` // 金额
|
|
|
+ DeliveryStartDate time.Time `json:"deliverystartdate" binding:"required"` // 交收开始日期
|
|
|
+ DeliveryEndDate time.Time `json:"deliveryendtdate" binding:"required"` // 交收结束日期
|
|
|
}
|
|
|
|
|
|
// SpotPointOrder 点价明细
|
|
|
type SpotPointOrder struct {
|
|
|
- GoodsID int32 `json:"goodsid" binding:"required"` // 商品ID
|
|
|
- GoodsName string `json:"goodsname"` // 商品名称
|
|
|
- Qty float64 `json:"qty" binding:"required"` // 数量
|
|
|
- Basic float64 `json:"basic" binding:"required"` // 基差
|
|
|
- StartDate string `json:"startdate" binding:"required"` // 点价开始日期
|
|
|
- EndDate string `json:"enddate" binding:"required"` // 点价结束日期
|
|
|
+ GoodsID int32 `json:"goodsid" binding:"required"` // 商品ID
|
|
|
+ GoodsName string `json:"goodsname"` // 商品名称
|
|
|
+ Qty float64 `json:"qty" binding:"required"` // 数量
|
|
|
+ Basic float64 `json:"basic" binding:"required"` // 基差
|
|
|
+ StartDate time.Time `json:"startdate" binding:"required"` // 点价开始日期
|
|
|
+ EndDate time.Time `json:"enddate" binding:"required"` // 点价结束日期
|
|
|
}
|
|
|
|
|
|
// SoptContractDetail 合同明细信息
|