flow
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
PrinterStatusOnlineWithoutPaper = 2 //在线正常缺纸
|
||||
PrinterStatusOnlineWithoutPaper = 2 //在线缺纸
|
||||
PrinterStatusOnline = 1 //在线正常
|
||||
PrinterStatusOffline = -1 //离线
|
||||
PrinterStatusNoFlow = -2 //当月流量超30m了
|
||||
|
||||
PrintMsgAlreadySend = 2 //已经发出打印消息
|
||||
PrintMsgSuccess = 1 //打印成功
|
||||
@@ -54,9 +55,9 @@ func (v *PrintMsg) TableIndex() [][]string {
|
||||
type SimFlowExpend struct {
|
||||
ModelIDCUL
|
||||
|
||||
IccID string `orm:"column(icc_id)" json:"iccID"` //sim卡iccid
|
||||
Flow int `json:"flow"` //流量数
|
||||
FlowUnit string `json:"flowUnit"` //流量单位
|
||||
IccID string `orm:"column(icc_id)" json:"iccID"` //sim卡iccid
|
||||
Flow float64 `json:"flow"` //流量数
|
||||
FlowUnit string `json:"flowUnit"` //流量单位
|
||||
}
|
||||
|
||||
func (v *SimFlowExpend) TableIndex() [][]string {
|
||||
@@ -69,9 +70,9 @@ func (v *SimFlowExpend) TableIndex() [][]string {
|
||||
type SimFlowIncome struct {
|
||||
ModelIDCUL
|
||||
|
||||
IccID string `orm:"column(icc_id)" json:"iccID"` //sim卡iccid
|
||||
Flow int `json:"flow"` //流量数
|
||||
FlowUnit string `json:"flowUnit"` //流量单位
|
||||
IccID string `orm:"column(icc_id)" json:"iccID"` //sim卡iccid
|
||||
Flow float64 `json:"flow"` //流量数
|
||||
FlowUnit string `json:"flowUnit"` //流量单位
|
||||
}
|
||||
|
||||
func (v *SimFlowIncome) TableIndex() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user