// 自动生成模板RedPackageTx
package airDrop

import (
	"courseSign/server/global"
	
)

// RedPackageTx 结构体
type RedPackageTx struct {
      global.GVA_MODEL
      Amount  *float64 `json:"amount" form:"amount" gorm:"column:amount;comment:交易金额;"`
      Hash  string `json:"hash" form:"hash" gorm:"column:hash;comment:交易hash;size:64;"`
      Block_time  *time.Time `json:"block_time" form:"block_time" gorm:"column:block_time;comment:交易时间;"`
      Height  *int `json:"height" form:"height" gorm:"column:height;comment:上链高度;size:11;"`
      CreatedBy  uint   `gorm:"column:created_by;comment:创建者"`
      UpdatedBy  uint   `gorm:"column:updated_by;comment:更新者"`
      DeletedBy  uint   `gorm:"column:deleted_by;comment:删除者"`
}


// TableName RedPackageTx 表名
func (RedPackageTx) TableName() string {
  return "red_package_tx"
}

