This commit is contained in:
suyl
2021-08-13 11:09:40 +08:00
parent 25dce9601d
commit 7fbd055c47

View File

@@ -17,16 +17,17 @@ const (
type Printer struct {
ModelIDCULD
AppID int `orm:"column(app_id)" json:"app_id"` //应用编号
PrintNo string `json:"print_no"` //打印机编号
PrintKey string `json:"print_key"` //打印机识别码
Name string `json:"name"` //打印机备注名
Status int `json:"status"` //打印机状态
IsOnline int `json:"is_online"` //1在线0离线
IccID string `orm:"column(icc_id)" json:"IccID"` //sim卡号
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume"` //音量1-5 对应打印机2-10
FlowFlag int `json:"flowFlag"` //是否超流量了1表示超了
AppID int `orm:"column(app_id)" json:"app_id"` //应用编号
PrintNo string `json:"print_no"` //打印机编号
PrintKey string `json:"print_key"` //打印机识别码
Name string `json:"name"` //打印机备注名
Status int `json:"status"` //打印机状态
IsOnline int `json:"is_online"` //1在线0离线
IccID string `orm:"column(icc_id)" json:"IccID"` //sim卡号
Sound string `json:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume"` //音量1-5 对应打印机2-10
FlowFlag int `json:"flowFlag"` //是否超流量了1表示超了
OfflineCount int `json:"offlineCount"` //掉线次数
}
func (v *Printer) TableIndex() [][]string {