device_models.go 116KB

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