You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
741 B
19 lines
741 B
package user
|
|
|
|
import "github.com/golangkit/formatime"
|
|
|
|
type WalletCoinList struct {
|
|
ID uint `gorm:"column:id;primary_key" json:"id,omitempty"`
|
|
UserID uint `gorm:"column:user_id" json:"-"`
|
|
Number int64 `gorm:"column:number" json:"number"`
|
|
Title string `gorm:"column:title" json:"title"`
|
|
Comment string `gorm:"column:comment" json:"comment"`
|
|
OrderID uint `gorm:"column:order_id" json:"orderId"`
|
|
OrderGoodsId uint `gorm:"column:order_goods_id" json:"-"`
|
|
CreatedAt formatime.Second `gorm:"column:created_at" json:"createdAt"`
|
|
}
|
|
|
|
func (r *WalletCoinList) TableName() string {
|
|
return "recook_user_wallet_coin_list"
|
|
}
|