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

package entity

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

// V1JdCookieChangeHistory is the golang structure for table v1jd_cookie_change_history.
type V1JdCookieChangeHistory struct {
	Id           int64       `json:"id"           orm:"id"            description:"主键ID"`
	HistoryUuid  string      `json:"historyUuid"  orm:"history_uuid"  description:"历史记录唯一标识"`
	CookieId     string      `json:"cookieId"     orm:"cookie_id"     description:"Cookie ID"`
	ChangeType   string      `json:"changeType"   orm:"change_type"   description:"变更类型：create,suspend,resume,fail,use,refresh_fail,replaced"`
	StatusBefore int         `json:"statusBefore" orm:"status_before" description:"变更前状态"`
	StatusAfter  int         `json:"statusAfter"  orm:"status_after"  description:"变更后状态"`
	OrderId      string      `json:"orderId"      orm:"order_id"      description:"关联的订单号"`
	UserOrderId  string      `json:"userOrderId"  orm:"user_order_id" description:"用户订单号"`
	FailureCount int         `json:"failureCount" orm:"failure_count" 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:"删除时间"`
}
