// 自动生成模板PoolAddrTxs
package entrustPool

import (
      "time"

      "courseSign/server/global"
)

// PoolAddrTxs 结构体
type PoolAddrTxs struct {
      global.GVA_MODEL
      Height  *int32 `json:"height" form:"height" gorm:"column:height;comment:;"`
      Hash  string `json:"hash" form:"hash" gorm:"column:hash;comment:;size:72;"`
      MinerAddr  string `json:"minerAddr" form:"minerAddr" gorm:"column:miner_addr;comment:;size:48;"`
      ReturnAddr  string `json:"returnAddr" form:"returnAddr" gorm:"column:return_addr;comment:;size:48;"`
      Blocktime  *int32 `json:"blocktime" form:"blocktime" gorm:"column:blocktime;comment:;default:0;"`
      BlockDate  *time.Time `json:"blockDate" form:"blockDate" gorm:"column:block_date;comment:;"`
      Amount  *int32 `json:"amount" form:"amount" gorm:"column:amount;comment:;default:0;"`
      Name  string `json:"name" form:"name" gorm:"column:name;comment:;size:72;"`
}


// TableName PoolAddrTxs 表名
func (PoolAddrTxs) TableName() string {
  return "pool_addr_txs"
}

