From f2d60f4a96b77cf3ae924f9d479bd40dd8fbd13c Mon Sep 17 00:00:00 2001 From: sunty <1172534965@qq.com> Date: 星期五, 28 六月 2019 14:27:21 +0800 Subject: [PATCH] 修改结构体和相关成员 --- models/dbtables.go | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/models/dbtables.go b/models/dbtables.go index 6f87f11..fc19c8a 100644 --- a/models/dbtables.go +++ b/models/dbtables.go @@ -2,15 +2,14 @@ type Dbtables struct { BaseEntity - TableName string `json:"tableName,omitempty" example:"搴曞簱123"`//琛ㄥ悕 - TableDesc string `json:"tableDesc,omitempty" example:"搴曞簱鎻忚堪"`//鎻忚堪 - TableType string `json:"tableType,omitempty" example:"person,car"`//浜哄憳琛�"person - BwType string `json:"bwType,omitempty" example:"榛戝悕鍗�:1,鐧藉悕鍗�:0"` //榛戝悕鍗曪細1锛岀櫧鍚嶅崟锛�0 - StartTime string `json:"startTime,omitempty" example:"2019-01-12 12:14:56"` //鏈夋晥鏈熷紑濮嬫椂闂� - EndTime string `json:"endTime,omitempty" example:"2019-10-12 12:14:56"` //鏈夋晥鏈熺粨鏉熸椂闂� - UploadFlag string `json:"uploadFlag,omitempty" example:"涓婁紶鏍囧織"` // - CmpThreshold string `json:"cmpThreshold,omitempty" example:"45"`// //浜鸿劯姣斿闃堝�� - SyncType string `json:"syncType,omitempty" example:"1:鍚屾搴擄紝2锛氭湰鍦板簱"` //鏄惁鏄悓姝ュ簱(1:鍚屾搴擄紝2锛氭湰鍦板簱) - Indeviceid string `json:"indeviceid,omitempty" example:"鏈湴搴撴墍灞炵殑鍒嗘瀽璁惧id锛屽鏋滄槸鍚屾搴撳氨涓嶉渶瑕佽褰�"`// 鍒嗘瀽璁惧id(鏈湴搴撴墍灞炵殑鍒嗘瀽璁惧id锛屽鏋滄槸鍚屾搴撳氨涓嶉渶瑕佽褰�) + TableName string `json:"tableName,omitempty" example:"搴曞簱123"` //琛ㄥ悕 + TableDesc string `json:"tableDesc,omitempty" example:"搴曞簱鎻忚堪"` //鎻忚堪 + TableType string `json:"tableType,omitempty" example:"person,car"` //浜哄憳琛�"person + BwType string `json:"bwType,omitempty" example:"榛戝悕鍗�:1,鐧藉悕鍗�:0"` //榛戝悕鍗曪細1锛岀櫧鍚嶅崟锛�0 + StartTime string `json:"startTime,omitempty" example:"2019-01-12 12:14:56"` //鏈夋晥鏈熷紑濮嬫椂闂� + EndTime string `json:"endTime,omitempty" example:"2019-10-12 12:14:56"` //鏈夋晥鏈熺粨鏉熸椂闂� + //UploadFlag string `json:"uploadFlag,omitempty" example:"涓婁紶鏍囧織"` // + //CmpThreshold string `json:"cmpThreshold,omitempty" example:"45"`// //浜鸿劯姣斿闃堝�� + IsSync string `json:"isSync,omitempty" example:"1:鍚屾搴擄紝2锛氭湰鍦板簱"` //鏄惁鏄悓姝ュ簱(1:鍚屾搴擄紝2锛氭湰鍦板簱) + AnalyServerId string `json:"analyServerId,omitempty" example:"鏈湴搴撴墍灞炵殑鍒嗘瀽璁惧id锛屽鏋滄槸鍚屾搴撳氨涓嶉渶瑕佽褰�"` // 鍒嗘瀽璁惧id(鏈湴搴撴墍灞炵殑鍒嗘瀽璁惧id锛屽鏋滄槸鍚屾搴撳氨涓嶉渶瑕佽褰�) } - -- Gitblit v1.8.0