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