gobal_models.go 6.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. package models
  2. type GobalConfig struct {
  3. ID int64 `gorm:"column:id" json:"id"`
  4. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  5. IsOpen int64 `gorm:"column:is_open" json:"is_open"`
  6. Status int64 `gorm:"column:status" json:"status"`
  7. CreateTime int64 `gorm:"column:create_time" json:"create_time"`
  8. UpdateTime int64 `gorm:"column:update_time" json:"update_time"`
  9. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  10. }
  11. func (GobalConfig) TableName() string {
  12. return "xt_gobal_config"
  13. }
  14. type SystemPrescription struct {
  15. ID int64 `gorm:"column:id" json:"id" form:"id"`
  16. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  17. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  18. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  19. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  20. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  21. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  22. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  23. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  24. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  25. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  26. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  27. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  28. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  29. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  30. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  31. Dewater float64 `gorm:"column:dewater" json:"dewater" form:"dewater"`
  32. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  33. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  34. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  35. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  36. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  37. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  38. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  39. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  40. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  41. FirstDialysis int64 `gorm:"column:first_dialysis" json:"first_dialysis" form:"first_dialysis"`
  42. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  43. InitiateMode int64 `gorm:"column:initiate_mode" json:"initiate_mode" form:"initiate_mode"`
  44. AffirmState int64 `gorm:"column:affirm_state" json:"affirm_state" form:"affirm_state"`
  45. UseState int64 `gorm:"column:use_state" json:"use_state" form:"use_state"`
  46. Status int64 `gorm:"column:status" json:"status" form:"status"`
  47. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  48. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  49. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  50. SolutionType int64 `gorm:"column:solution_type" json:"solution_type" form:"solution_type"`
  51. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  52. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  53. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  54. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  55. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  56. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  57. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  58. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  59. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  60. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  61. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  62. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  63. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  64. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  65. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  66. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  67. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  68. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  69. }
  70. func (SystemPrescription) TableName() string {
  71. return "xt_system_prescription"
  72. }