52 lines
1.6 KiB
Go
52 lines
1.6 KiB
Go
package model
|
|
|
|
import (
|
|
"context"
|
|
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/model/request"
|
|
)
|
|
|
|
type BatchCardListParam struct {
|
|
request.PageInfo
|
|
BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"批次编号"`
|
|
BatchType *int `json:"batchType" dc:"批次类型"`
|
|
Iccid string `json:"iccid" dc:"ICCID"`
|
|
Msisdn string `json:"msisdn" dc:"MSISDN"`
|
|
}
|
|
|
|
func (in *BatchCardListParam) Filter(ctx context.Context) (err error) {
|
|
return
|
|
}
|
|
|
|
type BatchCardListModel struct {
|
|
RowNo int `json:"rowNo" dc:"行号"`
|
|
Iccid string `json:"iccid" dc:"ICCID"`
|
|
Msisdn string `json:"msisdn" dc:"MSISDN"`
|
|
Imsi string `json:"imsi" dc:"IMSI"`
|
|
DetailStatus int `json:"detailStatus" dc:"明细状态"`
|
|
}
|
|
|
|
type BatchDetailListParam struct {
|
|
request.PageInfo
|
|
BatchNo string `json:"batchNo" v:"required#批次号不能为空" dc:"批次编号"`
|
|
BatchType *int `json:"batchType" dc:"批次类型"`
|
|
DetailStatus *int `json:"detailStatus" dc:"明细状态"`
|
|
Iccid string `json:"iccid" dc:"ICCID"`
|
|
}
|
|
|
|
func (in *BatchDetailListParam) Filter(ctx context.Context) (err error) {
|
|
return
|
|
}
|
|
|
|
type BatchDetailErrorModel struct {
|
|
Reason string `json:"reason" dc:"异常原因"`
|
|
}
|
|
|
|
type BatchDetailListModel struct {
|
|
RowNo int `json:"rowNo" dc:"行号"`
|
|
Iccid string `json:"iccid" dc:"ICCID"`
|
|
Msisdn string `json:"msisdn" dc:"MSISDN"`
|
|
Imsi string `json:"imsi" dc:"IMSI"`
|
|
DetailStatus int `json:"detailStatus" dc:"明细状态"`
|
|
Error *BatchDetailErrorModel `json:"error" dc:"错误信息"`
|
|
}
|