device_models.go 115KB

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