Files
chain33-dtalk/service/backup/model/move.go
2022-03-17 15:59:24 +08:00

13 lines
515 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package model
type AddrMove struct {
BtyAddr string `json:"bty_addr" gorm:"primary_key;column:bty_addr;type:varchar(255);comment:'bty地址'"`
BtcAddr string `json:"btc_addr" gorm:"column:btc_addr;type:varchar(255);not null;comment:'btc地址'"`
State int32 `json:"state" gorm:"column:state;type:tinyint(255);comment:'0->对应关系已建立1-> 好友关系已迁移'"`
}
// TableName returns the table name of the DtalkAddrMove model
func (d *AddrMove) TableName() string {
return "dtalk_addr_move"
}