package model import "github.com/gogf/gf/v2/os/gtime" type TSimCardRenewBatchPrepareParam struct { SourceBatchNo string `json:"sourceBatchNo" v:"required#来源批次号不能为空" dc:"来源出库批次号"` } type TSimCardRenewBatchPrepareAllParam struct { SourceBatchNo string `json:"sourceBatchNo" v:"required#来源批次号不能为空" dc:"来源出库批次号"` } type TSimCardRenewInputPrepareParam struct { Input string `json:"input" v:"required#批量输入内容不能为空" dc:"批量输入ICCID"` } type TSimCardRenewExcelSubmitParam struct{} type TSimCardRenewExcelSubmitRes struct { BatchNo string `json:"batchNo" dc:"batch no"` BatchType int `json:"batchType" dc:"batch type"` TargetBatchType int `json:"targetBatchType" dc:"target batch type"` Status string `json:"status" dc:"batch status"` BatchAsyncStatus int `json:"batchAsyncStatus" dc:"batch async status"` RunResult int `json:"runResult" dc:"run result"` Total int `json:"total" dc:"total rows"` ResultDownloadId int64 `json:"resultDownloadId" dc:"result download id"` ResultFileOssId int64 `json:"resultFileOssId" dc:"result file oss id"` FailReason string `json:"failReason" dc:"fail reason"` } type TSimCardRenewBatchPrepareRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"批次类型"` TargetBatchType int `json:"targetBatchType" dc:"目标批次类型"` Status string `json:"status" dc:"批处理状态"` BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态"` RunResult int `json:"runResult" dc:"运行结果"` Total int `json:"total" dc:"提交总数"` ValidCount int `json:"validCount" dc:"校验通过数量"` FailCount int `json:"failCount" dc:"失败数量"` CustomerAgentId int64 `json:"customerAgentId" dc:"客户代理ID"` PackageCode string `json:"packageCode" dc:"套餐编码"` PackageName string `json:"packageName" dc:"套餐名称"` Quantity int `json:"quantity" dc:"续费数量"` PriceSource string `json:"priceSource" dc:"价格来源"` AgentDefaultPriceId int64 `json:"agentDefaultPriceId" dc:"代理默认价格ID"` TargetPriceId int64 `json:"targetPriceId" dc:"目标价格ID"` RenewUnitPrice float64 `json:"renewUnitPrice" dc:"续费单价"` RenewableDurationOptions []int `json:"renewableDurationOptions" dc:"可续费时长"` ResultDownloadId int64 `json:"resultDownloadId" dc:"结果下载任务ID"` ResultFileOssId int64 `json:"resultFileOssId" dc:"结果文件OSS ID"` } type TSimCardRenewBatchConfirmParam struct { BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"预处理批次号"` DurationMonths int `json:"durationMonths" v:"required|min:1#续费时长不能为空|续费时长必须大于0" dc:"续费购买时长(月)"` GiftDurationMonths int `json:"giftDurationMonths" v:"min:0#赠送时长不能小于0" dc:"赠送时长(月)"` OfflineContractCompleted bool `json:"offlineContractCompleted" v:"required#请确认线下业务已完成" dc:"线下合同/销售/走账已完成"` RenewDate string `json:"renewDate" dc:"续费办理日期"` BuyerNote string `json:"buyerNote" dc:"买家备注"` AdminNote string `json:"adminNote" dc:"后台备注"` Remark string `json:"remark" dc:"续费批次备注"` } type TSimCardRenewBatchConfirmRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"批次类型"` BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态"` SourceBatchNo string `json:"sourceBatchNo" dc:"来源批次号"` DurationMonths int `json:"durationMonths" dc:"续费购买时长(月)"` GiftDurationMonths int `json:"giftDurationMonths" dc:"赠送时长(月)"` Status string `json:"status" dc:"批处理状态"` } type TSimCardRenewPriceSnapshot struct { CustomerAgentId int64 `json:"customerAgentId"` PackageCode string `json:"packageCode"` PackageName string `json:"packageName"` PriceSource string `json:"priceSource"` AgentDefaultPriceId int64 `json:"agentDefaultPriceId"` TargetPriceId int64 `json:"targetPriceId"` RenewUnitPrice float64 `json:"renewUnitPrice"` RenewableDurationOptions []int `json:"renewableDurationOptions"` } type TSimCardRenewBatchSubmitParam struct { SourceBatchNo string `json:"sourceBatchNo" dc:"来源出库批次号"` DurationMonths int `json:"durationMonths" v:"required|min:1#续费时长不能为空|续费时长必须大于0" dc:"续费购买时长(月)"` GiftDurationMonths int `json:"giftDurationMonths" v:"min:0#赠送时长不能小于0" dc:"赠送时长(月)"` Amount string `json:"amount" dc:"订单金额"` OfflineContractCompleted bool `json:"offlineContractCompleted" v:"required#请确认线下业务已完成" dc:"线下合同/销售/走账已完成"` BuyerNote string `json:"buyerNote" dc:"买家备注"` AdminNote string `json:"adminNote" dc:"后台备注"` Remark string `json:"remark" dc:"续费批次备注"` } type TSimCardRenewPrepareResultRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"当前批次类型"` TargetBatchType int `json:"targetBatchType" dc:"目标批次类型"` Status string `json:"status" dc:"处理状态: pending/processing/success/failed/partial_success"` BatchAsyncStatus int `json:"batchAsyncStatus" dc:"异步处理状态"` RunResult int `json:"runResult" dc:"运行结果"` Total int `json:"total" dc:"提交总数"` SuccessCount int `json:"successCount" dc:"成功数量"` FailCount int `json:"failCount" dc:"失败数量"` FailReason string `json:"failReason" dc:"失败原因"` StartTime *gtime.Time `json:"startTime" dc:"开始时间"` EndTime *gtime.Time `json:"endTime" dc:"结束时间"` CustomerAgentId int64 `json:"customerAgentId" dc:"客户代理ID"` CustomerName string `json:"customerName" dc:"客户名称"` PackageCode string `json:"packageCode" dc:"套餐编码"` PackageName string `json:"packageName" dc:"套餐名称"` OldPackageCode string `json:"oldPackageCode" dc:"原套餐编码"` OldPackageName string `json:"oldPackageName" dc:"原套餐名称"` OldPackageType int `json:"oldPackageType" dc:"原套餐类型"` OldPackageFlowMb float64 `json:"oldPackageFlowMb" dc:"原套餐流量"` Quantity int `json:"quantity" dc:"数量"` PriceSource string `json:"priceSource" dc:"价格来源"` AgentDefaultPriceId int64 `json:"agentDefaultPriceId" dc:"代理默认价格ID"` TargetPriceId int64 `json:"targetPriceId" dc:"目标价格ID"` RenewUnitPrice float64 `json:"renewUnitPrice" dc:"续费单价"` ChangeUnitPrice float64 `json:"changeUnitPrice" dc:"变更单价"` RenewableDurationOptions []int `json:"renewableDurationOptions" dc:"可续费时长"` Snapshot any `json:"snapshot" dc:"批次完整快照"` }