package model import ( "github.com/gogf/gf/v2/os/gtime" ) type TSimCardInboundCommonFields struct { ChanKey string `json:"chanKey" dc:"通道编号"` ValidateUpstreamBasicInfo int `json:"validateUpstreamBasicInfo" dc:"是否开启上游三码校验(global_yes_or_no)"` CardType string `json:"cardType" dc:"卡类型"` UpPkgCode string `json:"upPkgCode" dc:"上游套餐编码"` SuppliersCode string `json:"suppliersCode" dc:"供应商编码"` UpstreamActivationTime *gtime.Time `json:"upstreamActivationTime" dc:"上游给出激活时间"` InsertToPlugEnabled int `json:"insertToPlugEnabled" dc:"是否贴片转插拔(global_yes_or_no)"` CarrierTrafficCutoffEnabled int `json:"carrierTrafficCutoffEnabled" dc:"是否运营商达量断网(global_yes_or_no)"` AgreementExpiryDate *gtime.Time `json:"agreementExpiryDate" dc:"协议期到期时间"` HasTestPeriod int `json:"hasTestPeriod" dc:"是否有测试期(global_yes_or_no)"` TestPeriodDays int `json:"testPeriodDays" dc:"测试期天数"` TestPeriodLatestExpiryDate *gtime.Time `json:"testPeriodLatestExpiryDate" dc:"测试期最晚过期日期"` HasSilentPeriod int `json:"hasSilentPeriod" dc:"是否有沉默期(global_yes_or_no)"` SilentPeriodDays int `json:"silentPeriodDays" dc:"沉默期天数"` SilentPeriodLatestExpiryDate *gtime.Time `json:"silentPeriodLatestExpiryDate" dc:"沉默期最晚过期日期"` } type SimCardInboundCommonProvider interface { InboundCommon() TSimCardInboundCommonFields } type TSimCardInboundExcelSubmitParam struct { TSimCardInboundCommonFields SysOssUploadParam CreatedDept int64 `json:"createdDept" dc:"创建部门"` CreatedBy int64 `json:"createdBy" dc:"创建者"` CreatedAt *gtime.Time `json:"createdAt" dc:"创建时间"` UpdatedBy int64 `json:"updatedBy" dc:"更新者"` UpdatedAt *gtime.Time `json:"updatedAt" dc:"更新时间"` } type TSimCardInboundExcelSubmitRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"批次类型"` } type TSimCardInboundRangeSubmitParam struct { RangeType string `json:"rangeType" dc:"连号类型:iccid、msisdn、imsi"` StartIccid string `json:"startIccid" dc:"起始号段ICCID"` EndIccid string `json:"endIccid" dc:"结束号段ICCID"` StartMsisdn string `json:"startMsisdn" dc:"起始号段MSISDN"` EndMsisdn string `json:"endMsisdn" dc:"结束号段MSISDN"` StartImsi string `json:"startImsi" dc:"起始号段IMSI"` EndImsi string `json:"endImsi" dc:"结束号段IMSI"` TSimCardInboundCommonFields } type TSimCardInboundRangeSubmitRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"批次类型"` } type TSimCardInboundInputSubmitParam struct { Input string `json:"input" dc:"批量输入内容"` TSimCardInboundCommonFields } type TSimCardInboundInputSubmitRes struct { BatchNo string `json:"batchNo" dc:"批次号"` BatchType int `json:"batchType" dc:"批次类型"` } func (p *TSimCardInboundExcelSubmitParam) InboundCommon() TSimCardInboundCommonFields { if p == nil { return TSimCardInboundCommonFields{} } return p.TSimCardInboundCommonFields } func (p *TSimCardInboundRangeSubmitParam) InboundCommon() TSimCardInboundCommonFields { if p == nil { return TSimCardInboundCommonFields{} } return p.TSimCardInboundCommonFields } func (p *TSimCardInboundInputSubmitParam) InboundCommon() TSimCardInboundCommonFields { if p == nil { return TSimCardInboundCommonFields{} } return p.TSimCardInboundCommonFields }