// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" ) const TableNameUseLog = "use_log" // UseLog mapped from table type UseLog struct { ID uint64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` OrderNo string `gorm:"column:order_no;not null" json:"order_no"` Amount int64 `gorm:"column:amount;not null;comment:核销金额" json:"amount"` Type uint8 `gorm:"column:type;not null;comment:1:核销 2:退款" json:"type"` OperateTime *time.Time `gorm:"column:operate_time;not null" json:"operate_time"` CreateTime *time.Time `gorm:"column:create_time;not null" json:"create_time"` } // TableName UseLog's table name func (*UseLog) TableName() string { return TableNameUseLog }