Eric0718 há 2 anos atrás
pai
commit
6b8ba0a9ee
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      models/tables.go

+ 2 - 2
models/tables.go

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