chore: 并入 iotlcm-admin-svr 历史到 admin-svr/(原提交 49818c6)
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
package model
|
||||
|
||||
type TSimCardTrafficCutoffOptions struct {
|
||||
TrafficCutoffCrossMonthHold *int `json:"trafficCutoffCrossMonthHold" v:"in:0,1" dc:"cross-month traffic cutoff hold: 0 disabled, 1 enabled"`
|
||||
TrafficCutoffStatus *int `json:"trafficCutoffStatus" v:"required#达量断网配置状态不能为空" dc:"达量断网配置状态:0未配置,1已开启,2已关闭"`
|
||||
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" v:"min:0#达量断网阈值不能小于0" dc:"达量断网阈值MB"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffListParam struct {
|
||||
TSimCardInfoListParam
|
||||
TrafficCutoffStatus *int `json:"trafficCutoffStatus" dc:"达量断网状态过滤:1已开启,2已关闭"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExportModel struct {
|
||||
TrafficCutoffCrossMonthHold int `json:"trafficCutoffCrossMonthHold" dc:"cross-month traffic cutoff hold: 0 disabled, 1 enabled"`
|
||||
Msisdn string `json:"msisdn" dc:"MSISDN/卡号"`
|
||||
Iccid string `json:"iccid" dc:"ICCID"`
|
||||
Imsi string `json:"imsi" dc:"IMSI"`
|
||||
Imei string `json:"imei" dc:"IMEI"`
|
||||
ChanName string `json:"chanName" dc:"通道"`
|
||||
DeptName string `json:"deptName" dc:"所属公司"`
|
||||
PackageName string `json:"packageName" dc:"当前套餐"`
|
||||
TrafficCutoffStatus int `json:"trafficCutoffStatus" dc:"达量断网状态:1已开启,2已关闭"`
|
||||
TrafficCutoffThreshold float64 `json:"trafficCutoffThreshold" dc:"达量断网阈值(MB)"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffEditParam struct {
|
||||
TrafficCutoffCrossMonthHold *int `json:"trafficCutoffCrossMonthHold" v:"in:0,1"`
|
||||
Id int64 `json:"id" v:"required|min:1#卡片ID不能为空"`
|
||||
Iccid string `json:"iccid" v:"required#ICCID不能为空"`
|
||||
TrafficCutoffStatus *int `json:"trafficCutoffStatus" v:"required|in:1,2#达量断网状态无效"`
|
||||
TrafficCutoffThreshold *float64 `json:"trafficCutoffThreshold" v:"required|min:0#达量断网阈值不能小于0"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffDeleteParam struct {
|
||||
Id int64 `json:"id" v:"required|min:1#卡片ID不能为空"`
|
||||
Iccid string `json:"iccid" v:"required#ICCID不能为空"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExcelSubmitParam struct {
|
||||
TSimCardTrafficCutoffOptions
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffInputSubmitParam struct {
|
||||
Input string `json:"input" v:"required#批量输入内容不能为空" dc:"每行填写ICCID,或ICCID MSISDN IMSI"`
|
||||
TSimCardTrafficCutoffOptions
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffRangeSubmitParam struct {
|
||||
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号码"`
|
||||
TSimCardTrafficCutoffOptions
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffSubmitRes struct {
|
||||
BatchNo string `json:"batchNo" dc:"批次号"`
|
||||
BatchType int `json:"batchType" dc:"批次类型"`
|
||||
BatchAsyncStatus int `json:"batchAsyncStatus" dc:"批次异步状态"`
|
||||
Total int `json:"total" dc:"解析总行数"`
|
||||
ValidCount int `json:"validCount" dc:"校验通过行数"`
|
||||
FailCount int `json:"failCount" dc:"失败行数"`
|
||||
}
|
||||
|
||||
type TSimCardTrafficCutoffExcelSubmitRes = TSimCardTrafficCutoffSubmitRes
|
||||
type TSimCardTrafficCutoffInputSubmitRes = TSimCardTrafficCutoffSubmitRes
|
||||
type TSimCardTrafficCutoffRangeSubmitRes = TSimCardTrafficCutoffSubmitRes
|
||||
Reference in New Issue
Block a user