// 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 TableNameWxpayOrder = "wxpay_order"

// WxpayOrder mapped from table <wxpay_order>
type WxpayOrder struct {
	ID         int64     `gorm:"column:id;type:bigint(20);primaryKey;autoIncrement:true" json:"id"`
	Playerid   int64     `gorm:"column:playerid;type:bigint(20);index:IDX_wxpay_order_playerid,priority:1" json:"playerid"`
	Platform   int32     `gorm:"column:platform;type:int(11)" json:"platform"`
	GoodsID    int32     `gorm:"column:goodsId;type:int(11)" json:"goodsId"`
	OrderID    string    `gorm:"column:orderId;type:varchar(255)" json:"orderId"`
	State      int32     `gorm:"column:state;type:int(11)" json:"state"`
	CreateTime time.Time `gorm:"column:create_time;type:datetime" json:"create_time"`
	Method     int32     `gorm:"column:method;type:int(11)" json:"method"`
	Price      int64     `gorm:"column:price;type:bigint(20)" json:"price"`
}

// TableName WxpayOrder's table name
func (*WxpayOrder) TableName() string {
	return TableNameWxpayOrder
}
