device_models.go 115KB

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