// =================================================================================
// 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"
)

// V1RoadInfo is the golang structure for table v1road_info.
type V1RoadInfo struct {
	Id                     uint            `json:"id"                     orm:"id"                        description:"主键，自增"`
	Status                 string          `json:"status"                 orm:"status"                    description:""`
	RoadName               string          `json:"roadName"               orm:"road_name"                 description:"通道名称"`
	RoadUid                string          `json:"roadUid"                orm:"road_uid"                  description:"通道唯一id"`
	Remark                 string          `json:"remark"                 orm:"remark"                    description:"备注"`
	ProductName            string          `json:"productName"            orm:"product_name"              description:"上游产品名称"`
	ProductUid             string          `json:"productUid"             orm:"product_uid"               description:"上游产品编号"`
	PayType                string          `json:"payType"                orm:"pay_type"                  description:"支付类型"`
	BasicFee               float64         `json:"basicFee"               orm:"basic_fee"                 description:"基本汇率/成本汇率"`
	SettleFee              float64         `json:"settleFee"              orm:"settle_fee"                description:"代付手续费"`
	TotalLimit             float64         `json:"totalLimit"             orm:"total_limit"               description:"通道总额度"`
	TodayLimit             float64         `json:"todayLimit"             orm:"today_limit"               description:"每日最多额度"`
	SingleMinLimit         float64         `json:"singleMinLimit"         orm:"single_min_limit"          description:"单笔最小金额"`
	SingleMaxLimit         float64         `json:"singleMaxLimit"         orm:"single_max_limit"          description:"单笔最大金额"`
	StarHour               int             `json:"starHour"               orm:"star_hour"                 description:"通道开始时间"`
	EndHour                int             `json:"endHour"                orm:"end_hour"                  description:"通道结束时间"`
	Params                 string          `json:"params"                 orm:"params"                    description:"参数json格式"`
	TodayIncome            decimal.Decimal `json:"todayIncome"            orm:"today_income"              description:"当天的收入"`
	TotalIncome            decimal.Decimal `json:"totalIncome"            orm:"total_income"              description:"通道总收入"`
	TodayProfit            decimal.Decimal `json:"todayProfit"            orm:"today_profit"              description:"当天的收益"`
	TotalProfit            decimal.Decimal `json:"totalProfit"            orm:"total_profit"              description:"通道总收益"`
	Balance                decimal.Decimal `json:"balance"                orm:"balance"                   description:"通道的余额"`
	RequestAll             int             `json:"requestAll"             orm:"request_all"               description:"请求总次数"`
	RequestSuccess         int             `json:"requestSuccess"         orm:"request_success"           description:"请求成功次数"`
	UpdateTime             *gtime.Time     `json:"updateTime"             orm:"update_time"               description:"更新时间"`
	CreateTime             *gtime.Time     `json:"createTime"             orm:"create_time"               description:"创建时间"`
	TodayRequestAll        int             `json:"todayRequestAll"        orm:"today_request_all"         description:""`
	TodayRequestSuccess    int             `json:"todayRequestSuccess"    orm:"today_request_success"     description:""`
	ProductCode            string          `json:"productCode"            orm:"product_code"              description:"产品编码"`
	PaymentHtml            string          `json:"paymentHtml"            orm:"payment_html"              description:"支付页面模板，需要与前段对齐）"`
	TransactionType        string          `json:"transactionType"        orm:"transaction_type"          description:""`
	IsAllowDifferentResend int             `json:"isAllowDifferentResend" orm:"is_allow_different_resend" description:""`
	IsRepeatSubmit         int             `json:"isRepeatSubmit"         orm:"is_repeat_submit"          description:"是否允许重复提交"`
}
