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

package entity

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

// V1CardRedeemOrderInfo is the golang structure for table v1card_redeem_order_info.
type V1CardRedeemOrderInfo struct {
	OrderNo       string      `json:"orderNo"       orm:"order_no"        description:""`
	CardNo        string      `json:"cardNo"        orm:"card_no"         description:"卡号"`
	MerchantId    string      `json:"merchantId"    orm:"merchant_id"     description:""`
	Attach        string      `json:"attach"        orm:"attach"          description:""`
	CreatedUserId string      `json:"createdUserId" orm:"created_user_id" description:"创建用户"`
	AccountId     string      `json:"accountId"     orm:"account_id"      description:""`
	AccountName   string      `json:"accountName"   orm:"account_name"    description:"账号名称"`
	GiftCardPwd   string      `json:"giftCardPwd"   orm:"gift_card_pwd"   description:"卡密"`
	CardTypeName  string      `json:"cardTypeName"  orm:"card_type_name"  description:"卡种"`
	NotifyUrl     string      `json:"notifyUrl"     orm:"notify_url"      description:"回调"`
	Remark        string      `json:"remark"        orm:"remark"          description:"备注"`
	OrderAmount   float64     `json:"orderAmount"   orm:"order_amount"    description:"订单金额"`
	ActualAmount  float64     `json:"actualAmount"  orm:"actual_amount"   description:"实际金额"`
	Category      string      `json:"category"      orm:"category"        description:"账户类型"`
	CallbackCount int         `json:"callbackCount" orm:"callback_count"  description:"回调次数"`
	NotifyStatus  int         `json:"notifyStatus"  orm:"notify_status"   description:"回调状态 0没有回调 1.回调成功 2.回调失败"`
	Status        int         `json:"status"        orm:"status"          description:"1.兑换成功 0.失败"`
	OrderStatus   int         `json:"orderStatus"   orm:"order_status"    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:""`
}
