互动
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.

16 lines
694 B

package models
import (
"time"
)
//用户得钱包流水
type UserWalletHistory struct {
Id int64 `json:"id" xorm:"pk autoincr INT(11)"`
UserId int64 `json:"user_id" xorm:"not null comment('用户id') INT(11)"`
Amount float64 `json:"amount" xorm:"not null comment('金额, 分正负') DECIMAL"`
Mark string `json:"mark" xorm:"not null comment('备注') VARCHAR(125)"`
IsDelete bool `json:"is_delete" xorm:"default(0) comment('软删除') TINYINT(1)"`
CreatedAt time.Time `json:"created_at" xorm:"not null created comment('创建时间') DATETIME"`
UpdatedAt time.Time `json:"updated_at" xorm:"not null updated comment('更新时间') DATETIME"`
}