device_models.go 116KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631
  1. package models
  2. // 设备关联表 将设备类型、ID 和 机号、分区、分组关联
  3. type Device struct {
  4. ID int64 `gorm:"column:id" json:"id"`
  5. OrgID int64 `gorm:"column:org_id" json:"-"`
  6. DeviceType int8 `json:"device_type"` // 设备类型 1.透析机 2.水处理机
  7. DMID int64 `gorm:"column:dm_id" json:"-"` // 透析机 id(type = 1时)
  8. WTEID int64 `gorm:"column:wte_id" json:"-"` // 水处理机 id(type = 2时)
  9. SerialNumber string `json:"serial_number"` // 序列号
  10. Name string `json:"name"` // 设备名
  11. Model string `json:"model"` // 型号
  12. DeviceNumberID int64 `gorm:"column:device_number_id" json:"device_number_id"` // 机号
  13. DeviceNumber string `json:"device_number"` // 机号名
  14. DeviceZoneID int64 `gorm:"column:device_zone_id" json:"device_zone_id"` // 分区
  15. DeviceGroupID int64 `gorm:"column:device_group_id" json:"device_group_id"` // 分组
  16. Status int8 `json:"-"`
  17. CreateTime int64 `gorm:"column:ctime" json:"-"`
  18. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  19. }
  20. func (Device) TableName() string {
  21. return "xt_device"
  22. }
  23. // 透析机
  24. type DeviceDM struct {
  25. ID int64 `gorm:"column:id" json:"id"`
  26. OrgID int64 `gorm:"column:org_id" json:"-"`
  27. SerialNumber string `json:"serial_number"` // 序列号
  28. Name string `json:"name"` // 设备名
  29. Manufacturer string `json:"manufacturer"` // 生产厂家
  30. RepairFactory string `json:"repair_factory"` // 维修厂家
  31. Model string `json:"model"` // 型号
  32. Department string `json:"department"` // 使用科室
  33. DepartmentNumber string `json:"department_number"` // 科室编号
  34. PurchaseDate int64 `json:"purchase_date"` // 购买日期
  35. InstallDate int64 `json:"install_date"` // 安装日期
  36. CommissioningDate int64 `json:"commissioning_date"` // 启用日期
  37. Maintainer string `json:"maintainer"` // 维修工程师
  38. MaintenanceCall string `json:"maintenance_call"` // 维修联系电话
  39. WarrantyPeriod string `json:"warranty_period"` // 保修期限
  40. DeviceStatus int `json:"device_status"` // 机器状态 1.使用机 2.备用机 3.急诊机 4.报废机
  41. InitialUseTimes int `json:"initial_use_times"` // 初始使用次数
  42. Mark string `json:"mark"` // 备注
  43. RetirementDate int64 `json:"retirement_date"` // 报废日期
  44. RetirementReason string `json:"retirement_reason"` // 报废原因
  45. ServiceLife int `json:"service_life"` // 使用年限
  46. WorkingTime int `json:"working_time"` // 工作时长
  47. TreatmentMode string `json:"treatment_mode"` // 治疗模式
  48. Status int8 `json:"-"`
  49. CreateTime int64 `gorm:"column:ctime" json:"-"`
  50. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  51. }
  52. func (DeviceDM) TableName() string {
  53. return "xt_device_info_dm"
  54. }
  55. // 水处理机
  56. type DeviceWTE struct {
  57. ID int64 `gorm:"column:id" json:"id"`
  58. OrgID int64 `gorm:"column:org_id" json:"-"`
  59. SerialNumber string `json:"serial_number"` // 序列号
  60. Name string `json:"name"` // 设备名
  61. Manufacturer string `json:"manufacturer"` // 生产厂家
  62. RepairFactory string `json:"repair_factory"` // 维修厂家
  63. Model string `json:"model"` // 型号
  64. Department string `json:"department"` // 使用科室
  65. DepartmentNumber string `json:"department_number"` // 科室编号
  66. PurchaseDate int64 `json:"purchase_date"` // 购买日期
  67. InstallDate int64 `json:"install_date"` // 安装日期
  68. CommissioningDate int64 `json:"commissioning_date"` // 启用日期
  69. Maintainer string `json:"maintainer"` // 维修工程师
  70. MaintenanceCall string `json:"maintenance_call"` // 维修联系电话
  71. WarrantyPeriod string `json:"warranty_period"` // 保修期限
  72. DeviceStatus int `json:"device_status"` // 机器状态 1.使用机 2.备用机 3.急诊机 4.报废机
  73. InitialUseTimes int `json:"initial_use_times"` // 初始使用次数
  74. Mark string `json:"mark"` // 备注
  75. RetirementDate int64 `json:"retirement_date"` // 报废日期
  76. RetirementReason string `json:"retirement_reason"` // 报废原因
  77. ServiceLife int `json:"service_life"` // 使用年限
  78. WorkingTime int `json:"working_time"` // 工作时长
  79. ReverseOsmosisMode int `json:"reverse_osmosis_mode"` // 反渗模式
  80. Status int8 `json:"-"`
  81. CreateTime int64 `gorm:"column:ctime" json:"-"`
  82. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  83. }
  84. func (DeviceWTE) TableName() string {
  85. return "xt_device_info_wte"
  86. }
  87. type DeviceZones struct {
  88. ID int64 `gorm:"column:id" json:"id"`
  89. OrgID int64 `gorm:"column:org_id" json:"-"`
  90. Name string `json:"name"`
  91. Type int `json:"type"`
  92. Status int8 `json:"-"`
  93. CreateTime int64 `gorm:"column:ctime" json:"-"`
  94. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  95. Number string `gorm:"column:number" json:"number" form:"number"`
  96. }
  97. type DeviceZone struct {
  98. ID int64 `gorm:"column:id" json:"id"`
  99. OrgID int64 `gorm:"column:org_id" json:"-"`
  100. Name string `json:"name"`
  101. Type int `json:"type"`
  102. CreateTime int64 `gorm:"column:ctime" json:"-"`
  103. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  104. Status int64 `gorm:"column:status" json:"status" form:"status"`
  105. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  106. }
  107. func (DeviceZone) TableName() string {
  108. return "xt_device_zone"
  109. }
  110. type DeviceZonePb struct {
  111. ID int64 `gorm:"column:id" json:"id"`
  112. OrgID int64 `gorm:"column:org_id" json:"-"`
  113. Name string `json:"name"`
  114. Type int `json:"type"`
  115. TotalBed int `json:"total_bed"`
  116. SwBed int `json:"sw_bed"`
  117. XwBed int `json:"xw_bed"`
  118. WsBed int `json:"ws_bed"`
  119. CreateTime int64 `gorm:"column:ctime" json:"-"`
  120. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  121. Status int64 `gorm:"column:status" json:"status" form:"status"`
  122. DeviceNumber []*DeviceNumberPb `json:"device" gorm:"foreignkey:ZoneID;AssociationForeignKey:ID;"`
  123. }
  124. func (DeviceZonePb) TableName() string {
  125. return "xt_device_zone"
  126. }
  127. type DialysisSolutionPb struct {
  128. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  129. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  130. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  131. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  132. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus"`
  133. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  134. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  135. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  136. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  137. }
  138. func (DialysisSolutionPb) TableName() string {
  139. return "xt_dialysis_solution"
  140. }
  141. type DeviceNumberPb struct {
  142. ID int64 `gorm:"column:id" json:"id"`
  143. OrgID int64 `gorm:"column:org_id" json:"-"`
  144. Number string `gorm:"column:number" json:"number"`
  145. GroupID int64 `gorm:"column:group_id" json:"group_id"`
  146. ZoneID int64 `gorm:"column:zone_id" json:"zone_id"`
  147. Status int64 `gorm:"column:status" json:"status" form:"status"`
  148. CreateTime int64 `gorm:"column:ctime" json:"-"`
  149. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  150. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  151. Schedule []*BlodSchedulePb `json:"schedule" gorm:"foreignkey:BedId;AssociationForeignKey:ID;"`
  152. }
  153. func (DeviceNumberPb) TableName() string {
  154. return "xt_device_number"
  155. }
  156. type BlodSchedulePb struct {
  157. ID int64 `gorm:"column:id" json:"id" form:"id"`
  158. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  159. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  160. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  161. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  162. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  163. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  164. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  165. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  166. Status int64 `gorm:"column:status" json:"status" form:"status"`
  167. DialysisMachineName string `gorm:"column:dialysis_machine_name" json:"dialysis_machine_name" form:"dialysis_machine_name"`
  168. VmBloodPatients VmBloodPatients `json:"patient" gorm:"foreignkey:ID;AssociationForeignKey:PatientId;"`
  169. BloodDialysisOrder BloodPatientDialysisOrder `json:"order" gorm:"foreignkey:PatientId;AssociationForeignKey:PatientId;"`
  170. BloodDialysisPrescription BloodDialysisPrescriptionPb `json:"prescription" gorm:"foreignkey:RecordDate,PatientId;AssociationForeignKey:RecordDate,PatientId;"`
  171. DialysisSolution DialysisSolutionPb `gorm:"ForeignKey:PatientId,ModeId;AssociationForeignKey:PatientId,ModeId" json:"vmsolution"`
  172. }
  173. func (BlodSchedulePb) TableName() string {
  174. return "xt_schedule"
  175. }
  176. type BloodDialysisPrescriptionPb struct {
  177. ID int64 `gorm:"column:id" json:"id" form:"id"`
  178. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  179. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  180. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  181. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  182. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  183. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  184. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  185. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  186. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  187. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  188. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  189. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  190. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  191. }
  192. func (BloodDialysisPrescriptionPb) TableName() string {
  193. return "xt_dialysis_prescription"
  194. }
  195. type DeviceGroups struct {
  196. ID int64 `gorm:"column:id" json:"id"`
  197. OrgID int64 `gorm:"column:org_id" json:"-"`
  198. Name string `json:"name"`
  199. Status int8 `json:"-"`
  200. CreateTime int64 `gorm:"column:ctime" json:"-"`
  201. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  202. Number string `gorm:"column:number" json:"number" form:"number"`
  203. }
  204. type DeviceGroup struct {
  205. ID int64 `gorm:"column:id" json:"id"`
  206. OrgID int64 `gorm:"column:org_id" json:"-"`
  207. Name string `json:"name"`
  208. Status int8 `json:"-"`
  209. CreateTime int64 `gorm:"column:ctime" json:"-"`
  210. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  211. }
  212. func (DeviceGroup) TableName() string {
  213. return "xt_device_group"
  214. }
  215. type DeviceNumber struct {
  216. ID int64 `gorm:"column:id" json:"id"`
  217. OrgID int64 `gorm:"column:org_id" json:"-"`
  218. Number string `gorm:"column:number" json:"number"`
  219. GroupID int64 `gorm:"column:group_id" json:"group_id"`
  220. ZoneID int64 `gorm:"column:zone_id" json:"zone_id"`
  221. Status int64 `gorm:"column:status" json:"status" form:"status"`
  222. CreateTime int64 `gorm:"column:ctime" json:"-"`
  223. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  224. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  225. NumberType string `gorm:"column:number_type" json:"number_type" form:"number_type"`
  226. DeviceZone DeviceZone `json:"zone" gorm:"foreignkey:ID;AssociationForeignKey:ZoneID;"`
  227. }
  228. func (DeviceNumber) TableName() string {
  229. return "xt_device_number"
  230. }
  231. type MDeviceNumberForList struct {
  232. DeviceNumber
  233. Zone *DeviceZone `gorm:"ForeignKey:ZoneID" json:"zone"`
  234. }
  235. func (MDeviceNumberForList) TableName() string {
  236. return "xt_device_number"
  237. }
  238. type XtDeviceNumber struct {
  239. ID int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  240. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  241. Number string `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  242. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  243. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  244. Status int64 `gorm:"column:status" json:"status" form:"status"`
  245. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  246. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  247. }
  248. func (XtDeviceNumber) TableName() string {
  249. return "xt_device_number"
  250. }
  251. type DeviceAddmachers struct {
  252. ID int64 `gorm:"column:id" json:"id" form:"id"`
  253. SerialNumber string `gorm:"column:serial_number" json:"serial_number" form:"serial_number"`
  254. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  255. BedNumber string `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  256. DeviceName string `gorm:"column:device_name" json:"device_name" form:"device_name"`
  257. ManufactureFactory string `gorm:"column:manufacture_factory" json:"manufacture_factory" form:"manufacture_factory"`
  258. ServiceManufacturer string `gorm:"column:service_manufacturer" json:"service_manufacturer" form:"service_manufacturer"`
  259. UnitType string `gorm:"column:unit_type" json:"unit_type" form:"unit_type"`
  260. UseSection string `gorm:"column:use_section" json:"use_section" form:"use_section"`
  261. SectionNumber string `gorm:"column:section_number" json:"section_number" form:"section_number"`
  262. BuyDate int64 `gorm:"column:buy_date" json:"buy_date" form:"buy_date"`
  263. InstallDate int64 `gorm:"column:install_date" json:"install_date" form:"install_date"`
  264. StartDate int64 `gorm:"column:start_date" json:"start_date" form:"start_date"`
  265. MaintenaceEngineer string `gorm:"column:maintenace_engineer" json:"maintenace_engineer" form:"maintenace_engineer"`
  266. Telephone string `gorm:"column:telephone" json:"telephone" form:"telephone"`
  267. GuaranteeDate string `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  268. MachineStatus int64 `gorm:"column:machine_status" json:"machine_status" form:"machine_status"`
  269. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  270. DisinfectionMode int64 `gorm:"column:disinfection_mode" json:"disinfection_mode" form:"disinfection_mode"`
  271. Remarks string `gorm:"column:remarks" json:"remarks" form:"remarks"`
  272. RubbishDate int64 `gorm:"column:rubbish_date" json:"rubbish_date" form:"rubbish_date"`
  273. RubbishReason int64 `gorm:"column:rubbish_reason" json:"rubbish_reason" form:"rubbish_reason"`
  274. UserYear string `gorm:"column:user_year" json:"user_year" form:"user_year"`
  275. WorkTime string `gorm:"column:work_time" json:"work_time" form:"work_time"`
  276. ReversMode int64 `gorm:"column:revers_mode" json:"revers_mode" form:"revers_mode"`
  277. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  278. Status int64 `gorm:"column:status" json:"status" form:"status"`
  279. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  280. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  281. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  282. Name string `gorm:"column:name" json:"name" form:"name"`
  283. EquitmentName string `gorm:"column:equitment_name" json:"equitment_name" form:"equitment_name"`
  284. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  285. DeviceMode string `gorm:"column:device_mode" json:"device_mode" form:"device_mode"`
  286. Number string `gorm:"column:number" json:"number" form:"number"`
  287. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  288. }
  289. type DeviceAddmacher struct {
  290. ID int64 `gorm:"column:id" json:"id" form:"id"`
  291. SerialNumber string `gorm:"column:serial_number" json:"serial_number" form:"serial_number"`
  292. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  293. BedNumber string `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  294. DeviceName string `gorm:"column:device_name" json:"device_name" form:"device_name"`
  295. ManufactureFactory string `gorm:"column:manufacture_factory" json:"manufacture_factory" form:"manufacture_factory"`
  296. ServiceManufacturer string `gorm:"column:service_manufacturer" json:"service_manufacturer" form:"service_manufacturer"`
  297. UnitType int64 `gorm:"column:unit_type" json:"unit_type" form:"unit_type"`
  298. UseSection string `gorm:"column:use_section" json:"use_section" form:"use_section"`
  299. SectionNumber string `gorm:"column:section_number" json:"section_number" form:"section_number"`
  300. BuyDate int64 `gorm:"column:buy_date" json:"buy_date" form:"buy_date"`
  301. InstallDate int64 `gorm:"column:install_date" json:"install_date" form:"install_date"`
  302. StartDate int64 `gorm:"column:start_date" json:"start_date" form:"start_date"`
  303. MaintenaceEngineer string `gorm:"column:maintenace_engineer" json:"maintenace_engineer" form:"maintenace_engineer"`
  304. Telephone string `gorm:"column:telephone" json:"telephone" form:"telephone"`
  305. GuaranteeDate string `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  306. MachineStatus int64 `gorm:"column:machine_status" json:"machine_status" form:"machine_status"`
  307. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  308. DisinfectionMode int64 `gorm:"column:disinfection_mode" json:"disinfection_mode" form:"disinfection_mode"`
  309. Remarks string `gorm:"column:remarks" json:"remarks" form:"remarks"`
  310. RubbishDate int64 `gorm:"column:rubbish_date" json:"rubbish_date" form:"rubbish_date"`
  311. RubbishReason int64 `gorm:"column:rubbish_reason" json:"rubbish_reason" form:"rubbish_reason"`
  312. UserYear string `gorm:"column:user_year" json:"user_year" form:"user_year"`
  313. WorkTime string `gorm:"column:work_time" json:"work_time" form:"work_time"`
  314. ReversMode int64 `gorm:"column:revers_mode" json:"revers_mode" form:"revers_mode"`
  315. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  316. Status int64 `gorm:"column:status" json:"status" form:"status"`
  317. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  318. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  319. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  320. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  321. }
  322. func (DeviceAddmacher) TableName() string {
  323. return "xt_device_addmacher"
  324. }
  325. type DeviceTreatmentmode struct {
  326. ID int64 `gorm:"column:id" json:"id" form:"id"`
  327. MachineId int64 `gorm:"column:machine_id" json:"machine_id" form:"machine_id"`
  328. Status int64 `gorm:"column:status" json:"status" form:"status"`
  329. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  330. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  331. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  332. TreateMode int64 `gorm:"column:treate_mode" json:"treate_mode" form:"treate_mode"`
  333. }
  334. func (DeviceTreatmentmode) TableName() string {
  335. return "xt_device_treatmentmode"
  336. }
  337. type XtDeviceMachine struct {
  338. ID int64 `gorm:"column:id" json:"id" form:"id"`
  339. SerialNumber int64 `gorm:"column:serial_number" json:"serial_number" form:"serial_number"`
  340. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  341. BedNumber string `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  342. DeviceName string `gorm:"column:device_name" json:"device_name" form:"device_name"`
  343. ManufactureFactory string `gorm:"column:manufacture_factory" json:"manufacture_factory" form:"manufacture_factory"`
  344. ServiceManufacturer string `gorm:"column:service_manufacturer" json:"service_manufacturer" form:"service_manufacturer"`
  345. UnitType string `gorm:"column:unit_type" json:"unit_type" form:"unit_type"`
  346. UseSection string `gorm:"column:use_section" json:"use_section" form:"use_section"`
  347. SectionNumber string `gorm:"column:section_number" json:"section_number" form:"section_number"`
  348. BuyDate int64 `gorm:"column:buy_date" json:"buy_date" form:"buy_date"`
  349. InstallDate int64 `gorm:"column:install_date" json:"install_date" form:"install_date"`
  350. StartDate int64 `gorm:"column:start_date" json:"start_date" form:"start_date"`
  351. MaintenaceEngineer string `gorm:"column:maintenace_engineer" json:"maintenace_engineer" form:"maintenace_engineer"`
  352. Telephone string `gorm:"column:telephone" json:"telephone" form:"telephone"`
  353. GuaranteeDate string `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  354. MachineStatus int64 `gorm:"column:machine_status" json:"machine_status" form:"machine_status"`
  355. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  356. DisinfectionMode int64 `gorm:"column:disinfection_mode" json:"disinfection_mode" form:"disinfection_mode"`
  357. Remarks string `gorm:"column:remarks" json:"remarks" form:"remarks"`
  358. RubbishDate int64 `gorm:"column:rubbish_date" json:"rubbish_date" form:"rubbish_date"`
  359. RubbishReason int64 `gorm:"column:rubbish_reason" json:"rubbish_reason" form:"rubbish_reason"`
  360. UserYear string `gorm:"column:user_year" json:"user_year" form:"user_year"`
  361. WorkTime string `gorm:"column:work_time" json:"work_time" form:"work_time"`
  362. ReversMode int64 `gorm:"column:revers_mode" json:"revers_mode" form:"revers_mode"`
  363. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  364. Status int64 `gorm:"column:status" json:"status" form:"status"`
  365. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  366. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  367. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  368. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  369. }
  370. func (XtDeviceMachine) TableName() string {
  371. return "xt_device_machine"
  372. }
  373. type DeviceEquimentname struct {
  374. ID int64 `gorm:"column:id" json:"id" form:"id"`
  375. EquitmentName string `gorm:"column:equitment_name" json:"equitment_name" form:"equitment_name"`
  376. Status int64 `gorm:"column:status" json:"status" form:"status"`
  377. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  378. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  379. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  380. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  381. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  382. }
  383. func (DeviceEquimentname) TableName() string {
  384. return "xt_device_equimentname"
  385. }
  386. type DevicePlanss struct {
  387. ID int64 `gorm:"column:id" json:"id" form:"id"`
  388. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  389. DisinfecTime int64 `gorm:"column:disinfec_time" json:"disinfec_time" form:"disinfec_time"`
  390. Time int64 `gorm:"column:time" json:"time" form:"time"`
  391. Classtime int64 `gorm:"column:classtime" json:"classtime" form:"classtime"`
  392. Way int64 `gorm:"column:way" json:"way" form:"way"`
  393. MachineDisinfectant int64 `gorm:"column:machine_disinfectant" json:"machine_disinfectant" form:"machine_disinfectant"`
  394. DisinfectanWay int64 `gorm:"column:disinfectan_way" json:"disinfectan_way" form:"disinfectan_way"`
  395. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  396. Status int64 `gorm:"column:status" json:"status" form:"status"`
  397. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  398. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  399. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  400. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  401. EquitmentName string `gorm:"column:equitment_name" json:"equitment_name" form:"equitment_name"`
  402. }
  403. type DevicePlans struct {
  404. ID int64 `gorm:"column:id" json:"id" form:"id"`
  405. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  406. DisinfecTime int64 `gorm:"column:disinfec_time" json:"disinfec_time" form:"disinfec_time"`
  407. Time int64 `gorm:"column:time" json:"time" form:"time"`
  408. Classtime int64 `gorm:"column:classtime" json:"classtime" form:"classtime"`
  409. Way int64 `gorm:"column:way" json:"way" form:"way"`
  410. MachineDisinfectant int64 `gorm:"column:machine_disinfectant" json:"machine_disinfectant" form:"machine_disinfectant"`
  411. DisinfectanWay int64 `gorm:"column:disinfectan_way" json:"disinfectan_way" form:"disinfectan_way"`
  412. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  413. Status int64 `gorm:"column:status" json:"status" form:"status"`
  414. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  415. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  416. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  417. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  418. DeviceMode string `gorm:"column:device_mode" json:"device_mode" form:"device_mode"`
  419. BedWay int64 `gorm:"column:bed_way" json:"bed_way" form:"bed_way"`
  420. }
  421. type DevicePlan struct {
  422. ID int64 `gorm:"column:id" json:"id" form:"id"`
  423. DeviceType int64 `gorm:"column:device_type" json:"device_type" form:"device_type"`
  424. DisinfecTime int64 `gorm:"column:disinfec_time" json:"disinfec_time" form:"disinfec_time"`
  425. Time int64 `gorm:"column:time" json:"time" form:"time"`
  426. Classtime int64 `gorm:"column:classtime" json:"classtime" form:"classtime"`
  427. Way int64 `gorm:"column:way" json:"way" form:"way"`
  428. MachineDisinfectant int64 `gorm:"column:machine_disinfectant" json:"machine_disinfectant" form:"machine_disinfectant"`
  429. DisinfectanWay int64 `gorm:"column:disinfectan_way" json:"disinfectan_way" form:"disinfectan_way"`
  430. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  431. Status int64 `gorm:"column:status" json:"status" form:"status"`
  432. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  433. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  434. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  435. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  436. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  437. BedWay int64 `gorm:"column:bed_way" json:"bed_way" form:"bed_way"`
  438. }
  439. func (DevicePlan) TableName() string {
  440. return "xt_device_plan"
  441. }
  442. type Schedules struct {
  443. ID int64 `gorm:"column:id" json:"id" form:"id"`
  444. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  445. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  446. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  447. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  448. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  449. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  450. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  451. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  452. Status int64 `gorm:"column:status" json:"status" form:"status"`
  453. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  454. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  455. Name string `gorm:"column:name" json:"name" form:"name"`
  456. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious"`
  457. }
  458. type XtSchedule struct {
  459. ID int64 `gorm:"column:id" json:"id" form:"id"`
  460. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  461. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  462. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  463. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  464. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  465. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  466. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  467. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  468. Status int64 `gorm:"column:status" json:"status" form:"status"`
  469. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  470. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  471. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  472. LastAfterWeight AssessmentAfterDislysis `gorm:"ForeignKey:PatientID;AssociationForeignKey:PatientID" json:"lastafterweight"`
  473. DialysisMachineName string `gorm:"column:dialysis_machine_name" json:"dialysis_machine_name" form:"dialysis_machine_name"`
  474. MaxId int64 `gorm:"column:max_id" json:"max_id" form:"max_id"`
  475. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  476. }
  477. func (XtSchedule) TableName() string {
  478. return "xt_schedule"
  479. }
  480. type ScheduleTen struct {
  481. ID int64 `gorm:"column:id" json:"id" form:"id"`
  482. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  483. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  484. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  485. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  486. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  487. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  488. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  489. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  490. Status int64 `gorm:"column:status" json:"status" form:"status"`
  491. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  492. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  493. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  494. DialysisMachineName string `gorm:"column:dialysis_machine_name" json:"dialysis_machine_name" form:"dialysis_machine_name"`
  495. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  496. }
  497. func (ScheduleTen) TableName() string {
  498. return "xt_schedule"
  499. }
  500. type DeviceInformationss struct {
  501. ID int64 `gorm:"column:id" json:"id" form:"id"`
  502. Date int64 `gorm:"column:date" json:"date" form:"date"`
  503. Class int64 `gorm:"column:class" json:"class" form:"class"`
  504. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  505. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  506. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  507. Contagion string `gorm:"column:contagion" json:"contagion" form:"contagion"`
  508. DialysisMode int64 `gorm:"column:dialysis_mode" json:"dialysis_mode" form:"dialysis_mode"`
  509. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  510. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  511. DialysisHour string `gorm:"column:dialysis_hour" json:"dialysis_hour" form:"dialysis_hour"`
  512. Hyperfiltratio string `gorm:"column:hyperfiltratio" json:"hyperfiltratio" form:"hyperfiltratio"`
  513. WeightLoss string `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  514. WarningValue string `gorm:"column:warning_value" json:"warning_value" form:"warning_value"`
  515. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  516. Move int64 `gorm:"column:move" json:"move" form:"move"`
  517. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  518. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  519. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  520. DisinfectType int64 `gorm:"column:disinfect_type" json:"disinfect_type" form:"disinfect_type"`
  521. DisinfectantType int64 `gorm:"column:disinfectant_type" json:"disinfectant_type" form:"disinfectant_type"`
  522. Disinfection int64 `gorm:"column:disinfection" json:"disinfection" form:"disinfection"`
  523. MachineRun int64 `gorm:"column:machine_run" json:"machine_run" form:"machine_run"`
  524. FluidPath int64 `gorm:"column:fluid_path" json:"fluid_path" form:"fluid_path"`
  525. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  526. DisinfectionStatus int64 `gorm:"column:disinfection_status" json:"disinfection_status" form:"disinfection_status"`
  527. DisinfectionResidue int64 `gorm:"column:disinfection_residue" json:"disinfection_residue" form:"disinfection_residue"`
  528. LongTime string `gorm:"column:long_time" json:"long_time" form:"long_time"`
  529. DisinfecStartime int64 `gorm:"column:disinfec_startime" json:"disinfec_startime" form:"disinfec_startime"`
  530. DisinfecEndtime int64 `gorm:"column:disinfec_endtime" json:"disinfec_endtime" form:"disinfec_endtime"`
  531. DialysisChecked int64 `gorm:"column:dialysis_checked" json:"dialysis_checked" form:"dialysis_checked"`
  532. DialysisName int64 `gorm:"column:dialysis_name" json:"dialysis_name" form:"dialysis_name"`
  533. Norms string `gorm:"column:norms" json:"norms" form:"norms"`
  534. DialysisConcentration int64 `gorm:"column:dialysis_concentration" json:"dialysis_concentration" form:"dialysis_concentration"`
  535. GermChecked int64 `gorm:"column:germ_checked" json:"germ_checked" form:"germ_checked"`
  536. GermName int64 `gorm:"column:germ_name" json:"germ_name" form:"germ_name"`
  537. GermNumber string `gorm:"column:germ_number" json:"germ_number" form:"germ_number"`
  538. Clean int64 `gorm:"column:clean" json:"clean" form:"clean"`
  539. SignName int64 `gorm:"column:sign_name" json:"sign_name" form:"sign_name"`
  540. Status int64 `gorm:"column:status" json:"status" form:"status"`
  541. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  542. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  543. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  544. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  545. Name string `gorm:"column:name" json:"name" form:"name"`
  546. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  547. }
  548. type DeviceInformations struct {
  549. ID int64 `gorm:"column:id" json:"id" form:"id"`
  550. Date int64 `gorm:"column:date" json:"date" form:"date"`
  551. Class int64 `gorm:"column:class" json:"class" form:"class"`
  552. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  553. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  554. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  555. Contagion string `gorm:"column:contagion" json:"contagion" form:"contagion"`
  556. DialysisMode int64 `gorm:"column:dialysis_mode" json:"dialysis_mode" form:"dialysis_mode"`
  557. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  558. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  559. DialysisHour string `gorm:"column:dialysis_hour" json:"dialysis_hour" form:"dialysis_hour"`
  560. Hyperfiltratio float64 `gorm:"column:hyperfiltratio" json:"hyperfiltratio" form:"hyperfiltratio"`
  561. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  562. WarningValue string `gorm:"column:warning_value" json:"warning_value" form:"warning_value"`
  563. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  564. Move int64 `gorm:"column:move" json:"move" form:"move"`
  565. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  566. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  567. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  568. DisinfectType int64 `gorm:"column:disinfect_type" json:"disinfect_type" form:"disinfect_type"`
  569. DisinfectantType int64 `gorm:"column:disinfectant_type" json:"disinfectant_type" form:"disinfectant_type"`
  570. Disinfection int64 `gorm:"column:disinfection" json:"disinfection" form:"disinfection"`
  571. MachineRun int64 `gorm:"column:machine_run" json:"machine_run" form:"machine_run"`
  572. FluidPath int64 `gorm:"column:fluid_path" json:"fluid_path" form:"fluid_path"`
  573. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  574. DisinfectionStatus int64 `gorm:"column:disinfection_status" json:"disinfection_status" form:"disinfection_status"`
  575. DisinfectionResidue int64 `gorm:"column:disinfection_residue" json:"disinfection_residue" form:"disinfection_residue"`
  576. LongTime string `gorm:"column:long_time" json:"long_time" form:"long_time"`
  577. DisinfecStartime int64 `gorm:"column:disinfec_startime" json:"disinfec_startime" form:"disinfec_startime"`
  578. DisinfecEndtime int64 `gorm:"column:disinfec_endtime" json:"disinfec_endtime" form:"disinfec_endtime"`
  579. DialysisChecked int64 `gorm:"column:dialysis_checked" json:"dialysis_checked" form:"dialysis_checked"`
  580. DialysisName int64 `gorm:"column:dialysis_name" json:"dialysis_name" form:"dialysis_name"`
  581. Norms string `gorm:"column:norms" json:"norms" form:"norms"`
  582. DialysisConcentration int64 `gorm:"column:dialysis_concentration" json:"dialysis_concentration" form:"dialysis_concentration"`
  583. GermChecked int64 `gorm:"column:germ_checked" json:"germ_checked" form:"germ_checked"`
  584. GermName int64 `gorm:"column:germ_name" json:"germ_name" form:"germ_name"`
  585. GermNumber string `gorm:"column:germ_number" json:"germ_number" form:"germ_number"`
  586. Clean int64 `gorm:"column:clean" json:"clean" form:"clean"`
  587. SignName int64 `gorm:"column:sign_name" json:"sign_name" form:"sign_name"`
  588. Status int64 `gorm:"column:status" json:"status" form:"status"`
  589. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  590. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  591. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  592. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  593. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  594. Name string `gorm:"column:name" json:"name" form:"name"`
  595. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  596. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  597. }
  598. type DeviceInformation struct {
  599. ID int64 `gorm:"column:id" json:"id" form:"id"`
  600. Date int64 `gorm:"column:date" json:"date" form:"date"`
  601. Class int64 `gorm:"column:class" json:"class" form:"class"`
  602. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  603. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  604. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  605. Contagion string `gorm:"column:contagion" json:"contagion" form:"contagion"`
  606. DialysisMode int64 `gorm:"column:dialysis_mode" json:"dialysis_mode" form:"dialysis_mode"`
  607. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  608. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  609. DialysisHour string `gorm:"column:dialysis_hour" json:"dialysis_hour" form:"dialysis_hour"`
  610. Hyperfiltratio float64 `gorm:"column:hyperfiltratio" json:"hyperfiltratio" form:"hyperfiltratio"`
  611. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  612. WarningValue string `gorm:"column:warning_value" json:"warning_value" form:"warning_value"`
  613. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  614. Move int64 `gorm:"column:move" json:"move" form:"move"`
  615. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  616. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  617. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  618. DisinfectType int64 `gorm:"column:disinfect_type" json:"disinfect_type" form:"disinfect_type"`
  619. DisinfectantType int64 `gorm:"column:disinfectant_type" json:"disinfectant_type" form:"disinfectant_type"`
  620. Disinfection int64 `gorm:"column:disinfection" json:"disinfection" form:"disinfection"`
  621. MachineRun int64 `gorm:"column:machine_run" json:"machine_run" form:"machine_run"`
  622. FluidPath int64 `gorm:"column:fluid_path" json:"fluid_path" form:"fluid_path"`
  623. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  624. DisinfectionStatus int64 `gorm:"column:disinfection_status" json:"disinfection_status" form:"disinfection_status"`
  625. DisinfectionResidue int64 `gorm:"column:disinfection_residue" json:"disinfection_residue" form:"disinfection_residue"`
  626. LongTime string `gorm:"column:long_time" json:"long_time" form:"long_time"`
  627. DisinfecStartime int64 `gorm:"column:disinfec_startime" json:"disinfec_startime" form:"disinfec_startime"`
  628. DisinfecEndtime int64 `gorm:"column:disinfec_endtime" json:"disinfec_endtime" form:"disinfec_endtime"`
  629. DialysisChecked int64 `gorm:"column:dialysis_checked" json:"dialysis_checked" form:"dialysis_checked"`
  630. DialysisName int64 `gorm:"column:dialysis_name" json:"dialysis_name" form:"dialysis_name"`
  631. Norms string `gorm:"column:norms" json:"norms" form:"norms"`
  632. DialysisConcentration int64 `gorm:"column:dialysis_concentration" json:"dialysis_concentration" form:"dialysis_concentration"`
  633. GermChecked int64 `gorm:"column:germ_checked" json:"germ_checked" form:"germ_checked"`
  634. GermName int64 `gorm:"column:germ_name" json:"germ_name" form:"germ_name"`
  635. GermNumber string `gorm:"column:germ_number" json:"germ_number" form:"germ_number"`
  636. Clean int64 `gorm:"column:clean" json:"clean" form:"clean"`
  637. SignName int64 `gorm:"column:sign_name" json:"sign_name" form:"sign_name"`
  638. Status int64 `gorm:"column:status" json:"status" form:"status"`
  639. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  640. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  641. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  642. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  643. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  644. Stime int64 `gorm:"column:stime" json:"stime" form:"stime"`
  645. BedWay int64 `gorm:"column:bed_way" json:"bed_way" form:"bed_way"`
  646. }
  647. func (DeviceInformation) TableName() string {
  648. return "xt_device_information"
  649. }
  650. type DeviceCultures struct {
  651. ID int64 `gorm:"column:id" json:"id" form:"id"`
  652. SpelingDate int64 `gorm:"column:speling_date" json:"speling_date" form:"speling_date"`
  653. Specimen int64 `gorm:"column:specimen" json:"specimen" form:"specimen"`
  654. ConcentrateNoa string `gorm:"column:concentrate_noa" json:"concentrate_noa" form:"concentrate_noa"`
  655. ConcentrateNob string `gorm:"column:concentrate_nob" json:"concentrate_nob" form:"concentrate_nob"`
  656. SamplingLocationa int64 `gorm:"column:sampling_locationa" json:"sampling_locationa" form:"sampling_locationa"`
  657. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  658. Sampler int64 `gorm:"column:sampler" json:"sampler" form:"sampler"`
  659. ReportingDate int64 `gorm:"column:reporting_date" json:"reporting_date" form:"reporting_date"`
  660. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  661. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  662. Status int64 `gorm:"column:status" json:"status" form:"status"`
  663. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  664. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  665. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  666. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  667. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  668. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  669. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  670. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  671. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  672. }
  673. // 细菌培养检测
  674. type DeviceCulture struct {
  675. ID int64 `gorm:"column:id" json:"id" form:"id"`
  676. SpelingDate int64 `gorm:"column:speling_date" json:"speling_date" form:"speling_date"`
  677. Specimen int64 `gorm:"column:specimen" json:"specimen" form:"specimen"`
  678. ConcentrateNoa string `gorm:"column:concentrate_noa" json:"concentrate_noa" form:"concentrate_noa"`
  679. ConcentrateNob string `gorm:"column:concentrate_nob" json:"concentrate_nob" form:"concentrate_nob"`
  680. SamplingLocationa int64 `gorm:"column:sampling_locationa" json:"sampling_locationa" form:"sampling_locationa"`
  681. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  682. Sampler int64 `gorm:"column:sampler" json:"sampler" form:"sampler"`
  683. ReportingDate int64 `gorm:"column:reporting_date" json:"reporting_date" form:"reporting_date"`
  684. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  685. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  686. Status int64 `gorm:"column:status" json:"status" form:"status"`
  687. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  688. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  689. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  690. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  691. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  692. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  693. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  694. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  695. }
  696. func (DeviceCulture) TableName() string {
  697. return "xt_device_culture"
  698. }
  699. type DeviceDialysates struct {
  700. ID int64 `gorm:"column:id" json:"id" form:"id"`
  701. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  702. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  703. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  704. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  705. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  706. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  707. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  708. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  709. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  710. Status int64 `gorm:"column:status" json:"status" form:"status"`
  711. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  712. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  713. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  714. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  715. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  716. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  717. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  718. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  719. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  720. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  721. }
  722. // 内霉素检测
  723. type DeviceDialysate struct {
  724. ID int64 `gorm:"column:id" json:"id" form:"id"`
  725. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  726. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  727. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  728. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  729. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  730. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  731. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  732. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  733. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  734. Status int64 `gorm:"column:status" json:"status" form:"status"`
  735. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  736. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  737. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  738. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  739. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  740. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  741. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  742. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  743. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  744. }
  745. func (DeviceDialysate) TableName() string {
  746. return "xt_device_dialysate"
  747. }
  748. type DeviceIons struct {
  749. ID int64 `gorm:"column:id" json:"id" form:"id"`
  750. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  751. Samplerc int64 `gorm:"column:samplerc" json:"samplerc" form:"samplerc"`
  752. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  753. ConcentrateNof string `gorm:"column:concentrate_nof" json:"concentrate_nof" form:"concentrate_nof"`
  754. ConcentrateNog string `gorm:"column:concentrate_nog" json:"concentrate_nog" form:"concentrate_nog"`
  755. DateReportc int64 `gorm:"column:date_reportc" json:"date_reportc" form:"date_reportc"`
  756. ActualNa string `gorm:"column:actual_na" json:"actual_na" form:"actual_na"`
  757. ActualPna string `gorm:"column:actual_pna" json:"actual_pna" form:"actual_pna"`
  758. ActualK string `gorm:"column:actual_k" json:"actual_k" form:"actual_k"`
  759. ActualCa string `gorm:"column:actual_ca" json:"actual_ca" form:"actual_ca"`
  760. ActualCi string `gorm:"column:actual_ci" json:"actual_ci" form:"actual_ci"`
  761. ActualHco string `gorm:"column:actual_hco" json:"actual_hco" form:"actual_hco"`
  762. ActualMg string `gorm:"column:actual_mg" json:"actual_mg" form:"actual_mg"`
  763. ActualPh string `gorm:"column:actual_ph" json:"actual_ph" form:"actual_ph"`
  764. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  765. Status int64 `gorm:"column:status" json:"status" form:"status"`
  766. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  767. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  768. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  769. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  770. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  771. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  772. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  773. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  774. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  775. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  776. }
  777. // 透析液离子浓度检测
  778. type DeviceIon struct {
  779. ID int64 `gorm:"column:id" json:"id" form:"id"`
  780. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  781. Samplerc int64 `gorm:"column:samplerc" json:"samplerc" form:"samplerc"`
  782. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  783. ConcentrateNof string `gorm:"column:concentrate_nof" json:"concentrate_nof" form:"concentrate_nof"`
  784. ConcentrateNog string `gorm:"column:concentrate_nog" json:"concentrate_nog" form:"concentrate_nog"`
  785. DateReportc int64 `gorm:"column:date_reportc" json:"date_reportc" form:"date_reportc"`
  786. ActualNa string `gorm:"column:actual_na" json:"actual_na" form:"actual_na"`
  787. ActualPna string `gorm:"column:actual_pna" json:"actual_pna" form:"actual_pna"`
  788. ActualK string `gorm:"column:actual_k" json:"actual_k" form:"actual_k"`
  789. ActualCa string `gorm:"column:actual_ca" json:"actual_ca" form:"actual_ca"`
  790. ActualCi string `gorm:"column:actual_ci" json:"actual_ci" form:"actual_ci"`
  791. ActualHco string `gorm:"column:actual_hco" json:"actual_hco" form:"actual_hco"`
  792. ActualMg string `gorm:"column:actual_mg" json:"actual_mg" form:"actual_mg"`
  793. ActualPh string `gorm:"column:actual_ph" json:"actual_ph" form:"actual_ph"`
  794. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  795. Status int64 `gorm:"column:status" json:"status" form:"status"`
  796. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  797. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  798. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  799. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  800. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  801. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  802. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  803. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  804. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  805. }
  806. func (DeviceIon) TableName() string {
  807. return "xt_device_ion"
  808. }
  809. type DeviceRepairs struct {
  810. ID int64 `gorm:"column:id" json:"id" form:"id"`
  811. GuaranteeDate int64 `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  812. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  813. ArriveTime int64 `gorm:"column:arrive_time" json:"arrive_time" form:"arrive_time"`
  814. FinishTime int64 `gorm:"column:finish_time" json:"finish_time" form:"finish_time"`
  815. TotalDistance string `gorm:"column:total_distance" json:"total_distance" form:"total_distance"`
  816. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  817. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  818. CauseAnalysis string `gorm:"column:cause_analysis" json:"cause_analysis" form:"cause_analysis"`
  819. TreatmentProcess string `gorm:"column:treatment_process" json:"treatment_process" form:"treatment_process"`
  820. Images string `gorm:"column:images" json:"images" form:"images"`
  821. Exclude int64 `gorm:"column:exclude" json:"exclude" form:"exclude"`
  822. Reason string `gorm:"column:reason" json:"reason" form:"reason"`
  823. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  824. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  825. Status int64 `gorm:"column:status" json:"status" form:"status"`
  826. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  827. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  828. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  829. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  830. Number string `gorm:"column:number" json:"bed_number" form:"number"`
  831. }
  832. type DeviceRepair struct {
  833. ID int64 `gorm:"column:id" json:"id" form:"id"`
  834. GuaranteeDate int64 `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  835. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  836. ArriveTime int64 `gorm:"column:arrive_time" json:"arrive_time" form:"arrive_time"`
  837. FinishTime int64 `gorm:"column:finish_time" json:"finish_time" form:"finish_time"`
  838. TotalDistance string `gorm:"column:total_distance" json:"total_distance" form:"total_distance"`
  839. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  840. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  841. CauseAnalysis string `gorm:"column:cause_analysis" json:"cause_analysis" form:"cause_analysis"`
  842. TreatmentProcess string `gorm:"column:treatment_process" json:"treatment_process" form:"treatment_process"`
  843. Images string `gorm:"column:images" json:"images" form:"images"`
  844. Exclude int64 `gorm:"column:exclude" json:"exclude" form:"exclude"`
  845. Reason string `gorm:"column:reason" json:"reason" form:"reason"`
  846. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  847. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  848. Status int64 `gorm:"column:status" json:"status" form:"status"`
  849. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  850. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  851. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  852. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  853. ImageName string `gorm:"column:image_name" json:"image_name" form:"image_name"`
  854. FunctionAccessoriesInspection string `gorm:"column:function_accessories_inspection" json:"function_accessories_inspection" form:"function_accessories_inspection"`
  855. OtherInformation string `gorm:"column:other_information" json:"other_information" form:"other_information"`
  856. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  857. }
  858. func (DeviceRepair) TableName() string {
  859. return "xt_device_repair"
  860. }
  861. type XtAssessmentAfterDislysis struct {
  862. ID int64 `gorm:"column:id" json:"id" form:"id"`
  863. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  864. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  865. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  866. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  867. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  868. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency" form:"pulse_frequency"`
  869. BreathingRate string `gorm:"column:breathing_rate" json:"breathing_rate" form:"breathing_rate"`
  870. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure" form:"systolic_blood_pressure"`
  871. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure" form:"diastolic_blood_pressure"`
  872. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type" form:"blood_pressure_type"`
  873. ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration" form:"actual_ultrafiltration"`
  874. ActualDisplacement float64 `gorm:"column:actual_displacement" json:"actual_displacement" form:"actual_displacement"`
  875. ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour" form:"actual_treatment_hour"`
  876. ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute" form:"actual_treatment_minute"`
  877. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way" form:"weighing_way"`
  878. WeightAfter float64 `gorm:"column:weight_after" json:"weight_after" form:"weight_after"`
  879. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight" form:"additional_weight"`
  880. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  881. Cruor string `gorm:"column:cruor" json:"cruor" form:"cruor"`
  882. SymptomAfterDialysis string `gorm:"column:symptom_after_dialysis" json:"symptom_after_dialysis" form:"symptom_after_dialysis"`
  883. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula" form:"internal_fistula"`
  884. Catheter string `gorm:"column:catheter" json:"catheter" form:"catheter"`
  885. Complication string `gorm:"column:complication" json:"complication" form:"complication"`
  886. Evaluator int64 `gorm:"column:evaluator" json:"evaluator" form:"evaluator"`
  887. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  888. DialysisIntakes float64 `gorm:"column:dialysis_intakes" json:"dialysis_intakes" form:"dialysis_intakes"`
  889. DialysisIntakesFeed int64 `gorm:"column:dialysis_intakes_feed" json:"dialysis_intakes_feed" form:"dialysis_intakes_feed"`
  890. DialysisIntakesTransfusion int64 `gorm:"column:dialysis_intakes_transfusion" json:"dialysis_intakes_transfusion" form:"dialysis_intakes_transfusion"`
  891. DialysisIntakesBloodTransfusion int64 `gorm:"column:dialysis_intakes_blood_transfusion" json:"dialysis_intakes_blood_transfusion" form:"dialysis_intakes_blood_transfusion"`
  892. DialysisIntakesWashpipe int64 `gorm:"column:dialysis_intakes_washpipe" json:"dialysis_intakes_washpipe" form:"dialysis_intakes_washpipe"`
  893. Status int64 `gorm:"column:status" json:"status" form:"status"`
  894. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  895. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  896. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  897. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  898. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  899. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  900. PuncturePointOozingBlood int64 `gorm:"column:puncture_point_oozing_blood" json:"puncture_point_oozing_blood" form:"puncture_point_oozing_blood"`
  901. PuncturePointHaematoma int64 `gorm:"column:puncture_point_haematoma" json:"puncture_point_haematoma" form:"puncture_point_haematoma"`
  902. InternalFistulaTremorAc int64 `gorm:"column:internal_fistula_tremor_ac" json:"internal_fistula_tremor_ac" form:"internal_fistula_tremor_ac"`
  903. PatientGose int64 `gorm:"column:patient_gose" json:"patient_gose" form:"patient_gose"`
  904. InpatientDepartment string `gorm:"column:inpatient_department" json:"inpatient_department" form:"inpatient_department"`
  905. ObservationContent string `gorm:"column:observation_content" json:"observation_content" form:"observation_content"`
  906. ObservationContentOther string `gorm:"column:observation_content_other" json:"observation_content_other" form:"observation_content_other"`
  907. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  908. DialysisProcess int64 `gorm:"column:dialysis_process" json:"dialysis_process" form:"dialysis_process"`
  909. InAdvanceMinute float64 `gorm:"column:in_advance_minute" json:"in_advance_minute" form:"in_advance_minute"`
  910. InAdvanceReason string `gorm:"column:in_advance_reason" json:"in_advance_reason" form:"in_advance_reason"`
  911. HemostasisMinute int64 `gorm:"column:hemostasis_minute" json:"hemostasis_minute" form:"hemostasis_minute"`
  912. HemostasisOpera int64 `gorm:"column:hemostasis_opera" json:"hemostasis_opera" form:"hemostasis_opera"`
  913. TremorNoise int64 `gorm:"column:tremor_noise" json:"tremor_noise" form:"tremor_noise"`
  914. DisequilibriumSyndrome int64 `gorm:"column:disequilibrium_syndrome" json:"disequilibrium_syndrome" form:"disequilibrium_syndrome"`
  915. DisequilibriumSyndromeOption string `gorm:"column:disequilibrium_syndrome_option" json:"disequilibrium_syndrome_option" form:"disequilibrium_syndrome_option"`
  916. ArterialTube int64 `gorm:"column:arterial_tube" json:"arterial_tube" form:"arterial_tube"`
  917. IntravenousTube int64 `gorm:"column:intravenous_tube" json:"intravenous_tube" form:"intravenous_tube"`
  918. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  919. InAdvanceReasonOther string `gorm:"column:in_advance_reason_other" json:"in_advance_reason_other" form:"in_advance_reason_other"`
  920. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor" form:"assessment_doctor"`
  921. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time" form:"assessment_time"`
  922. IsEat int64 `gorm:"column:is_eat" json:"is_eat" form:"is_eat"`
  923. DialysisIntakesUnit int64 `gorm:"column:dialysis_intakes_unit" json:"dialysis_intakes_unit" form:"dialysis_intakes_unit"`
  924. CvcA float64 `gorm:"column:cvc_a" json:"cvc_a" form:"cvc_a"`
  925. CvcV float64 `gorm:"column:cvc_v" json:"cvc_v" form:"cvc_v"`
  926. Channel int64 `gorm:"column:channel" json:"channel" form:"channel"`
  927. SealingFluidDispose string `gorm:"column:sealing_fluid_dispose" json:"sealing_fluid_dispose" form:"sealing_fluid_dispose"`
  928. Ktv string `gorm:"column:ktv" json:"ktv" form:"ktv"`
  929. Urr string `gorm:"column:urr" json:"urr" form:"urr"`
  930. }
  931. func (XtAssessmentAfterDislysis) TableName() string {
  932. return "xt_assessment_after_dislysis"
  933. }
  934. type DeviceRemander struct {
  935. ID int64 `gorm:"column:id" json:"id" form:"id"`
  936. IsRun int64 `gorm:"column:is_run" json:"is_run" form:"is_run"`
  937. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  938. Status int64 `gorm:"column:status" json:"status" form:"status"`
  939. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  940. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  941. }
  942. func (DeviceRemander) TableName() string {
  943. return "xt_device_remander"
  944. }
  945. type DeviceMode struct {
  946. ID int64 `gorm:"column:id" json:"id" form:"id"`
  947. DeviceMode string `gorm:"column:device_mode" json:"device_mode" form:"device_mode"`
  948. Status int64 `gorm:"column:status" json:"status" form:"status"`
  949. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  950. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  951. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  952. }
  953. func (DeviceMode) TableName() string {
  954. return "xt_device_mode"
  955. }
  956. type VmDeviceInformation struct {
  957. Total int64
  958. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  959. }
  960. func (VmDeviceInformation) TableName() string {
  961. return "xt_device_information"
  962. }
  963. type VmSchedule struct {
  964. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  965. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  966. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  967. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  968. Partition int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  969. Name string `gorm:"column:name" json:"name" form:"name"`
  970. Number string `gorm:"column:number" json:"number" form:"number"`
  971. ZoneName string `gorm:"column:name" json:"zon_name" form:"name"`
  972. DialysisMachineName string `gorm:"column:dialysis_machine_name" json:"dialysis_machine_name" form:"dialysis_machine_name"`
  973. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  974. }
  975. type XtDeviceOxygenates struct {
  976. ID int64 `gorm:"column:id" json:"id" form:"id"`
  977. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  978. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  979. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  980. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  981. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  982. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  983. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  984. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  985. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  986. Status int64 `gorm:"column:status" json:"status" form:"status"`
  987. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  988. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  989. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  990. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  991. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  992. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  993. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  994. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  995. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  996. }
  997. func (XtDeviceOxygenates) TableName() string {
  998. return "xt_device_oxygenates"
  999. }
  1000. type XtDeviceHadwater struct {
  1001. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1002. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  1003. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  1004. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  1005. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  1006. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  1007. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  1008. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  1009. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  1010. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  1011. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1012. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1013. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1014. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1015. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1016. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  1017. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  1018. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  1019. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  1020. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  1021. }
  1022. func (XtDeviceHadwater) TableName() string {
  1023. return "xt_device_hadwater"
  1024. }
  1025. type XtDeviceWater struct {
  1026. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1027. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  1028. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  1029. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  1030. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  1031. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  1032. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  1033. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  1034. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  1035. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  1036. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1037. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1038. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1039. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1040. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1041. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  1042. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  1043. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  1044. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  1045. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  1046. }
  1047. func (XtDeviceWater) TableName() string {
  1048. return "xt_device_water"
  1049. }
  1050. type XtDevicePh struct {
  1051. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1052. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  1053. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  1054. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  1055. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  1056. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  1057. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  1058. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  1059. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  1060. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  1061. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1062. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1063. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1064. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1065. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1066. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  1067. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  1068. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  1069. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  1070. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  1071. }
  1072. func (XtDevicePh) TableName() string {
  1073. return "xt_device_ph"
  1074. }
  1075. type XtRemindPrintSetting struct {
  1076. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1077. PrescriptionStatus int64 `gorm:"column:prescription_status" json:"prescription_status" form:"prescription_status"`
  1078. Week int64 `gorm:"column:week" json:"week" form:"week"`
  1079. Name int64 `gorm:"column:name" json:"name" form:"name"`
  1080. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  1081. Classes int64 `gorm:"column:classes" json:"classes" form:"classes"`
  1082. Number int64 `gorm:"column:number" json:"number" form:"number"`
  1083. Mode int64 `gorm:"column:mode" json:"mode" form:"mode"`
  1084. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  1085. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  1086. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1087. DoctorAdvice int64 `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
  1088. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1089. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1090. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1091. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1092. AnticoagulantZongliang int64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  1093. }
  1094. func (XtRemindPrintSetting) TableName() string {
  1095. return "xt_remind_print_setting"
  1096. }
  1097. type VmXtSchedule struct {
  1098. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1099. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1100. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1101. Count int64
  1102. }
  1103. type PatientDeviceNumber struct {
  1104. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1105. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1106. Number string `gorm:"column:number" json:"number" form:"number"`
  1107. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1108. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1109. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1110. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1111. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1112. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1113. DeviceZone DeviceZone `json:"zone" gorm:"foreignkey:ID;AssociationForeignKey:ZoneId;"`
  1114. Schedule []*BlodSchedule `json:"schedule" gorm:"foreignkey:BedId;AssociationForeignKey:ID;"`
  1115. }
  1116. func (PatientDeviceNumber) TableName() string {
  1117. return "xt_device_number"
  1118. }
  1119. type PatientDialysisOrder struct {
  1120. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1121. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date" form:"dialysis_date"`
  1122. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1123. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1124. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  1125. Stage int64 `gorm:"column:stage" json:"stage" form:"stage"`
  1126. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1127. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1128. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse" form:"start_nurse"`
  1129. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse" form:"finish_nurse"`
  1130. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1131. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1132. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1133. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse" form:"puncture_nurse"`
  1134. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  1135. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  1136. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator" form:"finish_creator"`
  1137. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier" form:"finish_modifier"`
  1138. SchedualType int64 `gorm:"column:schedual_type" json:"schedual_type" form:"schedual_type"`
  1139. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  1140. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  1141. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  1142. ChangeNurse int64 `gorm:"column:change_nurse" json:"change_nurse" form:"change_nurse"`
  1143. DifficultPunctureNurse int64 `gorm:"column:difficult_puncture_nurse" json:"difficult_puncture_nurse" form:"difficult_puncture_nurse"`
  1144. NewFistulaNurse int64 `gorm:"column:new_fistula_nurse" json:"new_fistula_nurse" form:"new_fistula_nurse"`
  1145. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1146. }
  1147. func (PatientDialysisOrder) TableName() string {
  1148. return "xt_dialysis_order"
  1149. }
  1150. type ScheduleDeviceNumber struct {
  1151. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1152. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1153. Number string `gorm:"column:number" json:"number" form:"number"`
  1154. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1155. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1156. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1157. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1158. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1159. }
  1160. func (ScheduleDeviceNumber) TableName() string {
  1161. return "xt_device_number"
  1162. }
  1163. type SgjDeviceNumber struct {
  1164. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1165. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1166. Number string `gorm:"column:number" json:"number" form:"number"`
  1167. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1168. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1169. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1170. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1171. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1172. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1173. Zone *DeviceZone `gorm:"ForeignKey:ZoneId" json:"zone"`
  1174. }
  1175. func (SgjDeviceNumber) TableName() string {
  1176. return "xt_device_number"
  1177. }
  1178. type XtScheduleSix struct {
  1179. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1180. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1181. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1182. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1183. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1184. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1185. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1186. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1187. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1188. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1189. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1190. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1191. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  1192. }
  1193. func (XtScheduleSix) TableName() string {
  1194. return "xt_schedule"
  1195. }
  1196. type XtScheduleSeven struct {
  1197. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1198. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1199. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1200. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1201. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1202. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1203. Count int64
  1204. }
  1205. func (XtScheduleSeven) TableName() string {
  1206. return "xt_schedule"
  1207. }
  1208. type XtDialysisDeviceWater struct {
  1209. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1210. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1211. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  1212. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1213. MachineStatus int64 `gorm:"column:machine_status" json:"machine_status" form:"machine_status"`
  1214. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  1215. WaterConductivity float64 `gorm:"column:water_conductivity" json:"water_conductivity" form:"water_conductivity"`
  1216. WaterPressure float64 `gorm:"column:water_pressure" json:"water_pressure" form:"water_pressure"`
  1217. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1218. ForcePumpStatus int64 `gorm:"column:force_pump_status" json:"force_pump_status" form:"force_pump_status"`
  1219. FirstRoMembraneWater float64 `gorm:"column:first_ro_membrane_water" json:"first_ro_membrane_water" form:"first_ro_membrane_water"`
  1220. FirstRoFilmThickWater float64 `gorm:"column:first_ro_film_thick_water" json:"first_ro_film_thick_water" form:"first_ro_film_thick_water"`
  1221. FirstRoMembraneEffluent float64 `gorm:"column:first_ro_membrane_effluent" json:"first_ro_membrane_effluent" form:"first_ro_membrane_effluent"`
  1222. FirstProductionOfWaterConductivity float64 `gorm:"column:first_production_of_water_conductivity" json:"first_production_of_water_conductivity" form:"first_production_of_water_conductivity"`
  1223. FirstWaterYield float64 `gorm:"column:first_water_yield" json:"first_water_yield" form:"first_water_yield"`
  1224. LastRoMembraneWater float64 `gorm:"column:last_ro_membrane_water" json:"last_ro_membrane_water" form:"last_ro_membrane_water"`
  1225. LastRoFilmThickWater float64 `gorm:"column:last_ro_film_thick_water" json:"last_ro_film_thick_water" form:"last_ro_film_thick_water"`
  1226. LastRoMembraneEffluent float64 `gorm:"column:last_ro_membrane_effluent" json:"last_ro_membrane_effluent" form:"last_ro_membrane_effluent"`
  1227. LastProductionOfWaterConductivity float64 `gorm:"column:last_production_of_water_conductivity" json:"last_production_of_water_conductivity" form:"last_production_of_water_conductivity"`
  1228. LastWaterYield float64 `gorm:"column:last_water_yield" json:"last_water_yield" form:"last_water_yield"`
  1229. CarbonTank float64 `gorm:"column:carbon_tank" json:"carbon_tank" form:"carbon_tank"`
  1230. SndTank float64 `gorm:"column:snd_tank" json:"snd_tank" form:"snd_tank"`
  1231. ResinTank float64 `gorm:"column:resin_tank" json:"resin_tank" form:"resin_tank"`
  1232. Ultrafilter float64 `gorm:"column:ultrafilter" json:"ultrafilter" form:"ultrafilter"`
  1233. HardnessMonitoring float64 `gorm:"column:hardness_monitoring" json:"hardness_monitoring" form:"hardness_monitoring"`
  1234. TotalChlorineDetection float64 `gorm:"column:total_chlorine_detection" json:"total_chlorine_detection" form:"total_chlorine_detection"`
  1235. ConcentrationOfPeroxyaceticAcid float64 `gorm:"column:concentration_of_peroxyacetic_acid" json:"concentration_of_peroxyacetic_acid" form:"concentration_of_peroxyacetic_acid"`
  1236. ReverseOsmosisMembraneDisinfection int64 `gorm:"column:reverse_osmosis_membrane_disinfection" json:"reverse_osmosis_membrane_disinfection" form:"reverse_osmosis_membrane_disinfection"`
  1237. FirstDisinfectionMethod int64 `gorm:"column:first_disinfection_method" json:"first_disinfection_method" form:"first_disinfection_method"`
  1238. LastDisinfectionMethod int64 `gorm:"column:last_disinfection_method" json:"last_disinfection_method" form:"last_disinfection_method"`
  1239. FirstDisinfectionTime float64 `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1240. LastDisinfectionTime float64 `gorm:"column:last_disinfection_time" json:"last_disinfection_time" form:"last_disinfection_time"`
  1241. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1242. FilterReplacement int64 `gorm:"column:filter_replacement" json:"filter_replacement" form:"filter_replacement"`
  1243. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1244. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1245. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1246. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1247. PhDetection float64 `gorm:"column:ph_detection" json:"ph_detection" form:"ph_detection"`
  1248. DisinfectionOfWaterPipeline int64 `gorm:"column:disinfection_of_water_pipeline" json:"disinfection_of_water_pipeline" form:"disinfection_of_water_pipeline"`
  1249. }
  1250. func (XtDialysisDeviceWater) TableName() string {
  1251. return "xt_dialysis_device_water"
  1252. }
  1253. type XtNewAriDisinfect struct {
  1254. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1255. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1256. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1257. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1258. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1259. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1260. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1261. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1262. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1263. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1264. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1265. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1266. SencondDisinfectionWater string `gorm:"column:sencond_disinfection_water" json:"sencond_disinfection_water" form:"sencond_disinfection_water"`
  1267. SencondDisinfectionMethods string `gorm:"column:sencond_disinfection_methods" json:"sencond_disinfection_methods" form:"sencond_disinfection_methods"`
  1268. SencondDisinfectionTime string `gorm:"column:sencond_disinfection_time" json:"sencond_disinfection_time" form:"sencond_disinfection_time"`
  1269. SencondStartTime int64 `gorm:"column:sencond_start_time" json:"sencond_start_time" form:"sencond_start_time"`
  1270. SencondEndTime int64 `gorm:"column:sencond_end_time" json:"sencond_end_time" form:"sencond_end_time"`
  1271. SencondTotalTime string `gorm:"column:sencond_total_time" json:"sencond_total_time" form:"sencond_total_time"`
  1272. SencondIsCheck int64 `gorm:"column:sencond_is_check" json:"sencond_is_check" form:"sencond_is_check"`
  1273. SencondModifications int64 `gorm:"column:sencond_modifications" json:"sencond_modifications" form:"sencond_modifications"`
  1274. SencondCreator int64 `gorm:"column:sencond_creator" json:"sencond_creator" form:"sencond_creator"`
  1275. ThirdDisinfectionWater string `gorm:"column:third_disinfection_water" json:"third_disinfection_water" form:"third_disinfection_water"`
  1276. ThirdDisinfectionMethods string `gorm:"column:third_disinfection_methods" json:"third_disinfection_methods" form:"third_disinfection_methods"`
  1277. ThirdDisinfectionTime string `gorm:"column:third_disinfection_time" json:"third_disinfection_time" form:"third_disinfection_time"`
  1278. ThirdStartTime int64 `gorm:"column:third_start_time" json:"third_start_time" form:"third_start_time"`
  1279. ThirdEndTime int64 `gorm:"column:third_end_time" json:"third_end_time" form:"third_end_time"`
  1280. ThirdTotalTime string `gorm:"column:third_total_time" json:"third_total_time" form:"third_total_time"`
  1281. ThirdIsCheck int64 `gorm:"column:third_is_check" json:"third_is_check" form:"third_is_check"`
  1282. ThirdModifications int64 `gorm:"column:third_modifications" json:"third_modifications" form:"third_modifications"`
  1283. ThirdCreator int64 `gorm:"column:third_creator" json:"third_creator" form:"third_creator"`
  1284. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1285. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1286. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1287. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1288. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1289. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1290. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1291. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1292. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1293. Storey string `gorm:"column:storey" json:"storey" form:"storey"`
  1294. }
  1295. func (XtNewAriDisinfect) TableName() string {
  1296. return "xt_new_ari_disinfect"
  1297. }
  1298. type XtNewAriDisinfectWay struct {
  1299. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1300. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1301. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1302. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1303. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1304. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1305. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1306. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1307. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1308. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1309. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1310. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1311. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1312. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1313. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1314. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1315. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1316. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1317. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1318. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1319. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1320. Department string `gorm:"column:department" json:"department" form:"department"`
  1321. }
  1322. func (XtNewAriDisinfectWay) TableName() string {
  1323. return "xt_new_ari_disinfect_way"
  1324. }
  1325. type XtNewObjectDisinfect struct {
  1326. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1327. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1328. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1329. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1330. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1331. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1332. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1333. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1334. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1335. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1336. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1337. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1338. SencondDisinfectionWater string `gorm:"column:sencond_disinfection_water" json:"sencond_disinfection_water" form:"sencond_disinfection_water"`
  1339. SencondDisinfectionMethods string `gorm:"column:sencond_disinfection_methods" json:"sencond_disinfection_methods" form:"sencond_disinfection_methods"`
  1340. SencondDisinfectionTime string `gorm:"column:sencond_disinfection_time" json:"sencond_disinfection_time" form:"sencond_disinfection_time"`
  1341. SencondStartTime int64 `gorm:"column:sencond_start_time" json:"sencond_start_time" form:"sencond_start_time"`
  1342. SencondEndTime int64 `gorm:"column:sencond_end_time" json:"sencond_end_time" form:"sencond_end_time"`
  1343. SencondTotalTime string `gorm:"column:sencond_total_time" json:"sencond_total_time" form:"sencond_total_time"`
  1344. SencondIsCheck int64 `gorm:"column:sencond_is_check" json:"sencond_is_check" form:"sencond_is_check"`
  1345. SencondModifications int64 `gorm:"column:sencond_modifications" json:"sencond_modifications" form:"sencond_modifications"`
  1346. SencondCreator int64 `gorm:"column:sencond_creator" json:"sencond_creator" form:"sencond_creator"`
  1347. ThirdDisinfectionWater string `gorm:"column:third_disinfection_water" json:"third_disinfection_water" form:"third_disinfection_water"`
  1348. ThirdDisinfectionMethods string `gorm:"column:third_disinfection_methods" json:"third_disinfection_methods" form:"third_disinfection_methods"`
  1349. ThirdDisinfectionTime string `gorm:"column:third_disinfection_time" json:"third_disinfection_time" form:"third_disinfection_time"`
  1350. ThirdStartTime int64 `gorm:"column:third_start_time" json:"third_start_time" form:"third_start_time"`
  1351. ThirdEndTime int64 `gorm:"column:third_end_time" json:"third_end_time" form:"third_end_time"`
  1352. ThirdTotalTime string `gorm:"column:third_total_time" json:"third_total_time" form:"third_total_time"`
  1353. ThirdIsCheck int64 `gorm:"column:third_is_check" json:"third_is_check" form:"third_is_check"`
  1354. ThirdModifications int64 `gorm:"column:third_modifications" json:"third_modifications" form:"third_modifications"`
  1355. ThirdCreator int64 `gorm:"column:third_creator" json:"third_creator" form:"third_creator"`
  1356. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1357. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1358. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1359. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1360. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1361. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1362. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1363. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1364. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1365. FourthDisinfectionWater string `gorm:"column:fourth_disinfection_water" json:"fourth_disinfection_water" form:"fourth_disinfection_water"`
  1366. FourthDisinfectionMethods string `gorm:"column:fourth_disinfection_methods" json:"fourth_disinfection_methods" form:"fourth_disinfection_methods"`
  1367. FourthDisinfectionTime string `gorm:"column:fourth_disinfection_time" json:"fourth_disinfection_time" form:"fourth_disinfection_time"`
  1368. FourthStartTime int64 `gorm:"column:fourth_start_time" json:"fourth_start_time" form:"fourth_start_time"`
  1369. FourthEndTime int64 `gorm:"column:fourth_end_time" json:"fourth_end_time" form:"fourth_end_time"`
  1370. FourthTotalTime string `gorm:"column:fourth_total_time" json:"fourth_total_time" form:"fourth_total_time"`
  1371. FourthIsCheck int64 `gorm:"column:fourth_is_check" json:"fourth_is_check" form:"fourth_is_check"`
  1372. FourthModifications int64 `gorm:"column:fourth_modifications" json:"fourth_modifications" form:"fourth_modifications"`
  1373. FourthCreator int64 `gorm:"column:fourth_creator" json:"fourth_creator" form:"fourth_creator"`
  1374. LastDisinfectionWater string `gorm:"column:last_disinfection_water" json:"last_disinfection_water" form:"last_disinfection_water"`
  1375. LastDisinfectionMethods string `gorm:"column:last_disinfection_methods" json:"last_disinfection_methods" form:"last_disinfection_methods"`
  1376. LastDisinfectionTime string `gorm:"column:last_disinfection_time" json:"last_disinfection_time" form:"last_disinfection_time"`
  1377. Storey string `gorm:"column:storey" json:"storey" form:"storey"`
  1378. }
  1379. func (XtNewObjectDisinfect) TableName() string {
  1380. return "xt_new_object_disinfect"
  1381. }
  1382. type XtDialysisInformation struct {
  1383. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1384. Module int64 `gorm:"column:module" json:"module" form:"module"`
  1385. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1386. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1387. ApplicationDate int64 `gorm:"column:application_date" json:"application_date" form:"application_date"`
  1388. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  1389. ApplicationStatus int64 `gorm:"column:application_status" json:"application_status" form:"application_status"`
  1390. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  1391. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  1392. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1393. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1394. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1395. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1396. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1397. }
  1398. func (XtDialysisInformation) TableName() string {
  1399. return "xt_dialysis_information"
  1400. }
  1401. type XtDialysisRegistration struct {
  1402. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1403. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1404. ModelNumber string `gorm:"column:model_number" json:"model_number" form:"model_number"`
  1405. UserCount string `gorm:"column:user_count" json:"user_count" form:"user_count"`
  1406. ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
  1407. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
  1408. PackagingIdentification int64 `gorm:"column:packaging_identification" json:"packaging_identification" form:"packaging_identification"`
  1409. DestroyPeople int64 `gorm:"column:destroy_people" json:"destroy_people" form:"destroy_people"`
  1410. DestroyNubmer string `gorm:"column:destroy_nubmer" json:"destroy_nubmer" form:"destroy_nubmer"`
  1411. DestroyWay int64 `gorm:"column:destroy_way" json:"destroy_way" form:"destroy_way"`
  1412. Leader int64 `gorm:"column:leader" json:"leader" form:"leader"`
  1413. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1414. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1415. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1416. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1417. }
  1418. func (XtDialysisRegistration) TableName() string {
  1419. return "xt_dialysis_registration"
  1420. }
  1421. type NewDeviceInformation struct {
  1422. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1423. Date int64 `gorm:"column:date" json:"date" form:"date"`
  1424. Class int64 `gorm:"column:class" json:"class" form:"class"`
  1425. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  1426. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  1427. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1428. }
  1429. func (NewDeviceInformation) TableName() string {
  1430. return "xt_device_information"
  1431. }
  1432. type XtDeviceAirSetting struct {
  1433. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1434. AirWay int64 `gorm:"column:air_way" json:"air_way" form:"air_way"`
  1435. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1436. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1437. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1438. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1439. }
  1440. func (XtDeviceAirSetting) TableName() string {
  1441. return "xt_device_air_setting"
  1442. }
  1443. type XtDeviceObjctSet struct {
  1444. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1445. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1446. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1447. AirWay int64 `gorm:"column:air_way" json:"air_way" form:"air_way"`
  1448. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1449. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1450. }
  1451. func (XtDeviceObjctSet) TableName() string {
  1452. return "xt_device_objct_set"
  1453. }
  1454. type XtNewObjectDisinfectWay struct {
  1455. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1456. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1457. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1458. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1459. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1460. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1461. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1462. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1463. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1464. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1465. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1466. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1467. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1468. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1469. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1470. LastDisinfectionWater string `gorm:"column:last_disinfection_water" json:"last_disinfection_water" form:"last_disinfection_water"`
  1471. LastDisinfectionMethods string `gorm:"column:last_disinfection_methods" json:"last_disinfection_methods" form:"last_disinfection_methods"`
  1472. LastDisinfectionTime string `gorm:"column:last_disinfection_time" json:"last_disinfection_time" form:"last_disinfection_time"`
  1473. Department string `gorm:"column:department" json:"department" form:"department"`
  1474. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1475. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1476. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1477. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1478. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1479. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1480. }
  1481. func (XtNewObjectDisinfectWay) TableName() string {
  1482. return "xt_new_object_disinfect_way"
  1483. }