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

package entity

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

// V1MerchantDeployInfo is the golang structure for table v1merchant_deploy_info.
type V1MerchantDeployInfo struct {
	Id                     uint            `json:"id"                     orm:"id"                        description:"主键，自增"`
	Status                 string          `json:"status"                 orm:"status"                    description:"商户状态状态"`
	MerchantUid            string          `json:"merchantUid"            orm:"merchant_uid"              description:"商户uid"`
	PayType                string          `json:"payType"                orm:"pay_type"                  description:"支付配置"`
	SingleRoadUid          string          `json:"singleRoadUid"          orm:"single_road_uid"           description:"单通道uid"`
	SingleRoadName         string          `json:"singleRoadName"         orm:"single_road_name"          description:"单通道名称"`
	SingleRoadPlatformRate string          `json:"singleRoadPlatformRate" orm:"single_road_platform_rate" description:"单通到平台净利率（关系映射）"`
	SingleRoadAgentRate    decimal.Decimal `json:"singleRoadAgentRate"    orm:"single_road_agent_rate"    description:"单通到代理净利率"`
	RollRoadCode           string          `json:"rollRoadCode"           orm:"roll_road_code"            description:"轮询通道编码"`
	RollRoadName           string          `json:"rollRoadName"           orm:"roll_road_name"            description:"轮询通道名称"`
	RollRoadPlatformRate   decimal.Decimal `json:"rollRoadPlatformRate"   orm:"roll_road_platform_rate"   description:"轮询通道平台净利率"`
	RollRoadAgentRate      decimal.Decimal `json:"rollRoadAgentRate"      orm:"roll_road_agent_rate"      description:"轮询通道代理净利率"`
	RestrictArea           string          `json:"restrictArea"           orm:"restrict_area"             description:"限制地区"`
	IsLoan                 string          `json:"isLoan"                 orm:"is_loan"                   description:"是否押款"`
	LoanRate               decimal.Decimal `json:"loanRate"               orm:"loan_rate"                 description:"押款比例，默认是0"`
	LoanDays               int             `json:"loanDays"               orm:"loan_days"                 description:"押款的天数，默认0天"`
	UnfreezeHour           int             `json:"unfreezeHour"           orm:"unfreeze_hour"             description:"每天解款的时间点，默认是凌晨"`
	WaitUnfreezeAmount     decimal.Decimal `json:"waitUnfreezeAmount"     orm:"wait_unfreeze_amount"      description:"等待解款的金额"`
	LoanAmount             decimal.Decimal `json:"loanAmount"             orm:"loan_amount"               description:"押款中的金额"`
	UpdateTime             *gtime.Time     `json:"updateTime"             orm:"update_time"               description:"更新时间"`
	CreateTime             *gtime.Time     `json:"createTime"             orm:"create_time"               description:"创建时间"`
	AutoSettle             string          `json:"autoSettle"             orm:"auto_settle"               description:""`
	AutoPayfor             string          `json:"autoPayfor"             orm:"auto_payfor"               description:""`
	IsRestrictAgent        bool            `json:"isRestrictAgent"        orm:"is_restrict_agent"         description:"是否检测代理"`
	IsRestrictCardPass     bool            `json:"isRestrictCardPass"     orm:"is_restrict_card_pass"     description:"是否限制卡密"`
	IsRestrictDevice       bool            `json:"isRestrictDevice"       orm:"is_restrict_device"        description:"是否限制设备"`
	IsRestrictIp           bool            `json:"isRestrictIp"           orm:"is_restrict_ip"            description:"是否限制IP"`
	IsRestrictInternalIp   bool            `json:"isRestrictInternalIp"   orm:"is_restrict_internal_ip"   description:"是否限制局域网IP"`
	SubmitStrategy         string          `json:"submitStrategy"         orm:"submit_strategy"           description:"订单提交策略：DIRECT-直接提交，POOL-缓存在订单池中二次提交"`
}
