package model import ( "git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/request" "github.com/gogf/gf/v2/os/gtime" ) type TSimCardOutboundSubmitParam struct { CustomerAgentId int64 `json:"customerAgentId" v:"required|min:1#客户不能为空|客户不能为空" dc:"客户/机构ID"` PackageCode string `json:"packageCode" v:"required#套餐不能为空" dc:"套餐编码"` PackageBeginTime *gtime.Time `json:"packageBeginTime" v:"required#套餐开始时间不能为空" 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:"后台备注"` } type TSimCardOutboundExcelSubmitParam struct { } type TSimCardOutboundRangeSubmitParam struct { TSimCardOutboundSubmitParam StartIccid string `json:"startIccid" v:"required#起始ICCID不能为空" dc:"起始ICCID卡号"` EndIccid string `json:"endIccid" v:"required#结束ICCID不能为空" dc:"结束ICCID卡号"` StartMsisdn string `json:"startMsisdn" v:"required#起始MSISDN不能为空" dc:"起始MSISDN号码"` EndMsisdn string `json:"endMsisdn" v:"required#结束MSISDN不能为空" dc:"结束MSISDN号码"` StartImsi string `json:"startImsi" v:"required#起始IMSI不能为空" dc:"起始IMSI号码"` EndImsi string `json:"endImsi" v:"required#结束IMSI不能为空" dc:"结束IMSI号码"` } type TSimCardOutboundInputSubmitParam struct { TSimCardOutboundSubmitParam Input string `json:"input" v:"required#批量输入内容不能为空" dc:"批量输入ICCID文本"` } type TSimCardOutboundInboundBatchListParam struct { request.PageInfo BatchNo string `json:"batchNo" form:"batchNo" dc:"入库批次号"` } type TSimCardOutboundInboundBatchListItem struct { BatchNo string `json:"batchNo" orm:"batch_no" dc:"入库批次号"` StockCount int `json:"stockCount" orm:"stock_count" dc:"当前库存卡数量"` FirstCreatedAt *gtime.Time `json:"firstCreatedAt" orm:"first_created_at" dc:"最早库存创建时间"` LastCreatedAt *gtime.Time `json:"lastCreatedAt" orm:"last_created_at" dc:"最近库存创建时间"` } type TSimCardOutboundInboundBatchListRes struct { Items []*TSimCardOutboundInboundBatchListItem `json:"items" dc:"数据列表"` Total int `json:"total" dc:"总数量"` } type TSimCardOutboundInboundBatchCardsParam struct { request.PageInfo BatchNo string `json:"batchNo" form:"batchNo" v:"required#批次号不能为空" dc:"入库批次号"` Iccid string `json:"iccid" form:"iccid" dc:"ICCID卡号"` Msisdn string `json:"msisdn" form:"msisdn" dc:"MSISDN号码"` Imsi string `json:"imsi" form:"imsi" dc:"IMSI号码"` } type TSimCardOutboundInboundBatchCardItem struct { Iccid string `json:"iccid" orm:"iccid" dc:"ICCID卡号"` Msisdn string `json:"msisdn" orm:"msisdn" dc:"MSISDN号码"` Imsi string `json:"imsi" orm:"imsi" dc:"IMSI号码"` Imei string `json:"imei" orm:"imei" dc:"IMEI号码"` ChanKey string `json:"chanKey" orm:"chan_key" dc:"通道标识"` BatchNo string `json:"batchNo" orm:"batch_no" dc:"入库批次号"` CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" dc:"创建时间"` } type TSimCardOutboundInboundBatchCardsRes struct { Items []*TSimCardOutboundInboundBatchCardItem `json:"items" dc:"数据列表"` Total int `json:"total" dc:"总数量"` } type TSimCardOutboundBatchSubmitParam struct { TSimCardOutboundSubmitParam BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"入库批次号"` } type TSimCardOutboundSubmitRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"批次类型"` OrderSn string `json:"orderSn" dc:"订单编号"` Status string `json:"status" dc:"导入状态"` Quantity int `json:"quantity" dc:"出库数量"` Total int `json:"total" dc:"解析总行数"` ValidCount int `json:"validCount" dc:"校验通过行数"` FailCount int `json:"failCount" dc:"失败行数"` ResultDownloadId int64 `json:"resultDownloadId" dc:"结果下载任务ID"` ResultFileOssId int64 `json:"resultFileOssId" dc:"结果文件OSS ID"` } type TSimCardOutboundExcelSubmitRes = TSimCardOutboundSubmitRes type TSimCardOutboundRangeSubmitRes = TSimCardOutboundSubmitRes type TSimCardOutboundInputSubmitRes = TSimCardOutboundSubmitRes type TSimCardOutboundBatchSubmitRes = TSimCardOutboundSubmitRes