28 lines
973 B
Go
Executable File
28 lines
973 B
Go
Executable File
// 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 TableNamePaymentBillDiff = "payment_bill_diff"
|
|
|
|
// PaymentBillDiff mapped from table <payment_bill_diff>
|
|
type PaymentBillDiff struct {
|
|
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
|
|
BillDate time.Time `gorm:"column:bill_date;not null" json:"bill_date"`
|
|
DiffType string `gorm:"column:diff_type;not null" json:"diff_type"`
|
|
LocalTxID string `gorm:"column:local_tx_id" json:"local_tx_id"`
|
|
WechatTxID string `gorm:"column:wechat_tx_id" json:"wechat_tx_id"`
|
|
Detail string `gorm:"column:detail" json:"detail"`
|
|
CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP" json:"created_at"`
|
|
}
|
|
|
|
// TableName PaymentBillDiff's table name
|
|
func (*PaymentBillDiff) TableName() string {
|
|
return TableNamePaymentBillDiff
|
|
}
|