From 94dadbe9b05b24bf710ec237c00e9ec7798b7afc Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期五, 08 十二月 2023 20:02:28 +0800
Subject: [PATCH] add kig

---
 model/request/common.go |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/model/request/common.go b/model/request/common.go
index c515c4e..49f61b6 100644
--- a/model/request/common.go
+++ b/model/request/common.go
@@ -5,10 +5,21 @@
 	PageSize int `json:"pageSize" form:"pageSize"` // 姣忛〉澶у皬
 }
 
-type GetById struct {
-	ID uint `json:"id"` // 涓婚敭ID
-}
-
 type SetCurrentDevice struct {
 	CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶�
 }
+
+type DeviceConfig struct {
+	NeedSetProcessParams bool `json:"needSetProcessParams,omitempty"` //鏄惁闇�瑕佽缃伐鑹哄弬鏁�
+}
+
+type ReportWork struct {
+	ProcedureId  uint   `json:"procedureId,string" binding:"required"` //宸ュ簭id
+	ReportAmount int    `json:"reportAmount"  binding:"required"`      //鎶ュ伐鏁伴噺
+	WorkerID     string `json:"workerID"  binding:"required"`          //鎶ュ憡鑰卛d
+}
+
+type ReportWorkList struct {
+	PageInfo
+	ProcedureId uint `json:"procedureId,string" binding:"required" form:"procedureId"` //宸ュ簭id
+}

--
Gitblit v1.8.0