Files
kami_scripts/order/model/order_settle_info.gen.go

36 lines
3.2 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
// Code generated by gorm.io/gen. DO NOT EDIT.
package model
import (
"time"
)
const TableNameOrderSettleInfo = "order_settle_info"
// OrderSettleInfo 订单结算表
type OrderSettleInfo struct {
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
PayProductCode string `gorm:"column:pay_product_code;not null;comment:支付产品编码" json:"pay_product_code"` // 支付产品编码
PayProductName string `gorm:"column:pay_product_name;not null;comment:支付产品名称" json:"pay_product_name"` // 支付产品名称
PayTypeCode string `gorm:"column:pay_type_code;not null;comment:支付类型编码" json:"pay_type_code"` // 支付类型编码
PayTypeName string `gorm:"column:pay_type_name;not null;comment:支付类型名称" json:"pay_type_name"` // 支付类型名称
MerchantUID string `gorm:"column:merchant_uid;not null;comment:商户uid表示订单是哪个商户的" json:"merchant_uid"` // 商户uid表示订单是哪个商户的
RoadUID string `gorm:"column:road_uid;not null;comment:通道uid" json:"road_uid"` // 通道uid
MerchantName string `gorm:"column:merchant_name;not null;comment:商户名称" json:"merchant_name"` // 商户名称
MerchantOrderID string `gorm:"column:merchant_order_id;not null;comment:下游商户提交过来的订单id" json:"merchant_order_id"` // 下游商户提交过来的订单id
BankOrderID string `gorm:"column:bank_order_id;not null;comment:平台自身的订单id" json:"bank_order_id"` // 平台自身的订单id
SettleAmount float64 `gorm:"column:settle_amount;not null;default:0.000;comment:结算金额" json:"settle_amount"` // 结算金额
IsAllowSettle string `gorm:"column:is_allow_settle;not null;default:yes;comment:是否允许结算,允许-yes不允许-no" json:"is_allow_settle"` // 是否允许结算,允许-yes不允许-no
IsCompleteSettle string `gorm:"column:is_complete_settle;not null;default:no;comment:该笔订单是否结算完毕,没有结算-no结算完毕-yes" json:"is_complete_settle"` // 该笔订单是否结算完毕,没有结算-no结算完毕-yes
UpdateTime time.Time `gorm:"column:update_time;not null;default:CURRENT_TIMESTAMP;comment:更新时间" json:"update_time"` // 更新时间
CreateTime time.Time `gorm:"column:create_time;comment:创建时间" json:"create_time"` // 创建时间
}
// TableName OrderSettleInfo's table name
func (*OrderSettleInfo) TableName() string {
return TableNameOrderSettleInfo
}