aa
This commit is contained in:
@@ -22,7 +22,7 @@ type Printer struct {
|
|||||||
Name string `json:"name"` //打印机备注名
|
Name string `json:"name"` //打印机备注名
|
||||||
Status int `json:"status"` //打印机状态
|
Status int `json:"status"` //打印机状态
|
||||||
IsOnline int `json:"is_online"` //1在线,0离线
|
IsOnline int `json:"is_online"` //1在线,0离线
|
||||||
SIM string `orm:"column(sim)" json:"sim"` //sim卡号
|
IccID string `orm:"column(icc_ID)" json:"IccID"` //sim卡号
|
||||||
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
|
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
|
||||||
Volume int `json:"volume"` //音量,1-5 ,对应打印机2-10
|
Volume int `json:"volume"` //音量,1-5 ,对应打印机2-10
|
||||||
}
|
}
|
||||||
@@ -49,3 +49,33 @@ func (v *PrintMsg) TableIndex() [][]string {
|
|||||||
[]string{"PrintNo"},
|
[]string{"PrintNo"},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//流量支出
|
||||||
|
type SimFlowExpend struct {
|
||||||
|
ModelIDCUL
|
||||||
|
|
||||||
|
IccID string `orm:"column(icc_id)" json:"iccID"` //sim卡iccid
|
||||||
|
Flow int `json:"flow"` //流量数
|
||||||
|
FlowUnit string `json:"flowUnit"` //流量单位
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v *SimFlowExpend) TableIndex() [][]string {
|
||||||
|
return [][]string{
|
||||||
|
[]string{"IccID"},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//流量划入
|
||||||
|
type SimFlowIncome struct {
|
||||||
|
ModelIDCUL
|
||||||
|
|
||||||
|
IccID string `orm:"column(icc_id)" json:"iccID"` //sim卡iccid
|
||||||
|
Flow int `json:"flow"` //流量数
|
||||||
|
FlowUnit string `json:"flowUnit"` //流量单位
|
||||||
|
}
|
||||||
|
|
||||||
|
func (v *SimFlowIncome) TableIndex() [][]string {
|
||||||
|
return [][]string{
|
||||||
|
[]string{"IccID"},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user