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

package entity

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

// V1CamelOilOrderHistory is the golang structure for table v1camel_oil_order_history.
type V1CamelOilOrderHistory struct {
	Id          int64       `json:"id"          orm:"id"           description:"主键ID"`
	OrderNo     string      `json:"orderNo"     orm:"order_no"     description:"订单号"`
	ChangeType  string      `json:"changeType"  orm:"change_type"  description:"变更类型：create/submit/get_pay_url/check_pay/paid/timeout/fail/callback_success/callback_fail"`
	AccountId   int64       `json:"accountId"   orm:"account_id"   description:"关联账号ID"`
	AccountName string      `json:"accountName" orm:"account_name" description:"账号名称"`
	RawData     string      `json:"rawData"     orm:"raw_data"     description:"原始响应数据"`
	Remark      string      `json:"remark"      orm:"remark"       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:"删除时间（软删除）"`
}
