|
@@ -134,6 +134,8 @@ type BloodSchedule struct {
|
134
|
134
|
Status int64 `gorm:"column:status" json:"status" form:"status"`
|
135
|
135
|
CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
|
136
|
136
|
UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
|
|
137
|
+ Name string
|
|
138
|
+ Number string
|
137
|
139
|
}
|
138
|
140
|
|
139
|
141
|
func (BloodSchedule) TableName() string {
|
|
@@ -141,6 +143,36 @@ func (BloodSchedule) TableName() string {
|
141
|
143
|
return "xt_schedule"
|
142
|
144
|
}
|
143
|
145
|
|
|
146
|
+type XcxDeviceZone struct {
|
|
147
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
148
|
+ OrgID int64 `gorm:"column:org_id" json:"-"`
|
|
149
|
+ Name string `json:"name"`
|
|
150
|
+ Type int `json:"type"`
|
|
151
|
+ Status int8 `json:"-"`
|
|
152
|
+ CreateTime int64 `gorm:"column:ctime" json:"-"`
|
|
153
|
+ ModifyTime int64 `gorm:"column:mtime" json:"-"`
|
|
154
|
+}
|
|
155
|
+
|
|
156
|
+func (XcxDeviceZone) TableName() string {
|
|
157
|
+ return "xt_device_zone"
|
|
158
|
+}
|
|
159
|
+
|
|
160
|
+type XcxDeviceNumber struct {
|
|
161
|
+ ID int64 `gorm:"column:id" json:"id"`
|
|
162
|
+ OrgID int64 `gorm:"column:org_id" json:"-"`
|
|
163
|
+ Number string `gorm:"column:number" json:"number"`
|
|
164
|
+ GroupID int64 `gorm:"column:group_id" json:"group_id"`
|
|
165
|
+ ZoneID int64 `gorm:"column:zone_id" json:"zone_id"`
|
|
166
|
+ Status int8 `json:"-"`
|
|
167
|
+ CreateTime int64 `gorm:"column:ctime" json:"-"`
|
|
168
|
+ ModifyTime int64 `gorm:"column:mtime" json:"-"`
|
|
169
|
+ Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
|
|
170
|
+}
|
|
171
|
+
|
|
172
|
+func (XcxDeviceNumber) TableName() string {
|
|
173
|
+ return "xt_device_number"
|
|
174
|
+}
|
|
175
|
+
|
144
|
176
|
type XcXDialysisOrder struct {
|
145
|
177
|
ID int64 `gorm:"column:id" json:"id" form:"id"`
|
146
|
178
|
DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date" form:"dialysis_date"`
|