// 自动生成模板Users
package user

import (
	"time"

	"courseSign/server/global"
)

// Users 结构体
type Users struct {
      global.GVA_MODEL
      Address  string `json:"address" form:"address" gorm:"column:address;comment:;size:72;unique;"`
      AddressType  *int `json:"addressType" form:"addressType" gorm:"column:address_type;comment:0 bty 1 eth;size:10;"`
      IsBlack  *bool `json:"isBlack" form:"isBlack" gorm:"column:is_black;comment:0 白名单 1 黑名单;"`
      CreateTime  *time.Time `json:"createTime" form:"createTime" gorm:"column:create_time;comment:;"`
}


// TableName Users 表名
func (Users) TableName() string {
  return "users"
}

const (
	ADDRESSTYPEBTY = iota
	ADDRESSTYPEETH
)
