device_models.go 115KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630
  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. }
  476. func (XtSchedule) TableName() string {
  477. return "xt_schedule"
  478. }
  479. type ScheduleTen struct {
  480. ID int64 `gorm:"column:id" json:"id" form:"id"`
  481. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  482. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  483. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  484. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  485. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  486. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  487. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  488. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  489. Status int64 `gorm:"column:status" json:"status" form:"status"`
  490. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  491. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  492. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  493. DialysisMachineName string `gorm:"column:dialysis_machine_name" json:"dialysis_machine_name" form:"dialysis_machine_name"`
  494. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  495. }
  496. func (ScheduleTen) TableName() string {
  497. return "xt_schedule"
  498. }
  499. type DeviceInformationss struct {
  500. ID int64 `gorm:"column:id" json:"id" form:"id"`
  501. Date int64 `gorm:"column:date" json:"date" form:"date"`
  502. Class int64 `gorm:"column:class" json:"class" form:"class"`
  503. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  504. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  505. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  506. Contagion string `gorm:"column:contagion" json:"contagion" form:"contagion"`
  507. DialysisMode int64 `gorm:"column:dialysis_mode" json:"dialysis_mode" form:"dialysis_mode"`
  508. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  509. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  510. DialysisHour string `gorm:"column:dialysis_hour" json:"dialysis_hour" form:"dialysis_hour"`
  511. Hyperfiltratio string `gorm:"column:hyperfiltratio" json:"hyperfiltratio" form:"hyperfiltratio"`
  512. WeightLoss string `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  513. WarningValue string `gorm:"column:warning_value" json:"warning_value" form:"warning_value"`
  514. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  515. Move int64 `gorm:"column:move" json:"move" form:"move"`
  516. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  517. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  518. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  519. DisinfectType int64 `gorm:"column:disinfect_type" json:"disinfect_type" form:"disinfect_type"`
  520. DisinfectantType int64 `gorm:"column:disinfectant_type" json:"disinfectant_type" form:"disinfectant_type"`
  521. Disinfection int64 `gorm:"column:disinfection" json:"disinfection" form:"disinfection"`
  522. MachineRun int64 `gorm:"column:machine_run" json:"machine_run" form:"machine_run"`
  523. FluidPath int64 `gorm:"column:fluid_path" json:"fluid_path" form:"fluid_path"`
  524. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  525. DisinfectionStatus int64 `gorm:"column:disinfection_status" json:"disinfection_status" form:"disinfection_status"`
  526. DisinfectionResidue int64 `gorm:"column:disinfection_residue" json:"disinfection_residue" form:"disinfection_residue"`
  527. LongTime string `gorm:"column:long_time" json:"long_time" form:"long_time"`
  528. DisinfecStartime int64 `gorm:"column:disinfec_startime" json:"disinfec_startime" form:"disinfec_startime"`
  529. DisinfecEndtime int64 `gorm:"column:disinfec_endtime" json:"disinfec_endtime" form:"disinfec_endtime"`
  530. DialysisChecked int64 `gorm:"column:dialysis_checked" json:"dialysis_checked" form:"dialysis_checked"`
  531. DialysisName int64 `gorm:"column:dialysis_name" json:"dialysis_name" form:"dialysis_name"`
  532. Norms string `gorm:"column:norms" json:"norms" form:"norms"`
  533. DialysisConcentration int64 `gorm:"column:dialysis_concentration" json:"dialysis_concentration" form:"dialysis_concentration"`
  534. GermChecked int64 `gorm:"column:germ_checked" json:"germ_checked" form:"germ_checked"`
  535. GermName int64 `gorm:"column:germ_name" json:"germ_name" form:"germ_name"`
  536. GermNumber string `gorm:"column:germ_number" json:"germ_number" form:"germ_number"`
  537. Clean int64 `gorm:"column:clean" json:"clean" form:"clean"`
  538. SignName int64 `gorm:"column:sign_name" json:"sign_name" form:"sign_name"`
  539. Status int64 `gorm:"column:status" json:"status" form:"status"`
  540. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  541. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  542. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  543. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  544. Name string `gorm:"column:name" json:"name" form:"name"`
  545. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  546. }
  547. type DeviceInformations struct {
  548. ID int64 `gorm:"column:id" json:"id" form:"id"`
  549. Date int64 `gorm:"column:date" json:"date" form:"date"`
  550. Class int64 `gorm:"column:class" json:"class" form:"class"`
  551. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  552. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  553. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  554. Contagion string `gorm:"column:contagion" json:"contagion" form:"contagion"`
  555. DialysisMode int64 `gorm:"column:dialysis_mode" json:"dialysis_mode" form:"dialysis_mode"`
  556. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  557. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  558. DialysisHour string `gorm:"column:dialysis_hour" json:"dialysis_hour" form:"dialysis_hour"`
  559. Hyperfiltratio float64 `gorm:"column:hyperfiltratio" json:"hyperfiltratio" form:"hyperfiltratio"`
  560. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  561. WarningValue string `gorm:"column:warning_value" json:"warning_value" form:"warning_value"`
  562. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  563. Move int64 `gorm:"column:move" json:"move" form:"move"`
  564. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  565. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  566. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  567. DisinfectType int64 `gorm:"column:disinfect_type" json:"disinfect_type" form:"disinfect_type"`
  568. DisinfectantType int64 `gorm:"column:disinfectant_type" json:"disinfectant_type" form:"disinfectant_type"`
  569. Disinfection int64 `gorm:"column:disinfection" json:"disinfection" form:"disinfection"`
  570. MachineRun int64 `gorm:"column:machine_run" json:"machine_run" form:"machine_run"`
  571. FluidPath int64 `gorm:"column:fluid_path" json:"fluid_path" form:"fluid_path"`
  572. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  573. DisinfectionStatus int64 `gorm:"column:disinfection_status" json:"disinfection_status" form:"disinfection_status"`
  574. DisinfectionResidue int64 `gorm:"column:disinfection_residue" json:"disinfection_residue" form:"disinfection_residue"`
  575. LongTime string `gorm:"column:long_time" json:"long_time" form:"long_time"`
  576. DisinfecStartime int64 `gorm:"column:disinfec_startime" json:"disinfec_startime" form:"disinfec_startime"`
  577. DisinfecEndtime int64 `gorm:"column:disinfec_endtime" json:"disinfec_endtime" form:"disinfec_endtime"`
  578. DialysisChecked int64 `gorm:"column:dialysis_checked" json:"dialysis_checked" form:"dialysis_checked"`
  579. DialysisName int64 `gorm:"column:dialysis_name" json:"dialysis_name" form:"dialysis_name"`
  580. Norms string `gorm:"column:norms" json:"norms" form:"norms"`
  581. DialysisConcentration int64 `gorm:"column:dialysis_concentration" json:"dialysis_concentration" form:"dialysis_concentration"`
  582. GermChecked int64 `gorm:"column:germ_checked" json:"germ_checked" form:"germ_checked"`
  583. GermName int64 `gorm:"column:germ_name" json:"germ_name" form:"germ_name"`
  584. GermNumber string `gorm:"column:germ_number" json:"germ_number" form:"germ_number"`
  585. Clean int64 `gorm:"column:clean" json:"clean" form:"clean"`
  586. SignName int64 `gorm:"column:sign_name" json:"sign_name" form:"sign_name"`
  587. Status int64 `gorm:"column:status" json:"status" form:"status"`
  588. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  589. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  590. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  591. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  592. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  593. Name string `gorm:"column:name" json:"name" form:"name"`
  594. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  595. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id"`
  596. }
  597. type DeviceInformation struct {
  598. ID int64 `gorm:"column:id" json:"id" form:"id"`
  599. Date int64 `gorm:"column:date" json:"date" form:"date"`
  600. Class int64 `gorm:"column:class" json:"class" form:"class"`
  601. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  602. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  603. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  604. Contagion string `gorm:"column:contagion" json:"contagion" form:"contagion"`
  605. DialysisMode int64 `gorm:"column:dialysis_mode" json:"dialysis_mode" form:"dialysis_mode"`
  606. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  607. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  608. DialysisHour string `gorm:"column:dialysis_hour" json:"dialysis_hour" form:"dialysis_hour"`
  609. Hyperfiltratio float64 `gorm:"column:hyperfiltratio" json:"hyperfiltratio" form:"hyperfiltratio"`
  610. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  611. WarningValue string `gorm:"column:warning_value" json:"warning_value" form:"warning_value"`
  612. UserTotal string `gorm:"column:user_total" json:"user_total" form:"user_total"`
  613. Move int64 `gorm:"column:move" json:"move" form:"move"`
  614. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  615. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  616. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  617. DisinfectType int64 `gorm:"column:disinfect_type" json:"disinfect_type" form:"disinfect_type"`
  618. DisinfectantType int64 `gorm:"column:disinfectant_type" json:"disinfectant_type" form:"disinfectant_type"`
  619. Disinfection int64 `gorm:"column:disinfection" json:"disinfection" form:"disinfection"`
  620. MachineRun int64 `gorm:"column:machine_run" json:"machine_run" form:"machine_run"`
  621. FluidPath int64 `gorm:"column:fluid_path" json:"fluid_path" form:"fluid_path"`
  622. Disinfectant int64 `gorm:"column:disinfectant" json:"disinfectant" form:"disinfectant"`
  623. DisinfectionStatus int64 `gorm:"column:disinfection_status" json:"disinfection_status" form:"disinfection_status"`
  624. DisinfectionResidue int64 `gorm:"column:disinfection_residue" json:"disinfection_residue" form:"disinfection_residue"`
  625. LongTime string `gorm:"column:long_time" json:"long_time" form:"long_time"`
  626. DisinfecStartime int64 `gorm:"column:disinfec_startime" json:"disinfec_startime" form:"disinfec_startime"`
  627. DisinfecEndtime int64 `gorm:"column:disinfec_endtime" json:"disinfec_endtime" form:"disinfec_endtime"`
  628. DialysisChecked int64 `gorm:"column:dialysis_checked" json:"dialysis_checked" form:"dialysis_checked"`
  629. DialysisName int64 `gorm:"column:dialysis_name" json:"dialysis_name" form:"dialysis_name"`
  630. Norms string `gorm:"column:norms" json:"norms" form:"norms"`
  631. DialysisConcentration int64 `gorm:"column:dialysis_concentration" json:"dialysis_concentration" form:"dialysis_concentration"`
  632. GermChecked int64 `gorm:"column:germ_checked" json:"germ_checked" form:"germ_checked"`
  633. GermName int64 `gorm:"column:germ_name" json:"germ_name" form:"germ_name"`
  634. GermNumber string `gorm:"column:germ_number" json:"germ_number" form:"germ_number"`
  635. Clean int64 `gorm:"column:clean" json:"clean" form:"clean"`
  636. SignName int64 `gorm:"column:sign_name" json:"sign_name" form:"sign_name"`
  637. Status int64 `gorm:"column:status" json:"status" form:"status"`
  638. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  639. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  640. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  641. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  642. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  643. Stime int64 `gorm:"column:stime" json:"stime" form:"stime"`
  644. BedWay int64 `gorm:"column:bed_way" json:"bed_way" form:"bed_way"`
  645. }
  646. func (DeviceInformation) TableName() string {
  647. return "xt_device_information"
  648. }
  649. type DeviceCultures struct {
  650. ID int64 `gorm:"column:id" json:"id" form:"id"`
  651. SpelingDate int64 `gorm:"column:speling_date" json:"speling_date" form:"speling_date"`
  652. Specimen int64 `gorm:"column:specimen" json:"specimen" form:"specimen"`
  653. ConcentrateNoa string `gorm:"column:concentrate_noa" json:"concentrate_noa" form:"concentrate_noa"`
  654. ConcentrateNob string `gorm:"column:concentrate_nob" json:"concentrate_nob" form:"concentrate_nob"`
  655. SamplingLocationa int64 `gorm:"column:sampling_locationa" json:"sampling_locationa" form:"sampling_locationa"`
  656. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  657. Sampler int64 `gorm:"column:sampler" json:"sampler" form:"sampler"`
  658. ReportingDate int64 `gorm:"column:reporting_date" json:"reporting_date" form:"reporting_date"`
  659. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  660. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  661. Status int64 `gorm:"column:status" json:"status" form:"status"`
  662. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  663. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  664. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  665. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  666. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  667. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  668. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  669. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  670. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  671. }
  672. // 细菌培养检测
  673. type DeviceCulture struct {
  674. ID int64 `gorm:"column:id" json:"id" form:"id"`
  675. SpelingDate int64 `gorm:"column:speling_date" json:"speling_date" form:"speling_date"`
  676. Specimen int64 `gorm:"column:specimen" json:"specimen" form:"specimen"`
  677. ConcentrateNoa string `gorm:"column:concentrate_noa" json:"concentrate_noa" form:"concentrate_noa"`
  678. ConcentrateNob string `gorm:"column:concentrate_nob" json:"concentrate_nob" form:"concentrate_nob"`
  679. SamplingLocationa int64 `gorm:"column:sampling_locationa" json:"sampling_locationa" form:"sampling_locationa"`
  680. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  681. Sampler int64 `gorm:"column:sampler" json:"sampler" form:"sampler"`
  682. ReportingDate int64 `gorm:"column:reporting_date" json:"reporting_date" form:"reporting_date"`
  683. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  684. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  685. Status int64 `gorm:"column:status" json:"status" form:"status"`
  686. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  687. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  688. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  689. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  690. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  691. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  692. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  693. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  694. }
  695. func (DeviceCulture) TableName() string {
  696. return "xt_device_culture"
  697. }
  698. type DeviceDialysates struct {
  699. ID int64 `gorm:"column:id" json:"id" form:"id"`
  700. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  701. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  702. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  703. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  704. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  705. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  706. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  707. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  708. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  709. Status int64 `gorm:"column:status" json:"status" form:"status"`
  710. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  711. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  712. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  713. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  714. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  715. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  716. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  717. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  718. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  719. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  720. }
  721. // 内霉素检测
  722. type DeviceDialysate struct {
  723. ID int64 `gorm:"column:id" json:"id" form:"id"`
  724. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  725. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  726. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  727. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  728. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  729. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  730. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  731. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  732. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  733. Status int64 `gorm:"column:status" json:"status" form:"status"`
  734. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  735. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  736. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  737. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  738. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  739. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  740. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  741. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  742. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  743. }
  744. func (DeviceDialysate) TableName() string {
  745. return "xt_device_dialysate"
  746. }
  747. type DeviceIons struct {
  748. ID int64 `gorm:"column:id" json:"id" form:"id"`
  749. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  750. Samplerc int64 `gorm:"column:samplerc" json:"samplerc" form:"samplerc"`
  751. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  752. ConcentrateNof string `gorm:"column:concentrate_nof" json:"concentrate_nof" form:"concentrate_nof"`
  753. ConcentrateNog string `gorm:"column:concentrate_nog" json:"concentrate_nog" form:"concentrate_nog"`
  754. DateReportc int64 `gorm:"column:date_reportc" json:"date_reportc" form:"date_reportc"`
  755. ActualNa string `gorm:"column:actual_na" json:"actual_na" form:"actual_na"`
  756. ActualPna string `gorm:"column:actual_pna" json:"actual_pna" form:"actual_pna"`
  757. ActualK string `gorm:"column:actual_k" json:"actual_k" form:"actual_k"`
  758. ActualCa string `gorm:"column:actual_ca" json:"actual_ca" form:"actual_ca"`
  759. ActualCi string `gorm:"column:actual_ci" json:"actual_ci" form:"actual_ci"`
  760. ActualHco string `gorm:"column:actual_hco" json:"actual_hco" form:"actual_hco"`
  761. ActualMg string `gorm:"column:actual_mg" json:"actual_mg" form:"actual_mg"`
  762. ActualPh string `gorm:"column:actual_ph" json:"actual_ph" form:"actual_ph"`
  763. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  764. Status int64 `gorm:"column:status" json:"status" form:"status"`
  765. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  766. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  767. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  768. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  769. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  770. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  771. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  772. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  773. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  774. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  775. }
  776. // 透析液离子浓度检测
  777. type DeviceIon struct {
  778. ID int64 `gorm:"column:id" json:"id" form:"id"`
  779. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  780. Samplerc int64 `gorm:"column:samplerc" json:"samplerc" form:"samplerc"`
  781. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  782. ConcentrateNof string `gorm:"column:concentrate_nof" json:"concentrate_nof" form:"concentrate_nof"`
  783. ConcentrateNog string `gorm:"column:concentrate_nog" json:"concentrate_nog" form:"concentrate_nog"`
  784. DateReportc int64 `gorm:"column:date_reportc" json:"date_reportc" form:"date_reportc"`
  785. ActualNa string `gorm:"column:actual_na" json:"actual_na" form:"actual_na"`
  786. ActualPna string `gorm:"column:actual_pna" json:"actual_pna" form:"actual_pna"`
  787. ActualK string `gorm:"column:actual_k" json:"actual_k" form:"actual_k"`
  788. ActualCa string `gorm:"column:actual_ca" json:"actual_ca" form:"actual_ca"`
  789. ActualCi string `gorm:"column:actual_ci" json:"actual_ci" form:"actual_ci"`
  790. ActualHco string `gorm:"column:actual_hco" json:"actual_hco" form:"actual_hco"`
  791. ActualMg string `gorm:"column:actual_mg" json:"actual_mg" form:"actual_mg"`
  792. ActualPh string `gorm:"column:actual_ph" json:"actual_ph" form:"actual_ph"`
  793. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  794. Status int64 `gorm:"column:status" json:"status" form:"status"`
  795. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  796. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  797. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  798. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  799. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  800. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  801. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  802. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  803. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  804. }
  805. func (DeviceIon) TableName() string {
  806. return "xt_device_ion"
  807. }
  808. type DeviceRepairs struct {
  809. ID int64 `gorm:"column:id" json:"id" form:"id"`
  810. GuaranteeDate int64 `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  811. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  812. ArriveTime int64 `gorm:"column:arrive_time" json:"arrive_time" form:"arrive_time"`
  813. FinishTime int64 `gorm:"column:finish_time" json:"finish_time" form:"finish_time"`
  814. TotalDistance string `gorm:"column:total_distance" json:"total_distance" form:"total_distance"`
  815. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  816. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  817. CauseAnalysis string `gorm:"column:cause_analysis" json:"cause_analysis" form:"cause_analysis"`
  818. TreatmentProcess string `gorm:"column:treatment_process" json:"treatment_process" form:"treatment_process"`
  819. Images string `gorm:"column:images" json:"images" form:"images"`
  820. Exclude int64 `gorm:"column:exclude" json:"exclude" form:"exclude"`
  821. Reason string `gorm:"column:reason" json:"reason" form:"reason"`
  822. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  823. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  824. Status int64 `gorm:"column:status" json:"status" form:"status"`
  825. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  826. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  827. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  828. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  829. Number string `gorm:"column:number" json:"bed_number" form:"number"`
  830. }
  831. type DeviceRepair struct {
  832. ID int64 `gorm:"column:id" json:"id" form:"id"`
  833. GuaranteeDate int64 `gorm:"column:guarantee_date" json:"guarantee_date" form:"guarantee_date"`
  834. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  835. ArriveTime int64 `gorm:"column:arrive_time" json:"arrive_time" form:"arrive_time"`
  836. FinishTime int64 `gorm:"column:finish_time" json:"finish_time" form:"finish_time"`
  837. TotalDistance string `gorm:"column:total_distance" json:"total_distance" form:"total_distance"`
  838. FailureStage int64 `gorm:"column:failure_stage" json:"failure_stage" form:"failure_stage"`
  839. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  840. CauseAnalysis string `gorm:"column:cause_analysis" json:"cause_analysis" form:"cause_analysis"`
  841. TreatmentProcess string `gorm:"column:treatment_process" json:"treatment_process" form:"treatment_process"`
  842. Images string `gorm:"column:images" json:"images" form:"images"`
  843. Exclude int64 `gorm:"column:exclude" json:"exclude" form:"exclude"`
  844. Reason string `gorm:"column:reason" json:"reason" form:"reason"`
  845. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  846. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  847. Status int64 `gorm:"column:status" json:"status" form:"status"`
  848. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  849. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  850. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  851. CodeInformation string `gorm:"column:code_information" json:"code_information" form:"code_information"`
  852. ImageName string `gorm:"column:image_name" json:"image_name" form:"image_name"`
  853. FunctionAccessoriesInspection string `gorm:"column:function_accessories_inspection" json:"function_accessories_inspection" form:"function_accessories_inspection"`
  854. OtherInformation string `gorm:"column:other_information" json:"other_information" form:"other_information"`
  855. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  856. }
  857. func (DeviceRepair) TableName() string {
  858. return "xt_device_repair"
  859. }
  860. type XtAssessmentAfterDislysis struct {
  861. ID int64 `gorm:"column:id" json:"id" form:"id"`
  862. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  863. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  864. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  865. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  866. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  867. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency" form:"pulse_frequency"`
  868. BreathingRate string `gorm:"column:breathing_rate" json:"breathing_rate" form:"breathing_rate"`
  869. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure" form:"systolic_blood_pressure"`
  870. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure" form:"diastolic_blood_pressure"`
  871. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type" form:"blood_pressure_type"`
  872. ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration" form:"actual_ultrafiltration"`
  873. ActualDisplacement float64 `gorm:"column:actual_displacement" json:"actual_displacement" form:"actual_displacement"`
  874. ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour" form:"actual_treatment_hour"`
  875. ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute" form:"actual_treatment_minute"`
  876. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way" form:"weighing_way"`
  877. WeightAfter float64 `gorm:"column:weight_after" json:"weight_after" form:"weight_after"`
  878. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight" form:"additional_weight"`
  879. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss" form:"weight_loss"`
  880. Cruor string `gorm:"column:cruor" json:"cruor" form:"cruor"`
  881. SymptomAfterDialysis string `gorm:"column:symptom_after_dialysis" json:"symptom_after_dialysis" form:"symptom_after_dialysis"`
  882. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula" form:"internal_fistula"`
  883. Catheter string `gorm:"column:catheter" json:"catheter" form:"catheter"`
  884. Complication string `gorm:"column:complication" json:"complication" form:"complication"`
  885. Evaluator int64 `gorm:"column:evaluator" json:"evaluator" form:"evaluator"`
  886. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  887. DialysisIntakes float64 `gorm:"column:dialysis_intakes" json:"dialysis_intakes" form:"dialysis_intakes"`
  888. DialysisIntakesFeed int64 `gorm:"column:dialysis_intakes_feed" json:"dialysis_intakes_feed" form:"dialysis_intakes_feed"`
  889. DialysisIntakesTransfusion int64 `gorm:"column:dialysis_intakes_transfusion" json:"dialysis_intakes_transfusion" form:"dialysis_intakes_transfusion"`
  890. DialysisIntakesBloodTransfusion int64 `gorm:"column:dialysis_intakes_blood_transfusion" json:"dialysis_intakes_blood_transfusion" form:"dialysis_intakes_blood_transfusion"`
  891. DialysisIntakesWashpipe int64 `gorm:"column:dialysis_intakes_washpipe" json:"dialysis_intakes_washpipe" form:"dialysis_intakes_washpipe"`
  892. Status int64 `gorm:"column:status" json:"status" form:"status"`
  893. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  894. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  895. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  896. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  897. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  898. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  899. PuncturePointOozingBlood int64 `gorm:"column:puncture_point_oozing_blood" json:"puncture_point_oozing_blood" form:"puncture_point_oozing_blood"`
  900. PuncturePointHaematoma int64 `gorm:"column:puncture_point_haematoma" json:"puncture_point_haematoma" form:"puncture_point_haematoma"`
  901. InternalFistulaTremorAc int64 `gorm:"column:internal_fistula_tremor_ac" json:"internal_fistula_tremor_ac" form:"internal_fistula_tremor_ac"`
  902. PatientGose int64 `gorm:"column:patient_gose" json:"patient_gose" form:"patient_gose"`
  903. InpatientDepartment string `gorm:"column:inpatient_department" json:"inpatient_department" form:"inpatient_department"`
  904. ObservationContent string `gorm:"column:observation_content" json:"observation_content" form:"observation_content"`
  905. ObservationContentOther string `gorm:"column:observation_content_other" json:"observation_content_other" form:"observation_content_other"`
  906. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  907. DialysisProcess int64 `gorm:"column:dialysis_process" json:"dialysis_process" form:"dialysis_process"`
  908. InAdvanceMinute float64 `gorm:"column:in_advance_minute" json:"in_advance_minute" form:"in_advance_minute"`
  909. InAdvanceReason string `gorm:"column:in_advance_reason" json:"in_advance_reason" form:"in_advance_reason"`
  910. HemostasisMinute int64 `gorm:"column:hemostasis_minute" json:"hemostasis_minute" form:"hemostasis_minute"`
  911. HemostasisOpera int64 `gorm:"column:hemostasis_opera" json:"hemostasis_opera" form:"hemostasis_opera"`
  912. TremorNoise int64 `gorm:"column:tremor_noise" json:"tremor_noise" form:"tremor_noise"`
  913. DisequilibriumSyndrome int64 `gorm:"column:disequilibrium_syndrome" json:"disequilibrium_syndrome" form:"disequilibrium_syndrome"`
  914. DisequilibriumSyndromeOption string `gorm:"column:disequilibrium_syndrome_option" json:"disequilibrium_syndrome_option" form:"disequilibrium_syndrome_option"`
  915. ArterialTube int64 `gorm:"column:arterial_tube" json:"arterial_tube" form:"arterial_tube"`
  916. IntravenousTube int64 `gorm:"column:intravenous_tube" json:"intravenous_tube" form:"intravenous_tube"`
  917. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  918. InAdvanceReasonOther string `gorm:"column:in_advance_reason_other" json:"in_advance_reason_other" form:"in_advance_reason_other"`
  919. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor" form:"assessment_doctor"`
  920. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time" form:"assessment_time"`
  921. IsEat int64 `gorm:"column:is_eat" json:"is_eat" form:"is_eat"`
  922. DialysisIntakesUnit int64 `gorm:"column:dialysis_intakes_unit" json:"dialysis_intakes_unit" form:"dialysis_intakes_unit"`
  923. CvcA float64 `gorm:"column:cvc_a" json:"cvc_a" form:"cvc_a"`
  924. CvcV float64 `gorm:"column:cvc_v" json:"cvc_v" form:"cvc_v"`
  925. Channel int64 `gorm:"column:channel" json:"channel" form:"channel"`
  926. SealingFluidDispose string `gorm:"column:sealing_fluid_dispose" json:"sealing_fluid_dispose" form:"sealing_fluid_dispose"`
  927. Ktv string `gorm:"column:ktv" json:"ktv" form:"ktv"`
  928. Urr string `gorm:"column:urr" json:"urr" form:"urr"`
  929. }
  930. func (XtAssessmentAfterDislysis) TableName() string {
  931. return "xt_assessment_after_dislysis"
  932. }
  933. type DeviceRemander struct {
  934. ID int64 `gorm:"column:id" json:"id" form:"id"`
  935. IsRun int64 `gorm:"column:is_run" json:"is_run" form:"is_run"`
  936. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  937. Status int64 `gorm:"column:status" json:"status" form:"status"`
  938. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  939. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  940. }
  941. func (DeviceRemander) TableName() string {
  942. return "xt_device_remander"
  943. }
  944. type DeviceMode struct {
  945. ID int64 `gorm:"column:id" json:"id" form:"id"`
  946. DeviceMode string `gorm:"column:device_mode" json:"device_mode" form:"device_mode"`
  947. Status int64 `gorm:"column:status" json:"status" form:"status"`
  948. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  949. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  950. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  951. }
  952. func (DeviceMode) TableName() string {
  953. return "xt_device_mode"
  954. }
  955. type VmDeviceInformation struct {
  956. Total int64
  957. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  958. }
  959. func (VmDeviceInformation) TableName() string {
  960. return "xt_device_information"
  961. }
  962. type VmSchedule struct {
  963. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  964. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  965. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  966. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  967. Partition int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  968. Name string `gorm:"column:name" json:"name" form:"name"`
  969. Number string `gorm:"column:number" json:"number" form:"number"`
  970. ZoneName string `gorm:"column:name" json:"zon_name" form:"name"`
  971. DialysisMachineName string `gorm:"column:dialysis_machine_name" json:"dialysis_machine_name" form:"dialysis_machine_name"`
  972. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  973. }
  974. type XtDeviceOxygenates struct {
  975. ID int64 `gorm:"column:id" json:"id" form:"id"`
  976. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  977. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  978. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  979. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  980. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  981. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  982. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  983. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  984. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  985. Status int64 `gorm:"column:status" json:"status" form:"status"`
  986. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  987. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  988. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  989. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  990. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  991. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  992. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  993. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  994. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  995. }
  996. func (XtDeviceOxygenates) TableName() string {
  997. return "xt_device_oxygenates"
  998. }
  999. type XtDeviceHadwater struct {
  1000. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1001. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  1002. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  1003. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  1004. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  1005. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  1006. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  1007. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  1008. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  1009. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  1010. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1011. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1012. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1013. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1014. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1015. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  1016. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  1017. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  1018. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  1019. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  1020. }
  1021. func (XtDeviceHadwater) TableName() string {
  1022. return "xt_device_hadwater"
  1023. }
  1024. type XtDeviceWater struct {
  1025. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1026. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  1027. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  1028. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  1029. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  1030. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  1031. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  1032. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  1033. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  1034. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  1035. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1036. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1037. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1038. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1039. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1040. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  1041. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  1042. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  1043. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  1044. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  1045. }
  1046. func (XtDeviceWater) TableName() string {
  1047. return "xt_device_water"
  1048. }
  1049. type XtDevicePh struct {
  1050. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1051. SamplingDate int64 `gorm:"column:sampling_date" json:"sampling_date" form:"sampling_date"`
  1052. Specimenb int64 `gorm:"column:specimenb" json:"specimenb" form:"specimenb"`
  1053. ConcentrateNoc string `gorm:"column:concentrate_noc" json:"concentrate_noc" form:"concentrate_noc"`
  1054. ConcentratebNod string `gorm:"column:concentrateb_nod" json:"concentrateb_nod" form:"concentrateb_nod"`
  1055. SamplingLocationb int64 `gorm:"column:sampling_locationb" json:"sampling_locationb" form:"sampling_locationb"`
  1056. DetectionUnit string `gorm:"column:detection_unit" json:"detection_unit" form:"detection_unit"`
  1057. Samplerb int64 `gorm:"column:samplerb" json:"samplerb" form:"samplerb"`
  1058. ReportingDateb int64 `gorm:"column:reporting_dateb" json:"reporting_dateb" form:"reporting_dateb"`
  1059. DetectionResultb string `gorm:"column:detection_resultb" json:"detection_resultb" form:"detection_resultb"`
  1060. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1061. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1062. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1063. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1064. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1065. EquitmentId int64 `gorm:"column:equitment_id" json:"equitment_id" form:"equitment_id"`
  1066. Bed string `gorm:"column:bed" json:"bed" form:"bed"`
  1067. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  1068. PassExamination int64 `gorm:"column:pass_examination" json:"pass_examination" form:"pass_examination"`
  1069. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  1070. }
  1071. func (XtDevicePh) TableName() string {
  1072. return "xt_device_ph"
  1073. }
  1074. type XtRemindPrintSetting struct {
  1075. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1076. PrescriptionStatus int64 `gorm:"column:prescription_status" json:"prescription_status" form:"prescription_status"`
  1077. Week int64 `gorm:"column:week" json:"week" form:"week"`
  1078. Name int64 `gorm:"column:name" json:"name" form:"name"`
  1079. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  1080. Classes int64 `gorm:"column:classes" json:"classes" form:"classes"`
  1081. Number int64 `gorm:"column:number" json:"number" form:"number"`
  1082. Mode int64 `gorm:"column:mode" json:"mode" form:"mode"`
  1083. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  1084. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  1085. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  1086. DoctorAdvice int64 `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
  1087. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1088. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1089. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1090. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1091. AnticoagulantZongliang int64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  1092. }
  1093. func (XtRemindPrintSetting) TableName() string {
  1094. return "xt_remind_print_setting"
  1095. }
  1096. type VmXtSchedule struct {
  1097. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1098. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1099. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1100. Count int64
  1101. }
  1102. type PatientDeviceNumber struct {
  1103. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1104. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1105. Number string `gorm:"column:number" json:"number" form:"number"`
  1106. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1107. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1108. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1109. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1110. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1111. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1112. DeviceZone DeviceZone `json:"zone" gorm:"foreignkey:ID;AssociationForeignKey:ZoneId;"`
  1113. Schedule []*BlodSchedule `json:"schedule" gorm:"foreignkey:BedId;AssociationForeignKey:ID;"`
  1114. }
  1115. func (PatientDeviceNumber) TableName() string {
  1116. return "xt_device_number"
  1117. }
  1118. type PatientDialysisOrder struct {
  1119. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1120. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date" form:"dialysis_date"`
  1121. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1122. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1123. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  1124. Stage int64 `gorm:"column:stage" json:"stage" form:"stage"`
  1125. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1126. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1127. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse" form:"start_nurse"`
  1128. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse" form:"finish_nurse"`
  1129. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1130. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1131. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1132. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse" form:"puncture_nurse"`
  1133. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  1134. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  1135. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator" form:"finish_creator"`
  1136. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier" form:"finish_modifier"`
  1137. SchedualType int64 `gorm:"column:schedual_type" json:"schedual_type" form:"schedual_type"`
  1138. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  1139. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  1140. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  1141. ChangeNurse int64 `gorm:"column:change_nurse" json:"change_nurse" form:"change_nurse"`
  1142. DifficultPunctureNurse int64 `gorm:"column:difficult_puncture_nurse" json:"difficult_puncture_nurse" form:"difficult_puncture_nurse"`
  1143. NewFistulaNurse int64 `gorm:"column:new_fistula_nurse" json:"new_fistula_nurse" form:"new_fistula_nurse"`
  1144. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1145. }
  1146. func (PatientDialysisOrder) TableName() string {
  1147. return "xt_dialysis_order"
  1148. }
  1149. type ScheduleDeviceNumber struct {
  1150. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1151. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1152. Number string `gorm:"column:number" json:"number" form:"number"`
  1153. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1154. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1155. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1156. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1157. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1158. }
  1159. func (ScheduleDeviceNumber) TableName() string {
  1160. return "xt_device_number"
  1161. }
  1162. type SgjDeviceNumber struct {
  1163. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1164. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  1165. Number string `gorm:"column:number" json:"number" form:"number"`
  1166. GroupId int64 `gorm:"column:group_id" json:"group_id" form:"group_id"`
  1167. ZoneId int64 `gorm:"column:zone_id" json:"zone_id" form:"zone_id"`
  1168. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1169. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1170. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1171. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  1172. Zone *DeviceZone `gorm:"ForeignKey:ZoneId" json:"zone"`
  1173. }
  1174. func (SgjDeviceNumber) TableName() string {
  1175. return "xt_device_number"
  1176. }
  1177. type XtScheduleSix struct {
  1178. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1179. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1180. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1181. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  1182. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1183. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1184. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1185. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  1186. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  1187. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1188. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  1189. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  1190. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  1191. }
  1192. func (XtScheduleSix) TableName() string {
  1193. return "xt_schedule"
  1194. }
  1195. type XtScheduleSeven struct {
  1196. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1197. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1198. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  1199. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  1200. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  1201. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1202. Count int64
  1203. }
  1204. func (XtScheduleSeven) TableName() string {
  1205. return "xt_schedule"
  1206. }
  1207. type XtDialysisDeviceWater struct {
  1208. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1209. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1210. EquimentId int64 `gorm:"column:equiment_id" json:"equiment_id" form:"equiment_id"`
  1211. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1212. MachineStatus int64 `gorm:"column:machine_status" json:"machine_status" form:"machine_status"`
  1213. FaultDescription string `gorm:"column:fault_description" json:"fault_description" form:"fault_description"`
  1214. WaterConductivity float64 `gorm:"column:water_conductivity" json:"water_conductivity" form:"water_conductivity"`
  1215. WaterPressure float64 `gorm:"column:water_pressure" json:"water_pressure" form:"water_pressure"`
  1216. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  1217. ForcePumpStatus int64 `gorm:"column:force_pump_status" json:"force_pump_status" form:"force_pump_status"`
  1218. FirstRoMembraneWater float64 `gorm:"column:first_ro_membrane_water" json:"first_ro_membrane_water" form:"first_ro_membrane_water"`
  1219. FirstRoFilmThickWater float64 `gorm:"column:first_ro_film_thick_water" json:"first_ro_film_thick_water" form:"first_ro_film_thick_water"`
  1220. FirstRoMembraneEffluent float64 `gorm:"column:first_ro_membrane_effluent" json:"first_ro_membrane_effluent" form:"first_ro_membrane_effluent"`
  1221. FirstProductionOfWaterConductivity float64 `gorm:"column:first_production_of_water_conductivity" json:"first_production_of_water_conductivity" form:"first_production_of_water_conductivity"`
  1222. FirstWaterYield float64 `gorm:"column:first_water_yield" json:"first_water_yield" form:"first_water_yield"`
  1223. LastRoMembraneWater float64 `gorm:"column:last_ro_membrane_water" json:"last_ro_membrane_water" form:"last_ro_membrane_water"`
  1224. LastRoFilmThickWater float64 `gorm:"column:last_ro_film_thick_water" json:"last_ro_film_thick_water" form:"last_ro_film_thick_water"`
  1225. LastRoMembraneEffluent float64 `gorm:"column:last_ro_membrane_effluent" json:"last_ro_membrane_effluent" form:"last_ro_membrane_effluent"`
  1226. LastProductionOfWaterConductivity float64 `gorm:"column:last_production_of_water_conductivity" json:"last_production_of_water_conductivity" form:"last_production_of_water_conductivity"`
  1227. LastWaterYield float64 `gorm:"column:last_water_yield" json:"last_water_yield" form:"last_water_yield"`
  1228. CarbonTank float64 `gorm:"column:carbon_tank" json:"carbon_tank" form:"carbon_tank"`
  1229. SndTank float64 `gorm:"column:snd_tank" json:"snd_tank" form:"snd_tank"`
  1230. ResinTank float64 `gorm:"column:resin_tank" json:"resin_tank" form:"resin_tank"`
  1231. Ultrafilter float64 `gorm:"column:ultrafilter" json:"ultrafilter" form:"ultrafilter"`
  1232. HardnessMonitoring float64 `gorm:"column:hardness_monitoring" json:"hardness_monitoring" form:"hardness_monitoring"`
  1233. TotalChlorineDetection float64 `gorm:"column:total_chlorine_detection" json:"total_chlorine_detection" form:"total_chlorine_detection"`
  1234. ConcentrationOfPeroxyaceticAcid float64 `gorm:"column:concentration_of_peroxyacetic_acid" json:"concentration_of_peroxyacetic_acid" form:"concentration_of_peroxyacetic_acid"`
  1235. ReverseOsmosisMembraneDisinfection int64 `gorm:"column:reverse_osmosis_membrane_disinfection" json:"reverse_osmosis_membrane_disinfection" form:"reverse_osmosis_membrane_disinfection"`
  1236. FirstDisinfectionMethod int64 `gorm:"column:first_disinfection_method" json:"first_disinfection_method" form:"first_disinfection_method"`
  1237. LastDisinfectionMethod int64 `gorm:"column:last_disinfection_method" json:"last_disinfection_method" form:"last_disinfection_method"`
  1238. FirstDisinfectionTime float64 `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1239. LastDisinfectionTime float64 `gorm:"column:last_disinfection_time" json:"last_disinfection_time" form:"last_disinfection_time"`
  1240. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1241. FilterReplacement int64 `gorm:"column:filter_replacement" json:"filter_replacement" form:"filter_replacement"`
  1242. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  1243. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1244. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1245. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1246. PhDetection float64 `gorm:"column:ph_detection" json:"ph_detection" form:"ph_detection"`
  1247. DisinfectionOfWaterPipeline int64 `gorm:"column:disinfection_of_water_pipeline" json:"disinfection_of_water_pipeline" form:"disinfection_of_water_pipeline"`
  1248. }
  1249. func (XtDialysisDeviceWater) TableName() string {
  1250. return "xt_dialysis_device_water"
  1251. }
  1252. type XtNewAriDisinfect struct {
  1253. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1254. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1255. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1256. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1257. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1258. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1259. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1260. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1261. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1262. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1263. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1264. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1265. SencondDisinfectionWater string `gorm:"column:sencond_disinfection_water" json:"sencond_disinfection_water" form:"sencond_disinfection_water"`
  1266. SencondDisinfectionMethods string `gorm:"column:sencond_disinfection_methods" json:"sencond_disinfection_methods" form:"sencond_disinfection_methods"`
  1267. SencondDisinfectionTime string `gorm:"column:sencond_disinfection_time" json:"sencond_disinfection_time" form:"sencond_disinfection_time"`
  1268. SencondStartTime int64 `gorm:"column:sencond_start_time" json:"sencond_start_time" form:"sencond_start_time"`
  1269. SencondEndTime int64 `gorm:"column:sencond_end_time" json:"sencond_end_time" form:"sencond_end_time"`
  1270. SencondTotalTime string `gorm:"column:sencond_total_time" json:"sencond_total_time" form:"sencond_total_time"`
  1271. SencondIsCheck int64 `gorm:"column:sencond_is_check" json:"sencond_is_check" form:"sencond_is_check"`
  1272. SencondModifications int64 `gorm:"column:sencond_modifications" json:"sencond_modifications" form:"sencond_modifications"`
  1273. SencondCreator int64 `gorm:"column:sencond_creator" json:"sencond_creator" form:"sencond_creator"`
  1274. ThirdDisinfectionWater string `gorm:"column:third_disinfection_water" json:"third_disinfection_water" form:"third_disinfection_water"`
  1275. ThirdDisinfectionMethods string `gorm:"column:third_disinfection_methods" json:"third_disinfection_methods" form:"third_disinfection_methods"`
  1276. ThirdDisinfectionTime string `gorm:"column:third_disinfection_time" json:"third_disinfection_time" form:"third_disinfection_time"`
  1277. ThirdStartTime int64 `gorm:"column:third_start_time" json:"third_start_time" form:"third_start_time"`
  1278. ThirdEndTime int64 `gorm:"column:third_end_time" json:"third_end_time" form:"third_end_time"`
  1279. ThirdTotalTime string `gorm:"column:third_total_time" json:"third_total_time" form:"third_total_time"`
  1280. ThirdIsCheck int64 `gorm:"column:third_is_check" json:"third_is_check" form:"third_is_check"`
  1281. ThirdModifications int64 `gorm:"column:third_modifications" json:"third_modifications" form:"third_modifications"`
  1282. ThirdCreator int64 `gorm:"column:third_creator" json:"third_creator" form:"third_creator"`
  1283. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1284. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1285. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1286. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1287. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1288. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1289. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1290. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1291. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1292. Storey string `gorm:"column:storey" json:"storey" form:"storey"`
  1293. }
  1294. func (XtNewAriDisinfect) TableName() string {
  1295. return "xt_new_ari_disinfect"
  1296. }
  1297. type XtNewAriDisinfectWay struct {
  1298. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1299. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1300. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1301. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1302. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1303. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1304. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1305. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1306. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1307. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1308. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1309. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1310. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1311. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1312. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1313. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1314. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1315. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1316. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1317. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1318. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1319. Department string `gorm:"column:department" json:"department" form:"department"`
  1320. }
  1321. func (XtNewAriDisinfectWay) TableName() string {
  1322. return "xt_new_ari_disinfect_way"
  1323. }
  1324. type XtNewObjectDisinfect struct {
  1325. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1326. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1327. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1328. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1329. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1330. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1331. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1332. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1333. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1334. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1335. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1336. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1337. SencondDisinfectionWater string `gorm:"column:sencond_disinfection_water" json:"sencond_disinfection_water" form:"sencond_disinfection_water"`
  1338. SencondDisinfectionMethods string `gorm:"column:sencond_disinfection_methods" json:"sencond_disinfection_methods" form:"sencond_disinfection_methods"`
  1339. SencondDisinfectionTime string `gorm:"column:sencond_disinfection_time" json:"sencond_disinfection_time" form:"sencond_disinfection_time"`
  1340. SencondStartTime int64 `gorm:"column:sencond_start_time" json:"sencond_start_time" form:"sencond_start_time"`
  1341. SencondEndTime int64 `gorm:"column:sencond_end_time" json:"sencond_end_time" form:"sencond_end_time"`
  1342. SencondTotalTime string `gorm:"column:sencond_total_time" json:"sencond_total_time" form:"sencond_total_time"`
  1343. SencondIsCheck int64 `gorm:"column:sencond_is_check" json:"sencond_is_check" form:"sencond_is_check"`
  1344. SencondModifications int64 `gorm:"column:sencond_modifications" json:"sencond_modifications" form:"sencond_modifications"`
  1345. SencondCreator int64 `gorm:"column:sencond_creator" json:"sencond_creator" form:"sencond_creator"`
  1346. ThirdDisinfectionWater string `gorm:"column:third_disinfection_water" json:"third_disinfection_water" form:"third_disinfection_water"`
  1347. ThirdDisinfectionMethods string `gorm:"column:third_disinfection_methods" json:"third_disinfection_methods" form:"third_disinfection_methods"`
  1348. ThirdDisinfectionTime string `gorm:"column:third_disinfection_time" json:"third_disinfection_time" form:"third_disinfection_time"`
  1349. ThirdStartTime int64 `gorm:"column:third_start_time" json:"third_start_time" form:"third_start_time"`
  1350. ThirdEndTime int64 `gorm:"column:third_end_time" json:"third_end_time" form:"third_end_time"`
  1351. ThirdTotalTime string `gorm:"column:third_total_time" json:"third_total_time" form:"third_total_time"`
  1352. ThirdIsCheck int64 `gorm:"column:third_is_check" json:"third_is_check" form:"third_is_check"`
  1353. ThirdModifications int64 `gorm:"column:third_modifications" json:"third_modifications" form:"third_modifications"`
  1354. ThirdCreator int64 `gorm:"column:third_creator" json:"third_creator" form:"third_creator"`
  1355. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1356. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1357. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1358. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1359. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1360. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1361. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1362. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1363. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1364. FourthDisinfectionWater string `gorm:"column:fourth_disinfection_water" json:"fourth_disinfection_water" form:"fourth_disinfection_water"`
  1365. FourthDisinfectionMethods string `gorm:"column:fourth_disinfection_methods" json:"fourth_disinfection_methods" form:"fourth_disinfection_methods"`
  1366. FourthDisinfectionTime string `gorm:"column:fourth_disinfection_time" json:"fourth_disinfection_time" form:"fourth_disinfection_time"`
  1367. FourthStartTime int64 `gorm:"column:fourth_start_time" json:"fourth_start_time" form:"fourth_start_time"`
  1368. FourthEndTime int64 `gorm:"column:fourth_end_time" json:"fourth_end_time" form:"fourth_end_time"`
  1369. FourthTotalTime string `gorm:"column:fourth_total_time" json:"fourth_total_time" form:"fourth_total_time"`
  1370. FourthIsCheck int64 `gorm:"column:fourth_is_check" json:"fourth_is_check" form:"fourth_is_check"`
  1371. FourthModifications int64 `gorm:"column:fourth_modifications" json:"fourth_modifications" form:"fourth_modifications"`
  1372. FourthCreator int64 `gorm:"column:fourth_creator" json:"fourth_creator" form:"fourth_creator"`
  1373. LastDisinfectionWater string `gorm:"column:last_disinfection_water" json:"last_disinfection_water" form:"last_disinfection_water"`
  1374. LastDisinfectionMethods string `gorm:"column:last_disinfection_methods" json:"last_disinfection_methods" form:"last_disinfection_methods"`
  1375. LastDisinfectionTime string `gorm:"column:last_disinfection_time" json:"last_disinfection_time" form:"last_disinfection_time"`
  1376. Storey string `gorm:"column:storey" json:"storey" form:"storey"`
  1377. }
  1378. func (XtNewObjectDisinfect) TableName() string {
  1379. return "xt_new_object_disinfect"
  1380. }
  1381. type XtDialysisInformation struct {
  1382. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1383. Module int64 `gorm:"column:module" json:"module" form:"module"`
  1384. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1385. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1386. ApplicationDate int64 `gorm:"column:application_date" json:"application_date" form:"application_date"`
  1387. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  1388. ApplicationStatus int64 `gorm:"column:application_status" json:"application_status" form:"application_status"`
  1389. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  1390. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  1391. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  1392. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1393. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1394. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1395. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1396. }
  1397. func (XtDialysisInformation) TableName() string {
  1398. return "xt_dialysis_information"
  1399. }
  1400. type XtDialysisRegistration struct {
  1401. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1402. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1403. ModelNumber string `gorm:"column:model_number" json:"model_number" form:"model_number"`
  1404. UserCount string `gorm:"column:user_count" json:"user_count" form:"user_count"`
  1405. ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
  1406. ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
  1407. PackagingIdentification int64 `gorm:"column:packaging_identification" json:"packaging_identification" form:"packaging_identification"`
  1408. DestroyPeople int64 `gorm:"column:destroy_people" json:"destroy_people" form:"destroy_people"`
  1409. DestroyNubmer string `gorm:"column:destroy_nubmer" json:"destroy_nubmer" form:"destroy_nubmer"`
  1410. DestroyWay int64 `gorm:"column:destroy_way" json:"destroy_way" form:"destroy_way"`
  1411. Leader int64 `gorm:"column:leader" json:"leader" form:"leader"`
  1412. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1413. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1414. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1415. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1416. }
  1417. func (XtDialysisRegistration) TableName() string {
  1418. return "xt_dialysis_registration"
  1419. }
  1420. type NewDeviceInformation struct {
  1421. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1422. Date int64 `gorm:"column:date" json:"date" form:"date"`
  1423. Class int64 `gorm:"column:class" json:"class" form:"class"`
  1424. Zone int64 `gorm:"column:zone" json:"zone" form:"zone"`
  1425. BedNumber int64 `gorm:"column:bed_number" json:"bed_number" form:"bed_number"`
  1426. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  1427. }
  1428. func (NewDeviceInformation) TableName() string {
  1429. return "xt_device_information"
  1430. }
  1431. type XtDeviceAirSetting struct {
  1432. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1433. AirWay int64 `gorm:"column:air_way" json:"air_way" form:"air_way"`
  1434. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1435. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1436. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1437. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1438. }
  1439. func (XtDeviceAirSetting) TableName() string {
  1440. return "xt_device_air_setting"
  1441. }
  1442. type XtDeviceObjctSet struct {
  1443. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1444. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1445. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1446. AirWay int64 `gorm:"column:air_way" json:"air_way" form:"air_way"`
  1447. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1448. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1449. }
  1450. func (XtDeviceObjctSet) TableName() string {
  1451. return "xt_device_objct_set"
  1452. }
  1453. type XtNewObjectDisinfectWay struct {
  1454. ID int64 `gorm:"column:id" json:"id" form:"id"`
  1455. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  1456. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  1457. FirstDisinfectionWater string `gorm:"column:first_disinfection_water" json:"first_disinfection_water" form:"first_disinfection_water"`
  1458. FirstDisinfectionMethods string `gorm:"column:first_disinfection_methods" json:"first_disinfection_methods" form:"first_disinfection_methods"`
  1459. FirstDisinfectionTime string `gorm:"column:first_disinfection_time" json:"first_disinfection_time" form:"first_disinfection_time"`
  1460. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  1461. FirstEndTime int64 `gorm:"column:first_end_time" json:"first_end_time" form:"first_end_time"`
  1462. FirstTotalTime string `gorm:"column:first_total_time" json:"first_total_time" form:"first_total_time"`
  1463. FirstIsCheck int64 `gorm:"column:first_is_check" json:"first_is_check" form:"first_is_check"`
  1464. FirstModifications int64 `gorm:"column:first_modifications" json:"first_modifications" form:"first_modifications"`
  1465. FirstCreator int64 `gorm:"column:first_creator" json:"first_creator" form:"first_creator"`
  1466. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  1467. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  1468. Status int64 `gorm:"column:status" json:"status" form:"status"`
  1469. LastDisinfectionWater string `gorm:"column:last_disinfection_water" json:"last_disinfection_water" form:"last_disinfection_water"`
  1470. LastDisinfectionMethods string `gorm:"column:last_disinfection_methods" json:"last_disinfection_methods" form:"last_disinfection_methods"`
  1471. LastDisinfectionTime string `gorm:"column:last_disinfection_time" json:"last_disinfection_time" form:"last_disinfection_time"`
  1472. Department string `gorm:"column:department" json:"department" form:"department"`
  1473. LastStartTime int64 `gorm:"column:last_start_time" json:"last_start_time" form:"last_start_time"`
  1474. LastEndTime int64 `gorm:"column:last_end_time" json:"last_end_time" form:"last_end_time"`
  1475. LastTotalTime string `gorm:"column:last_total_time" json:"last_total_time" form:"last_total_time"`
  1476. LastIsCheck int64 `gorm:"column:last_is_check" json:"last_is_check" form:"last_is_check"`
  1477. LastModifications int64 `gorm:"column:last_modifications" json:"last_modifications" form:"last_modifications"`
  1478. LastCreator int64 `gorm:"column:last_creator" json:"last_creator" form:"last_creator"`
  1479. }
  1480. func (XtNewObjectDisinfectWay) TableName() string {
  1481. return "xt_new_object_disinfect_way"
  1482. }