Eric0718 2 năm trước cách đây
mục cha
commit
6b8ba0a9ee
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      models/tables.go

+ 2 - 2
models/tables.go

@@ -40,12 +40,12 @@ type Performance struct {
 }
 }
 
 
 type BlockInfo struct {
 type BlockInfo struct {
-	Id          int64
+	Id          int64 //主键
 	BlockNumber int64
 	BlockNumber int64
 }
 }
 
 
 type RewardsPool struct {
 type RewardsPool struct {
-	Id              int64
+	Id              int64   //主键
 	TeamPerformance float64 `xorm:"Decimal"`
 	TeamPerformance float64 `xorm:"Decimal"`
 	TeamCultivate   float64 `xorm:"Decimal"`
 	TeamCultivate   float64 `xorm:"Decimal"`
 	TotalPool       float64 `xorm:"Decimal"`
 	TotalPool       float64 `xorm:"Decimal"`