bindbox-game/internal/repository/mysql/model/payment_notify_events.gen.go

29 lines
1.1 KiB
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 TableNamePaymentNotifyEvents = "payment_notify_events"
// PaymentNotifyEvents mapped from table <payment_notify_events>
type PaymentNotifyEvents struct {
ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
NotifyID string `gorm:"column:notify_id;not null" json:"notify_id"`
ResourceType string `gorm:"column:resource_type" json:"resource_type"`
EventType string `gorm:"column:event_type" json:"event_type"`
Summary string `gorm:"column:summary" json:"summary"`
Raw string `gorm:"column:raw" json:"raw"`
Processed bool `gorm:"column:processed;not null" json:"processed"`
CreatedAt time.Time `gorm:"column:created_at;not null;default:CURRENT_TIMESTAMP" json:"created_at"`
}
// TableName PaymentNotifyEvents's table name
func (*PaymentNotifyEvents) TableName() string {
return TableNamePaymentNotifyEvents
}