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

package entity

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

// V1CamelOilAccount is the golang structure for table v1camel_oil_account.
type V1CamelOilAccount struct {
	Id              int64       `json:"id"              orm:"id"                description:"主键ID"`
	AccountName     string      `json:"accountName"     orm:"account_name"      description:"账号名称（备注）"`
	Phone           string      `json:"phone"           orm:"phone"             description:"手机号（登录后记录，不可重复）"`
	Token           string      `json:"token"           orm:"token"             description:"登录Token"`
	Status          int         `json:"status"          orm:"status"            description:"状态：1待登录 2在线 3暂停 4已失效 5登录失败"`
	TokenExpireAt   *gtime.Time `json:"tokenExpireAt"   orm:"token_expire_at"   description:"Token过期时间"`
	LastLoginAt     *gtime.Time `json:"lastLoginAt"     orm:"last_login_at"     description:"最后登录时间"`
	LastUsedAt      *gtime.Time `json:"lastUsedAt"      orm:"last_used_at"      description:"最后使用时间"`
	DailyOrderCount int         `json:"dailyOrderCount" orm:"daily_order_count" description:"当日已下单数量"`
	DailyOrderDate  *gtime.Time `json:"dailyOrderDate"  orm:"daily_order_date"  description:"当日订单日期"`
	TotalOrderCount int         `json:"totalOrderCount" orm:"total_order_count" description:"累计下单数量"`
	FailureReason   string      `json:"failureReason"   orm:"failure_reason"    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:"删除时间（软删除）"`
}
