This commit is contained in:
邹宗楠
2022-07-28 17:44:31 +08:00
parent 099211f096
commit ab3177f5de

View File

@@ -177,18 +177,18 @@ type Printer struct {
UpdatedAt *time.Time `json:"updated_at" db:"updated_at"`
LastOperator string `json:"last_operator" db:"last_operator"`
DeletedAt *time.Time `json:"deleted_at" db:"deleted_at"`
AppID int `json:"app_id" db:"app_id"` //应用编号
PrintNo string `json:"print_no" db:"print_no"` //打印机编号
PrintKey string `json:"print_key" db:"print_key"` //打印机识别码
Name string `json:"name" db:"name"` //打印机备注名
Status int `json:"status" db:"status"` //打印机状态
IsOnline int `json:"is_online" db:"is_online"` //1在线0离线
IccID string `json:"icc_id" db:"icc_id"` //sim卡号
Sound string `json:"sound" db:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume" db:"volume"` //音量1-5 对应打印机2-10
FlowFlag int `json:"flow_flag" db:"flow_flag"` //是否超流量了1表示超了
OfflineCount int `json:"-" db:"offline_count"` //掉线次数
UserId string `json:"user_id" db:"user_id"` //打印机所属用户
AppID int `json:"app_id" db:"app_id"` //应用编号
PrintNo string `json:"print_no" db:"print_no"` //打印机编号
PrintKey string `json:"print_key" db:"print_key"` //打印机识别码
Name string `json:"name" db:"name"` //打印机备注名
Status int `json:"status" db:"status"` //打印机状态
IsOnline int `json:"is_online" db:"is_online"` //1在线0离线
IccID string `json:"icc_id" db:"icc_id"` //sim卡号
Sound string `json:"sound" db:"sound"` //声音类型 sounda ,b,c,d,e,f,g
Volume int `json:"volume" db:"volume"` //音量1-5 对应打印机2-10
FlowFlag int `json:"flow_flag" db:"flow_flag"` //是否超流量了1表示超了
OfflineCount int `json:"offline_count" db:"offline_count"` //掉线次数
UserId string `json:"user_id" db:"user_id"` //打印机所属用户
}
type PrintMsg struct {