1234567891011121314151617181920 |
- package shanghu
- import (
- "time"
- )
- type MerchantClientTrans struct {
- ID int `gorm:"column:id;type:int(11);primary_key;AUTO_INCREMENT" json:"id"`
- Type int `gorm:"column:type;type:int(11)" json:"type"`
- MerchantCardID int64 `gorm:"column:merchant_card_id;type:bigint(20)" json:"merchant_card_id"`
- Amount string `gorm:"column:amount;type:decimal(10,2)" json:"amount"`
- TransID string `gorm:"column:trans_id;type:varchar(255)" json:"trans_id"`
- ClientOpenID string `gorm:"column:client_open_id;type:varchar(255)" json:"client_open_id"`
- 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);default:null" json:"deleted_at"`
- }
|