|
|
@@ -1831,6 +1831,231 @@ func (x *Ermcp2HedgedItemInfo) GetHimiddlegoodsext() []*Ermcp2HIMiddleGoodsExt {
|
|
|
return nil
|
|
|
}
|
|
|
|
|
|
+// ERMCP2_AREAEXPOSURE 企业敞口表_New
|
|
|
+type Ermcp2AreaExposure struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ //mkey: 1 2
|
|
|
+ MiddleGoodsID *uint64 `protobuf:"varint,1,opt,name=MiddleGoodsID" json:"MiddleGoodsID,omitempty"` // 套保品种
|
|
|
+ AreaUserID *uint64 `protobuf:"varint,2,opt,name=AreaUserID" json:"AreaUserID,omitempty"` // 所属机构
|
|
|
+ SpotQty *float64 `protobuf:"fixed64,3,opt,name=SpotQty" json:"SpotQty,omitempty"` // 现货总量
|
|
|
+ HedgeSpotQty *float64 `protobuf:"fixed64,4,opt,name=HedgeSpotQty" json:"HedgeSpotQty,omitempty"` // 被套期现货量
|
|
|
+ HedgePlanQty *float64 `protobuf:"fixed64,5,opt,name=HedgePlanQty" json:"HedgePlanQty,omitempty"` // 套期计划量
|
|
|
+ FutureQty *float64 `protobuf:"fixed64,6,opt,name=FutureQty" json:"FutureQty,omitempty"` // 期货套期量
|
|
|
+ SpotExposure *float64 `protobuf:"fixed64,7,opt,name=SpotExposure" json:"SpotExposure,omitempty"` // 现货敞口量
|
|
|
+ TotalExposure *float64 `protobuf:"fixed64,8,opt,name=TotalExposure" json:"TotalExposure,omitempty"` // 总敞口量 = 现货敞口量 + 期货套期量
|
|
|
+ SpRatio *float64 `protobuf:"fixed64,9,opt,name=SpRatio" json:"SpRatio,omitempty"` // 总期现比例 = 期货套期量/现货敞口量
|
|
|
+ HedgedSpotExposure *float64 `protobuf:"fixed64,10,opt,name=HedgedSpotExposure" json:"HedgedSpotExposure,omitempty"` // 被套期现货敞口量
|
|
|
+ HedgedTotalExposure *float64 `protobuf:"fixed64,11,opt,name=HedgedTotalExposure" json:"HedgedTotalExposure,omitempty"` // 套期敞口量 = 被套期现货敞口量+期货套期量
|
|
|
+ HedgedSpRatio *float64 `protobuf:"fixed64,12,opt,name=HedgedSpRatio" json:"HedgedSpRatio,omitempty"` // 套期期现比例 = 期货套期量/被套期现货敞口量
|
|
|
+ OriSpotQty *float64 `protobuf:"fixed64,13,opt,name=OriSpotQty" json:"OriSpotQty,omitempty"` // 期初现货总量
|
|
|
+ OriHedgeSpotQty *float64 `protobuf:"fixed64,14,opt,name=OriHedgeSpotQty" json:"OriHedgeSpotQty,omitempty"` // 期初被套期现货量
|
|
|
+ OriHedgePlanQty *float64 `protobuf:"fixed64,15,opt,name=OriHedgePlanQty" json:"OriHedgePlanQty,omitempty"` // 期初套期计划量
|
|
|
+ OriFutureQty *float64 `protobuf:"fixed64,16,opt,name=OriFutureQty" json:"OriFutureQty,omitempty"` // 期初期货套期量
|
|
|
+ OriSpotExposure *float64 `protobuf:"fixed64,17,opt,name=OriSpotExposure" json:"OriSpotExposure,omitempty"` // 期初现货敞口量
|
|
|
+ OriTotalExposure *float64 `protobuf:"fixed64,18,opt,name=OriTotalExposure" json:"OriTotalExposure,omitempty"` // 期初总敞口量
|
|
|
+ OriHedgedSpotExposure *float64 `protobuf:"fixed64,19,opt,name=OriHedgedSpotExposure" json:"OriHedgedSpotExposure,omitempty"` // 期初被套期现货敞口量
|
|
|
+ OriHedgedTotalExposure *float64 `protobuf:"fixed64,20,opt,name=OriHedgedTotalExposure" json:"OriHedgedTotalExposure,omitempty"` // 期初套期敞口量
|
|
|
+ UpdateTime *Date `protobuf:"bytes,21,opt,name=UpdateTime" json:"UpdateTime,omitempty"` // 更新时间 --DATE
|
|
|
+ MiddleGoodsName *string `protobuf:"bytes,22,opt,name=MiddleGoodsName" json:"MiddleGoodsName,omitempty"` //套保品种名称
|
|
|
+ GoodsUnitID *uint32 `protobuf:"varint,23,opt,name=GoodsUnitID" json:"GoodsUnitID,omitempty"` //单位ID
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) Reset() {
|
|
|
+ *x = Ermcp2AreaExposure{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[12]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*Ermcp2AreaExposure) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_mtp2_proto_msgTypes[12]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use Ermcp2AreaExposure.ProtoReflect.Descriptor instead.
|
|
|
+func (*Ermcp2AreaExposure) Descriptor() ([]byte, []int) {
|
|
|
+ return file_mtp2_proto_rawDescGZIP(), []int{12}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetMiddleGoodsID() uint64 {
|
|
|
+ if x != nil && x.MiddleGoodsID != nil {
|
|
|
+ return *x.MiddleGoodsID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetAreaUserID() uint64 {
|
|
|
+ if x != nil && x.AreaUserID != nil {
|
|
|
+ return *x.AreaUserID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetSpotQty() float64 {
|
|
|
+ if x != nil && x.SpotQty != nil {
|
|
|
+ return *x.SpotQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetHedgeSpotQty() float64 {
|
|
|
+ if x != nil && x.HedgeSpotQty != nil {
|
|
|
+ return *x.HedgeSpotQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetHedgePlanQty() float64 {
|
|
|
+ if x != nil && x.HedgePlanQty != nil {
|
|
|
+ return *x.HedgePlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetFutureQty() float64 {
|
|
|
+ if x != nil && x.FutureQty != nil {
|
|
|
+ return *x.FutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetSpotExposure() float64 {
|
|
|
+ if x != nil && x.SpotExposure != nil {
|
|
|
+ return *x.SpotExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetTotalExposure() float64 {
|
|
|
+ if x != nil && x.TotalExposure != nil {
|
|
|
+ return *x.TotalExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetSpRatio() float64 {
|
|
|
+ if x != nil && x.SpRatio != nil {
|
|
|
+ return *x.SpRatio
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetHedgedSpotExposure() float64 {
|
|
|
+ if x != nil && x.HedgedSpotExposure != nil {
|
|
|
+ return *x.HedgedSpotExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetHedgedTotalExposure() float64 {
|
|
|
+ if x != nil && x.HedgedTotalExposure != nil {
|
|
|
+ return *x.HedgedTotalExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetHedgedSpRatio() float64 {
|
|
|
+ if x != nil && x.HedgedSpRatio != nil {
|
|
|
+ return *x.HedgedSpRatio
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriSpotQty() float64 {
|
|
|
+ if x != nil && x.OriSpotQty != nil {
|
|
|
+ return *x.OriSpotQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriHedgeSpotQty() float64 {
|
|
|
+ if x != nil && x.OriHedgeSpotQty != nil {
|
|
|
+ return *x.OriHedgeSpotQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriHedgePlanQty() float64 {
|
|
|
+ if x != nil && x.OriHedgePlanQty != nil {
|
|
|
+ return *x.OriHedgePlanQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriFutureQty() float64 {
|
|
|
+ if x != nil && x.OriFutureQty != nil {
|
|
|
+ return *x.OriFutureQty
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriSpotExposure() float64 {
|
|
|
+ if x != nil && x.OriSpotExposure != nil {
|
|
|
+ return *x.OriSpotExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriTotalExposure() float64 {
|
|
|
+ if x != nil && x.OriTotalExposure != nil {
|
|
|
+ return *x.OriTotalExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriHedgedSpotExposure() float64 {
|
|
|
+ if x != nil && x.OriHedgedSpotExposure != nil {
|
|
|
+ return *x.OriHedgedSpotExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetOriHedgedTotalExposure() float64 {
|
|
|
+ if x != nil && x.OriHedgedTotalExposure != nil {
|
|
|
+ return *x.OriHedgedTotalExposure
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetUpdateTime() *Date {
|
|
|
+ if x != nil {
|
|
|
+ return x.UpdateTime
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetMiddleGoodsName() string {
|
|
|
+ if x != nil && x.MiddleGoodsName != nil {
|
|
|
+ return *x.MiddleGoodsName
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Ermcp2AreaExposure) GetGoodsUnitID() uint32 {
|
|
|
+ if x != nil && x.GoodsUnitID != nil {
|
|
|
+ return *x.GoodsUnitID
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
var File_mtp2_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_mtp2_proto_rawDesc = []byte{
|
|
|
@@ -2223,7 +2448,65 @@ var file_mtp2_proto_rawDesc = []byte{
|
|
|
0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x2e, 0x45,
|
|
|
0x72, 0x6d, 0x63, 0x70, 0x32, 0x48, 0x49, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f,
|
|
|
0x64, 0x73, 0x45, 0x78, 0x74, 0x52, 0x10, 0x68, 0x69, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x67,
|
|
|
- 0x6f, 0x6f, 0x64, 0x73, 0x65, 0x78, 0x74,
|
|
|
+ 0x6f, 0x6f, 0x64, 0x73, 0x65, 0x78, 0x74, 0x22, 0x98, 0x07, 0x0a, 0x12, 0x45, 0x72, 0x6d, 0x63,
|
|
|
+ 0x70, 0x32, 0x41, 0x72, 0x65, 0x61, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24,
|
|
|
+ 0x0a, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x49, 0x44, 0x18,
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f,
|
|
|
+ 0x64, 0x73, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73, 0x65, 0x72,
|
|
|
+ 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18,
|
|
|
+ 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x22,
|
|
|
+ 0x0a, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x04,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51,
|
|
|
+ 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51,
|
|
|
+ 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50,
|
|
|
+ 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x46, 0x75, 0x74, 0x75, 0x72,
|
|
|
+ 0x65, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f,
|
|
|
+ 0x73, 0x75, 0x72, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x53, 0x70, 0x6f, 0x74,
|
|
|
+ 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x54, 0x6f, 0x74, 0x61,
|
|
|
+ 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52,
|
|
|
+ 0x0d, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x18,
|
|
|
+ 0x0a, 0x07, 0x53, 0x70, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52,
|
|
|
+ 0x07, 0x53, 0x70, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x2e, 0x0a, 0x12, 0x48, 0x65, 0x64, 0x67,
|
|
|
+ 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x0a,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x12, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74,
|
|
|
+ 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x48, 0x65, 0x64, 0x67,
|
|
|
+ 0x65, 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18,
|
|
|
+ 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x13, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54, 0x6f, 0x74,
|
|
|
+ 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x48, 0x65,
|
|
|
+ 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
|
+ 0x01, 0x52, 0x0d, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x52, 0x61, 0x74, 0x69, 0x6f,
|
|
|
+ 0x12, 0x1e, 0x0a, 0x0a, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x18, 0x0d,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79,
|
|
|
+ 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74,
|
|
|
+ 0x51, 0x74, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65,
|
|
|
+ 0x64, 0x67, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72,
|
|
|
+ 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61, 0x6e, 0x51, 0x74, 0x79, 0x18, 0x0f, 0x20,
|
|
|
+ 0x01, 0x28, 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x50, 0x6c, 0x61,
|
|
|
+ 0x6e, 0x51, 0x74, 0x79, 0x12, 0x22, 0x0a, 0x0c, 0x4f, 0x72, 0x69, 0x46, 0x75, 0x74, 0x75, 0x72,
|
|
|
+ 0x65, 0x51, 0x74, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x4f, 0x72, 0x69, 0x46,
|
|
|
+ 0x75, 0x74, 0x75, 0x72, 0x65, 0x51, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x0f, 0x4f, 0x72, 0x69, 0x53,
|
|
|
+ 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28,
|
|
|
+ 0x01, 0x52, 0x0f, 0x4f, 0x72, 0x69, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75,
|
|
|
+ 0x72, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x4f, 0x72, 0x69, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78,
|
|
|
+ 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x4f, 0x72,
|
|
|
+ 0x69, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x34,
|
|
|
+ 0x0a, 0x15, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45,
|
|
|
+ 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x01, 0x52, 0x15, 0x4f,
|
|
|
+ 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x70, 0x6f,
|
|
|
+ 0x73, 0x75, 0x72, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65,
|
|
|
+ 0x64, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x18, 0x14,
|
|
|
+ 0x20, 0x01, 0x28, 0x01, 0x52, 0x16, 0x4f, 0x72, 0x69, 0x48, 0x65, 0x64, 0x67, 0x65, 0x64, 0x54,
|
|
|
+ 0x6f, 0x74, 0x61, 0x6c, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x12, 0x28, 0x0a, 0x0a,
|
|
|
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b,
|
|
|
+ 0x32, 0x08, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61,
|
|
|
+ 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65,
|
|
|
+ 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x0f, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x4e, 0x61, 0x6d, 0x65,
|
|
|
+ 0x12, 0x20, 0x0a, 0x0b, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69, 0x74, 0x49, 0x44, 0x18,
|
|
|
+ 0x17, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x55, 0x6e, 0x69, 0x74,
|
|
|
+ 0x49, 0x44,
|
|
|
}
|
|
|
|
|
|
var (
|
|
|
@@ -2238,7 +2521,7 @@ func file_mtp2_proto_rawDescGZIP() []byte {
|
|
|
return file_mtp2_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
|
|
|
+var file_mtp2_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
|
|
var file_mtp2_proto_goTypes = []interface{}{
|
|
|
(*TradeRule)(nil), // 0: pb.TradeRule
|
|
|
(*TradeRuleInfoStruct)(nil), // 1: pb.TradeRuleInfoStruct
|
|
|
@@ -2252,6 +2535,7 @@ var file_mtp2_proto_goTypes = []interface{}{
|
|
|
(*Ermcp2HIMiddleGoods)(nil), // 9: pb.Ermcp2HIMiddleGoods
|
|
|
(*Ermcp2HIMiddleGoodsExt)(nil), // 10: pb.Ermcp2HIMiddleGoodsExt
|
|
|
(*Ermcp2HedgedItemInfo)(nil), // 11: pb.Ermcp2HedgedItemInfo
|
|
|
+ (*Ermcp2AreaExposure)(nil), // 12: pb.Ermcp2AreaExposure
|
|
|
}
|
|
|
var file_mtp2_proto_depIdxs = []int32{
|
|
|
0, // 0: pb.TradeRuleInfoStruct.TradeRules:type_name -> pb.TradeRule
|
|
|
@@ -2268,11 +2552,12 @@ var file_mtp2_proto_depIdxs = []int32{
|
|
|
9, // 11: pb.Ermcp2HIMiddleGoodsExt.middlegoods:type_name -> pb.Ermcp2HIMiddleGoods
|
|
|
8, // 12: pb.Ermcp2HedgedItemInfo.hedgeditemext:type_name -> pb.Ermcp2HedgedItemExt
|
|
|
10, // 13: pb.Ermcp2HedgedItemInfo.himiddlegoodsext:type_name -> pb.Ermcp2HIMiddleGoodsExt
|
|
|
- 14, // [14:14] is the sub-list for method output_type
|
|
|
- 14, // [14:14] is the sub-list for method input_type
|
|
|
- 14, // [14:14] is the sub-list for extension type_name
|
|
|
- 14, // [14:14] is the sub-list for extension extendee
|
|
|
- 0, // [0:14] is the sub-list for field type_name
|
|
|
+ 2, // 14: pb.Ermcp2AreaExposure.UpdateTime:type_name -> pb.Date
|
|
|
+ 15, // [15:15] is the sub-list for method output_type
|
|
|
+ 15, // [15:15] is the sub-list for method input_type
|
|
|
+ 15, // [15:15] is the sub-list for extension type_name
|
|
|
+ 15, // [15:15] is the sub-list for extension extendee
|
|
|
+ 0, // [0:15] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
func init() { file_mtp2_proto_init() }
|
|
|
@@ -2425,6 +2710,18 @@ func file_mtp2_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_mtp2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Ermcp2AreaExposure); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
@@ -2432,7 +2729,7 @@ func file_mtp2_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_mtp2_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 12,
|
|
|
+ NumMessages: 13,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|