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

package entity

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

// V1CamelOilAccountHistory is the golang structure for table v1camel_oil_account_history.
type V1CamelOilAccountHistory struct {
	Id           int64       `json:"id"           orm:"id"            description:"主键ID"`
	AccountId    int64       `json:"accountId"    orm:"account_id"    description:"账号ID"`
	ChangeType   string      `json:"changeType"   orm:"change_type"   description:"变更类型：create/login/offline/login_fail/pause/resume/invalidate/order_bind/order_complete/update/delete"`
	StatusBefore int         `json:"statusBefore" orm:"status_before" description:"变更前状态"`
	StatusAfter  int         `json:"statusAfter"  orm:"status_after"  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:"删除时间（软删除）"`
}
