user_models.go 46KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588
  1. package models
  2. type SgjCustomer struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  5. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  6. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  7. Name string `gorm:"column:name" json:"name" form:"name"`
  8. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  9. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  10. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  11. Address string `gorm:"column:address" json:"address" form:"address"`
  12. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  13. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  14. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  15. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  16. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  17. Membership int64 `gorm:"column:membership" json:"membership" form:"membership"`
  18. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  19. Status int64 `gorm:"column:status" json:"status" form:"status"`
  20. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  21. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  22. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  23. WechatUnionid string `gorm:"column:wechat_unionid" json:"wechat_unionid" form:"wechat_unionid"`
  24. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  25. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  26. YzUid int64 `gorm:"column:yz_uid" json:"yz_uid" form:"yz_uid"`
  27. IllDate int64 `gorm:"column:ill_date" json:"ill_date" form:"ill_date"`
  28. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  29. }
  30. func (SgjCustomer) TableName() string {
  31. return "sgj_user_customer"
  32. }
  33. type SgjUser struct {
  34. ID int64 `gorm:"column:id" json:"id" form:"id"`
  35. Password string `gorm:"column:password" json:"password" form:"password"`
  36. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  37. Username string `gorm:"column:username" json:"username" form:"username"`
  38. Remarkname string `gorm:"column:remarkname" json:"remarkname" form:"remarkname"`
  39. Realname string `gorm:"column:realname" json:"realname" form:"realname"`
  40. Introduce string `gorm:"column:introduce" json:"introduce" form:"introduce"`
  41. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  42. AvatarThumb string `gorm:"column:avatar_thumb" json:"avatar_thumb" form:"avatar_thumb"`
  43. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  44. ReceivingPhone string `gorm:"column:receiving_phone" json:"receiving_phone" form:"receiving_phone"`
  45. ProvinceId int64 `gorm:"column:province_id" json:"province_id" form:"province_id"`
  46. CityId int64 `gorm:"column:city_id" json:"city_id" form:"city_id"`
  47. DistrictId int64 `gorm:"column:district_id" json:"district_id" form:"district_id"`
  48. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  49. Address string `gorm:"column:address" json:"address" form:"address"`
  50. Recipient string `gorm:"column:recipient" json:"recipient" form:"recipient"`
  51. TreatType int64 `gorm:"column:treat_type" json:"treat_type" form:"treat_type"`
  52. Token string `gorm:"column:token" json:"token" form:"token"`
  53. Imei string `gorm:"column:imei" json:"imei" form:"imei"`
  54. Relationship int64 `gorm:"column:relationship" json:"relationship" form:"relationship"`
  55. Platform string `gorm:"column:platform" json:"platform" form:"platform"`
  56. IllnessId int64 `gorm:"column:illness_id" json:"illness_id" form:"illness_id"`
  57. Sources int64 `gorm:"column:sources" json:"sources" form:"sources"`
  58. Status int64 `gorm:"column:status" json:"status" form:"status"`
  59. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  60. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  61. WechatOpenid string `gorm:"column:wechat_openid" json:"wechat_openid" form:"wechat_openid"`
  62. MedicalDiagnose string `gorm:"column:medical_diagnose" json:"medical_diagnose" form:"medical_diagnose"`
  63. }
  64. func (SgjUser) TableName() string {
  65. return "sgj_user_user"
  66. }
  67. type SgjPatientDryweight struct {
  68. ID int64 `gorm:"column:id" json:"id" form:"id"`
  69. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  70. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  71. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  72. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  73. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  74. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  75. Status int64 `gorm:"column:status" json:"status" form:"status"`
  76. AdjustedValue string `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  77. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  78. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  79. }
  80. func (SgjPatientDryweight) TableName() string {
  81. return "xt_patient_dryweight"
  82. }
  83. type SgjPatientDryweights struct {
  84. ID int64 `gorm:"column:id" json:"id" form:"id"`
  85. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  86. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  87. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  88. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  89. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  90. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  91. Status int64 `gorm:"column:status" json:"status" form:"status"`
  92. AdjustedValue string `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  93. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  94. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  95. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  96. Name string `gorm:"column:name" json:"name" form:"name"`
  97. }
  98. type XtPatientDryweight struct {
  99. ID int64 `gorm:"column:id" json:"id" form:"id"`
  100. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  101. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  102. Remakes string `gorm:"column:remakes" json:"remakes" form:"remakes"`
  103. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  104. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  105. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  106. Status int64 `gorm:"column:status" json:"status" form:"status"`
  107. AdjustedValue string `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  108. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  109. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  110. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  111. }
  112. type XtDialysisPrescription struct {
  113. ID int64 `gorm:"column:id" json:"id" form:"id"`
  114. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  115. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  116. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  117. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  118. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  119. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  120. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  121. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  122. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  123. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  124. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  125. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  126. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  127. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  128. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  129. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  130. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  131. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  132. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  133. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  134. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  135. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  136. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  137. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  138. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  139. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  140. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  141. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  142. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  143. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  144. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  145. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  146. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  147. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  148. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  149. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  150. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  151. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  152. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  153. Status int64 `gorm:"column:status" json:"status" form:"status"`
  154. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  155. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  156. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  157. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  158. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  159. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  160. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  161. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  162. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  163. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  164. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  165. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  166. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  167. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  168. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  169. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  170. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  171. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  172. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  173. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  174. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  175. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  176. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  177. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  178. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  179. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  180. Package int64 `gorm:"column:package" json:"package" form:"package"`
  181. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  182. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  183. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  184. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  185. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  186. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  187. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  188. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  189. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  190. }
  191. func (XtDialysisPrescription) TableName() string {
  192. return "xt_dialysis_prescription"
  193. }
  194. type XtDialysisPrescriptions struct {
  195. ID int64 `gorm:"column:id" json:"id" form:"id"`
  196. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  197. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  198. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  199. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  200. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  201. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  202. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  203. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  204. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  205. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  206. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  207. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  208. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  209. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  210. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  211. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  212. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  213. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  214. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  215. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  216. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  217. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  218. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  219. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  220. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  221. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  222. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  223. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  224. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  225. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  226. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  227. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  228. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  229. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  230. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  231. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  232. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  233. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  234. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  235. Status int64 `gorm:"column:status" json:"status" form:"status"`
  236. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  237. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  238. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  239. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  240. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  241. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  242. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  243. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  244. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  245. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  246. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  247. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  248. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  249. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  250. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  251. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  252. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  253. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  254. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  255. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  256. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  257. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  258. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  259. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  260. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  261. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  262. Package int64 `gorm:"column:package" json:"package" form:"package"`
  263. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  264. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  265. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  266. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  267. }
  268. type XtDialysisSolution struct {
  269. ID int64 `gorm:"column:id" json:"id" form:"id"`
  270. Name string `gorm:"column:name" json:"name" form:"name"`
  271. SubName string `gorm:"column:sub_name" json:"sub_name" form:"sub_name"`
  272. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  273. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  274. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  275. Type int64 `gorm:"column:type" json:"type" form:"type"`
  276. Period string `gorm:"column:period" json:"period" form:"period"`
  277. Times string `gorm:"column:times" json:"times" form:"times"`
  278. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  279. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  280. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  281. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  282. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  283. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  284. ModeName string `gorm:"column:mode_name" json:"mode_name" form:"mode_name"`
  285. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  286. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  287. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  288. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  289. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  290. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  291. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  292. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  293. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  294. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  295. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  296. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  297. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  298. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  299. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  300. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  301. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  302. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  303. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  304. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  305. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  306. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  307. Status int64 `gorm:"column:status" json:"status" form:"status"`
  308. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  309. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  310. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  311. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  312. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  313. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  314. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  315. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  316. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  317. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  318. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  319. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  320. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  321. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  322. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  323. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  324. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  325. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  326. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  327. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  328. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  329. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  330. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  331. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  332. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  333. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  334. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  335. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  336. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  337. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  338. }
  339. func (XtDialysisSolution) TableName() string {
  340. return "xt_dialysis_solution"
  341. }
  342. type XtPatientRescueRecords struct {
  343. ID int64 `gorm:"column:id" json:"id" form:"id"`
  344. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  345. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  346. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  347. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  348. Content string `gorm:"column:content" json:"content" form:"content"`
  349. Status int64 `gorm:"column:status" json:"status" form:"status"`
  350. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  351. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  352. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  353. Name string `gorm:"column:name" json:"name" form:"name"`
  354. }
  355. type XtPatientRescueRecord struct {
  356. ID int64 `gorm:"column:id" json:"id" form:"id"`
  357. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  358. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  359. Recorder int64 `gorm:"column:recorder" json:"recorder" form:"recorder"`
  360. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  361. Content string `gorm:"column:content" json:"content" form:"content"`
  362. Status int64 `gorm:"column:status" json:"status" form:"status"`
  363. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  364. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  365. }
  366. func (XtPatientRescueRecord) TableName() string {
  367. return "xt_patient_rescue_record"
  368. }
  369. type XtScheduless struct {
  370. ID int64 `gorm:"column:id" json:"id" form:"id"`
  371. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  372. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  373. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  374. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  375. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  376. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  377. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  378. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  379. Status int64 `gorm:"column:status" json:"status" form:"status"`
  380. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  381. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  382. Number string `gorm:"column:number" json:"number"`
  383. Name string `gorm:"column:name" json:"name"`
  384. }
  385. type XtSchedules struct {
  386. ID int64 `gorm:"column:id" json:"id" form:"id"`
  387. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  388. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  389. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  390. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  391. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  392. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  393. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  394. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  395. Status int64 `gorm:"column:status" json:"status" form:"status"`
  396. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  397. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  398. Number string `gorm:"column:number" json:"number"`
  399. Name string `gorm:"column:name" json:"name"`
  400. }
  401. func (XtSchedules) TableName() string {
  402. return "xt_schedule"
  403. }
  404. type XtTreatmentSummarys struct {
  405. ID int64 `gorm:"column:id" json:"id" form:"id"`
  406. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  407. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  408. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  409. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  410. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  411. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  412. Change int64 `gorm:"column:change" json:"change" form:"change"`
  413. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  414. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  415. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  416. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  417. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  418. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  419. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  420. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  421. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  422. Status int64 `gorm:"column:status" json:"status" form:"status"`
  423. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  424. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  425. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  426. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  427. Name string `gorm:"column:name" json:"name"`
  428. }
  429. type XtTreatmentSummary struct {
  430. ID int64 `gorm:"column:id" json:"id" form:"id"`
  431. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  432. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  433. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  434. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  435. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  436. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  437. Change int64 `gorm:"column:change" json:"change" form:"change"`
  438. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  439. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  440. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  441. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  442. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  443. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  444. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  445. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  446. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  447. Status int64 `gorm:"column:status" json:"status" form:"status"`
  448. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  449. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  450. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  451. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  452. NursingRecord string `gorm:"column:nursing_record" json:"nursing_record" form:"nursing_record"`
  453. SpecialRecord string `gorm:"column:special_record" json:"special_record" form:"special_record"`
  454. }
  455. func (XtTreatmentSummary) TableName() string {
  456. return "xt_treatment_summary"
  457. }
  458. type XtPatientVascularAccess struct {
  459. ID int64 `gorm:"column:id" json:"id" form:"id"`
  460. AccessProject int64 `gorm:"column:access_project" json:"access_project" form:"access_project"`
  461. BloodAccessPartId string `gorm:"column:blood_access_part_id" json:"blood_access_part_id" form:"blood_access_part_id"`
  462. InflowPass string `gorm:"column:inflow_pass" json:"inflow_pass" form:"inflow_pass"`
  463. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  464. FirstStartTime int64 `gorm:"column:first_start_time" json:"first_start_time" form:"first_start_time"`
  465. BloodAccessPartOperaId string `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id" form:"blood_access_part_opera_id"`
  466. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  467. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  468. UserStatus int64 `gorm:"column:user_status" json:"user_status" form:"user_status"`
  469. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  470. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  471. Status int64 `gorm:"column:status" json:"status" form:"status"`
  472. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  473. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  474. Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
  475. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  476. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  477. OtherVascular string `gorm:"column:other_vascular" json:"other_vascular" form:"other_vascular"`
  478. CiType int64 `gorm:"column:ci_type" json:"ci_type" form:"ci_type"`
  479. BloodCultupe int64 `gorm:"column:blood_cultupe" json:"blood_cultupe" form:"blood_cultupe"`
  480. SequelaeType int64 `gorm:"column:sequelae_type" json:"sequelae_type" form:"sequelae_type"`
  481. }
  482. func (XtPatientVascularAccess) TableName() string {
  483. return "xt_patient_vascular_access"
  484. }
  485. type XtPatientPasswayAssessment struct {
  486. ID int64 `gorm:"column:id" json:"id" form:"id"`
  487. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  488. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  489. BloodProject string `gorm:"column:blood_project" json:"blood_project" form:"blood_project"`
  490. BloodResult string `gorm:"column:blood_result" json:"blood_result" form:"blood_result"`
  491. BloodDealwith string `gorm:"column:blood_dealwith" json:"blood_dealwith" form:"blood_dealwith"`
  492. Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
  493. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  494. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  495. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  496. Status int64 `gorm:"column:status" json:"status" form:"status"`
  497. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  498. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  499. }
  500. func (XtPatientPasswayAssessment) TableName() string {
  501. return "xt_patient_passway_assessment"
  502. }
  503. type XtAerialDetection struct {
  504. ID int64 `gorm:"column:id" json:"id" form:"id"`
  505. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  506. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  507. Class int64 `gorm:"column:class" json:"class" form:"class"`
  508. DisinfectionMethods string `gorm:"column:disinfection_methods" json:"disinfection_methods" form:"disinfection_methods"`
  509. DisinfectionFluid string `gorm:"column:disinfection_fluid" json:"disinfection_fluid" form:"disinfection_fluid"`
  510. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  511. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  512. DetectionTime int64 `gorm:"column:detection_time" json:"detection_time" form:"detection_time"`
  513. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  514. UploadTime int64 `gorm:"column:upload_time" json:"upload_time" form:"upload_time"`
  515. CheckOut int64 `gorm:"column:check_out" json:"check_out" form:"check_out"`
  516. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  517. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  518. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  519. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  520. Status int64 `gorm:"column:status" json:"status" form:"status"`
  521. }
  522. func (XtAerialDetection) TableName() string {
  523. return "xt_aerial_detection"
  524. }
  525. type XtBodyDetection struct {
  526. ID int64 `gorm:"column:id" json:"id" form:"id"`
  527. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  528. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  529. Class int64 `gorm:"column:class" json:"class" form:"class"`
  530. DisinfectionMethods string `gorm:"column:disinfection_methods" json:"disinfection_methods" form:"disinfection_methods"`
  531. DisinfectionFluid string `gorm:"column:disinfection_fluid" json:"disinfection_fluid" form:"disinfection_fluid"`
  532. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  533. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  534. DetectionTime int64 `gorm:"column:detection_time" json:"detection_time" form:"detection_time"`
  535. DetectionResult string `gorm:"column:detection_result" json:"detection_result" form:"detection_result"`
  536. UploadTime int64 `gorm:"column:upload_time" json:"upload_time" form:"upload_time"`
  537. CheckOut int64 `gorm:"column:check_out" json:"check_out" form:"check_out"`
  538. Modifications int64 `gorm:"column:modifications" json:"modifications" form:"modifications"`
  539. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  540. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  541. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  542. Status int64 `gorm:"column:status" json:"status" form:"status"`
  543. }
  544. func (XtBodyDetection) TableName() string {
  545. return "xt_body_detection"
  546. }