// 自动生成模板PoolAddrFeeHistory
package entrustPool

import (
	"time"

	"courseSign/server/global"
)

// PoolAddrFeeHistory 结构体
type PoolAddrFeeHistory struct {
      global.GVA_MODEL
      Addr  string `json:"addr" form:"addr" gorm:"column:addr;comment:;size:72;"`
	  Hash  string `json:"hash" form:"hash" gorm:"column:hash;comment:;size:72;unique;"`
      ExitTime  *int32 `json:"exitTime" form:"exitTime" gorm:"column:exit_time;comment:;"`
      Reward  *int32 `json:"reward" form:"reward" gorm:"column:reward;comment:;"`
      Fee  *int32 `json:"fee" form:"fee" gorm:"column:fee;comment:;"`
      ExitDate  *time.Time `json:"exitDate" form:"exitDate" gorm:"column:exit_date;comment:;"`
}


// TableName PoolAddrFeeHistory 表名
func (PoolAddrFeeHistory) TableName() string {
  return "pool_addr_fee_history"
}