123456789101112131415161718192021 |
- package shanghu
- import (
- "time"
- )
- type MerchantClientAccount struct {
- ID int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"` // 主键
- ClientOpenID int `gorm:"column:client_open_id;type:int(11)" json:"client_open_id"`
- ReviewAmount string `gorm:"column:review_amount;type:decimal(10,2)" json:"review_amount"` // 审核金额
- Amount string `gorm:"column:amount;type:decimal(10,2)" json:"amount"` // 可提现金额
- CreateBy int64 `gorm:"column:create_by;type:bigint(20)" json:"create_by"` // 创建者
- UpdateBy int64 `gorm:"column:update_by;type:bigint(20)" json:"update_by"` // 更新者
- CreatedAt time.Time `gorm:"column:created_at;type:datetime(3)" json:"created_at"` // 创建时间
- UpdatedAt time.Time `gorm:"column:updated_at;type:datetime(3)" json:"updated_at"` // 最后更新时间
- DeletedAt time.Time `gorm:"column:deleted_at;type:datetime(3)" json:"deleted_at"` // 删除时间
- }
- func (m *MerchantClientAccount) TableName() string {
- return "merchant_client_account"
- }
|