feat: add Go backend
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// PaymentChannel is the golang structure for table payment_channel.
|
||||
type PaymentChannel struct {
|
||||
Id uint64 `json:"id" orm:"id" description:"主键"`
|
||||
TenantId uint64 `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
ChannelCode string `json:"channelCode" orm:"channel_code" description:"渠道编码"`
|
||||
Name string `json:"name" orm:"name" description:"渠道名称"`
|
||||
ChannelType int `json:"channelType" orm:"channel_type" description:"渠道类型"`
|
||||
Direction int `json:"direction" orm:"direction" description:"支持方向"`
|
||||
ConfigCipher string `json:"configCipher" orm:"config_cipher" description:"渠道配置密文"`
|
||||
MinAmount int64 `json:"minAmount" orm:"min_amount" description:"最小金额(分)"`
|
||||
MaxAmount int64 `json:"maxAmount" orm:"max_amount" description:"最大金额(分)"`
|
||||
FeeType int `json:"feeType" orm:"fee_type" description:"手续费类型"`
|
||||
FeeFixedAmount int64 `json:"feeFixedAmount" orm:"fee_fixed_amount" description:"固定手续费(分)"`
|
||||
FeeRate uint `json:"feeRate" orm:"fee_rate" description:"费率(万分比)"`
|
||||
Status int `json:"status" orm:"status" description:"状态"`
|
||||
Sort int `json:"sort" orm:"sort" description:"排序"`
|
||||
CreatedBy uint64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
UpdatedBy uint64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
DeletedBy uint64 `json:"deletedBy" orm:"deleted_by" 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:"删除时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user