// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================

package entity

import (
	"github.com/gogf/gf/v2/os/gtime"
	"github.com/shopspring/decimal"
)

// V1JdCookieJdOrder is the golang structure for table v1jd_cookie_jd_order.
type V1JdCookieJdOrder struct {
	Id              int64           `json:"id"              orm:"id"                description:"主键ID"`
	JdOrderId       string          `json:"jdOrderId"       orm:"jd_order_id"       description:"京东订单号"`
	RealJdOrderId   string          `json:"realJdOrderId"   orm:"real_jd_order_id"  description:"京东客户端返回的真实订单ID"`
	PayId           string          `json:"payId"           orm:"pay_id"            description:"支付ID"`
	Amount          decimal.Decimal `json:"amount"          orm:"amount"            description:"订单金额"`
	Category        string          `json:"category"        orm:"category"          description:"商品品类"`
	CookieId        string          `json:"cookieId"        orm:"cookie_id"         description:"使用的Cookie ID"`
	Status          int             `json:"status"          orm:"status"            description:"状态：1待支付 2已支付 3已过期 4已取消"`
	WxPayUrl        string          `json:"wxPayUrl"        orm:"wx_pay_url"        description:"微信支付链接"`
	WxPayExpireAt   *gtime.Time     `json:"wxPayExpireAt"   orm:"wx_pay_expire_at"  description:"微信支付链接过期时间"`
	OrderExpireAt   *gtime.Time     `json:"orderExpireAt"   orm:"order_expire_at"   description:"订单过期时间(默认24小时)"`
	OrderId         string          `json:"orderId"         orm:"order_id"          description:"关联的用户订单号"`
	PaidAt          *gtime.Time     `json:"paidAt"          orm:"paid_at"           description:"支付完成时间"`
	CardNo          string          `json:"cardNo"          orm:"card_no"           description:"卡号"`
	CardPassword    string          `json:"cardPassword"    orm:"card_password"     description:"卡密"`
	CardExtractedAt *gtime.Time     `json:"cardExtractedAt" orm:"card_extracted_at" description:"卡密提取时间"`
	CreatedAt       *gtime.Time     `json:"createdAt"       orm:"created_at"        description:"创建时间"`
	UpdatedAt       *gtime.Time     `json:"updatedAt"       orm:"updated_at"        description:"更新时间"`
	DeletedAt       *gtime.Time     `json:"deletedAt"       orm:"deleted_at"        description:"删除时间"`
}
