dialysis.go 69KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. package models
  2. type SchedualPatient 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. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  7. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  8. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  9. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  10. Source int64 `gorm:"column:source" json:"source" form:"source"`
  11. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  12. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  13. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  14. Name string `gorm:"column:name" json:"name" form:"name"`
  15. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  16. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  17. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  18. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  19. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  20. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  21. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  22. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  23. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  24. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  25. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  26. Height int64 `gorm:"column:height" json:"height" form:"height"`
  27. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  28. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  29. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  30. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  31. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  32. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  33. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  34. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  35. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  36. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  37. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  38. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  39. Children int64 `gorm:"column:children" json:"children" form:"children"`
  40. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  41. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  42. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  43. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  44. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  45. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  46. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  47. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  48. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  49. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  50. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  51. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  52. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  53. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  54. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  55. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  56. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
  57. PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
  58. PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
  59. Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
  60. Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
  61. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
  62. SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
  63. DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
  64. Age int64 `gorm:"column:age" json:"age"`
  65. Status int64 `gorm:"column:status" json:"status" form:"status"`
  66. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  67. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  68. PredialysisEvaluation PredialysisEvaluation `json:"PredialysisEvaluation" gorm:"ForeignKey:PatientId"`
  69. AssessmentAfterDislysis AssessmentAfterDislysis `gorm:"ForeignKey:PatientId"`
  70. MonitoringRecord []MonitoringRecord `gorm:"ForeignKey:PatientId"`
  71. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  72. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  73. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  74. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  75. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  76. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  77. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  78. }
  79. func (SchedualPatient) TableName() string {
  80. return "xt_patients"
  81. }
  82. type SchedualPatient2 struct {
  83. ID int64 `gorm:"column:id" json:"id" form:"id"`
  84. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  85. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  86. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  87. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  88. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  89. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  90. Source int64 `gorm:"column:source" json:"source" form:"source"`
  91. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  92. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  93. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  94. Name string `gorm:"column:name" json:"name" form:"name"`
  95. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  96. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  97. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  98. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  99. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  100. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  101. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  102. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  103. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  104. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  105. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  106. Height int64 `gorm:"column:height" json:"height" form:"height"`
  107. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  108. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  109. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  110. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  111. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  112. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  113. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  114. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  115. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  116. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  117. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  118. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  119. Children int64 `gorm:"column:children" json:"children" form:"children"`
  120. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  121. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  122. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  123. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  124. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  125. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  126. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  127. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  128. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  129. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  130. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  131. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  132. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  133. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  134. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  135. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  136. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains"` // 主诉
  137. PresentHistory string `gorm:"column:present_history" json:"present_history"` // 现病史
  138. PastHistory string `gorm:"column:past_history" json:"past_history"` // 既往史
  139. Temperature float64 `gorm:"column:temperature" json:"temperature"` // 体格检查-体温
  140. Pulse int64 `gorm:"column:pulse" json:"pulse"` // 体格检查-脉搏
  141. Respiratory int64 `gorm:"column:respiratory" json:"respiratory"` // 体格检查-呼吸频率
  142. SBP int64 `gorm:"column:sbp" json:"sbp"` // 体格检查-收缩压
  143. DBP int64 `gorm:"column:dbp" json:"dbp"` // 体格检查-舒张压
  144. Status int64 `gorm:"column:status" json:"status" form:"status"`
  145. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  146. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  147. DialysisSchedule DialysisSchedule `gorm:"ForeignKey:PatientId"`
  148. Age int64 `gorm:"column:age" json:"age"`
  149. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind"`
  150. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  151. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  152. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  153. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  154. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  155. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  156. }
  157. func (SchedualPatient2) TableName() string {
  158. return "xt_patients"
  159. }
  160. type DialysisSchedule struct {
  161. ID int64 `gorm:"column:id" json:"id" form:"id"`
  162. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  163. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  164. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  165. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  166. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  167. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  168. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  169. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  170. Status int64 `gorm:"column:status" json:"status" form:"status"`
  171. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  172. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  173. MonitorPatients MonitorPatients `gorm:"ForeignKey:PatientId" json:"patient"`
  174. DeviceNumber DeviceNumber `gorm:"ForeignKey:BedId" json:"device_number"`
  175. DeviceZone DeviceZone `gorm:"ForeignKey:PartitionId" json:"device_zone"`
  176. TreatmentMode TreatmentMode `gorm:"ForeignKey:ModeId" json:"treatment_mode"`
  177. DialysisOrder MonitorDialysisOrder `gorm:"ForeignKey:DialysisDate,PatientId;AssociationForeignKey:ScheduleDate,PatientId" json:"dialysis_order"`
  178. Prescription DialysisPrescription `gorm:"ForeignKey:RecordDate,PatientId;AssociationForeignKey:ScheduleDate,PatientId" json:"prescription"`
  179. AssessmentBeforeDislysis PredialysisEvaluation `gorm:"ForeignKey:AssessmentDate,PatientId;AssociationForeignKey:ScheduleDate,PatientId" json:"assessment_before_dislysis"`
  180. AssessmentAfterDislysis AssessmentAfterDislysis `gorm:"ForeignKey:AssessmentDate,PatientId;AssociationForeignKey:ScheduleDate,PatientId" json:"assessment_after_dislysis"`
  181. MonitoringRecord []MonitoringRecord `gorm:"ForeignKey:MonitoringDate,PatientId;AssociationForeignKey:ScheduleDate,PatientId" json:"monitoring_record"`
  182. //Patient string `gorm:"-" json:"patient" form:"patient"`
  183. //SchedualPatient SchedualPatient `gorm:"ForeignKey:PatientId"`
  184. //DeviceNumber DeviceNumber `gorm:"ForeignKey:BedId"`
  185. //DeviceZone DeviceZone `gorm:"ForeignKey:PartitionId"`
  186. //TreatmentMode TreatmentMode `gorm:"ForeignKey:ModeId"`
  187. }
  188. func (DialysisSchedule) TableName() string {
  189. return "xt_schedule"
  190. }
  191. type PredialysisEvaluation struct {
  192. ID int64 `gorm:"column:id" json:"id"`
  193. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  194. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  195. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  196. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  197. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  198. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  199. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  200. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  201. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  202. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  203. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  204. WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency"`
  205. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
  206. WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before"`
  207. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight"`
  208. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before"`
  209. WeightGain float64 `gorm:"column:weight_gain" json:"weight_gain"`
  210. PreloadedDewatering float64 `gorm:"column:preloaded_dewatering" json:"preloaded_dewatering"`
  211. UltrafiltrationAmount float64 `gorm:"column:ultrafiltration_amount" json:"ultrafiltration_amount"`
  212. DialysisInterphase string `gorm:"column:dialysis_interphase" json:"dialysis_interphase"`
  213. LastPostDialysis string `gorm:"column:last_post_dialysis" json:"last_post_dialysis"`
  214. SymptomBeforeDialysis string `gorm:"column:symptom_before_dialysis" json:"symptom_before_dialysis"`
  215. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula"`
  216. InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin"`
  217. Catheter string `gorm:"column:catheter" json:"catheter"`
  218. CatheterBend int `gorm:"column:catheter_bend" json:"catheter_bend"`
  219. Complication string `gorm:"column:complication" json:"complication"`
  220. Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
  221. Creater int64 `gorm:"column:creater" json:"creater"`
  222. Remark string `gorm:"column:remark" json:"remark"`
  223. Status int64 `gorm:"column:status" json:"status"`
  224. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  225. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  226. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  227. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
  228. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
  229. IsHemorrhage int64 `gorm:"column:is_hemorrhage" json:"is_hemorrhage"`
  230. Hemorrhage string `gorm:"column:hemorrhage" json:"hemorrhage"`
  231. HemorrhageOther string `gorm:"column:hemorrhage_other" json:"hemorrhage_other"`
  232. PunctureMethod string `gorm:"column:puncture_method" json:"puncture_method"`
  233. BloodAccessInternalFistula string `gorm:"column:blood_access_internal_fistula" json:"blood_access_internal_fistula"`
  234. InternalFistulaOther string `gorm:"column:internal_fistula_other" json:"internal_fistula_other"`
  235. BloodAccessNoise int64 `gorm:"column:blood_access_noise" json:"blood_access_noise"`
  236. PunctureWay int64 `gorm:"column:puncture_way" json:"puncture_way"`
  237. VenousCatheterization int64 `gorm:"column:venous_catheterization" json:"venous_catheterization"`
  238. VenousCatheterizationPart int64 `gorm:"column:venous_catheterization_part" json:"venous_catheterization_part"`
  239. VenousCatheterizationPartOther string `gorm:"column:venous_catheterization_part_other" json:"venous_catheterization_part_other"`
  240. DuctusArantii string `gorm:"column:ductus_arantii" json:"ductus_arantii"`
  241. EmergencyTreatment int64 `gorm:"column:emergency_treatment" json:"emergency_treatment"`
  242. EmergencyTreatmentOther string `gorm:"column:emergency_treatment_other" json:"emergency_treatment_other"`
  243. DialysisCount int64 `gorm:"column:dialysis_count" json:"dialysis_count"`
  244. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor"`
  245. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time"`
  246. MachineType string `gorm:"column:machine_type" json:"machine_type"`
  247. IsInfect int64 `gorm:"column:is_infect" json:"is_infect"`
  248. Exposed float64 `gorm:"column:exposed" json:"exposed"`
  249. Skin int64 `gorm:"column:skin" json:"skin"`
  250. SkinOther string `gorm:"column:skin_other" json:"skin_other"`
  251. InfectOther string `gorm:"column:infect_other" json:"infect_other"`
  252. DuctusArantiiOther string `gorm:"column:ductus_arantii_other" json:"ductus_arantii_other"`
  253. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle"`
  254. LastPostDialysisOther string `gorm:"column:last_post_dialysis_other" json:"last_post_dialysis_other"`
  255. SymptomBeforeDialysisOther string `gorm:"column:symptom_before_dialysis_other" json:"symptom_before_dialysis_other"`
  256. DialysisInterphaseOther string `gorm:"column:dialysis_interphase_other" json:"dialysis_interphase_other"`
  257. }
  258. func (PredialysisEvaluation) TableName() string {
  259. return "xt_assessment_before_dislysis"
  260. }
  261. type PredialysisEvaluationList struct {
  262. ID int64 `gorm:"column:id" json:"id"`
  263. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  264. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  265. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  266. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  267. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  268. WeightAfterLastTransparency float64 `gorm:"column:weight_after_last_transparency" json:"weight_after_last_transparency"`
  269. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
  270. WeighingBefore float64 `gorm:"column:weighing_before" json:"weighing_before"`
  271. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight"`
  272. WeightBefore float64 `gorm:"column:weight_before" json:"weight_before"`
  273. Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
  274. Creater int64 `gorm:"column:creater" json:"creater"`
  275. }
  276. func (PredialysisEvaluationList) TableName() string {
  277. return "xt_assessment_before_dislysis"
  278. }
  279. //更改的地方
  280. type DoctorAdvices struct {
  281. ID int64 `gorm:"column:id" json:"id" form:"id"`
  282. GroupNo int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  283. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  284. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  285. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  286. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  287. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  288. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  289. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  290. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  291. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  292. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  293. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  294. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  295. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  296. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  297. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  298. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  299. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  300. Status int64 `gorm:"column:status" json:"status" form:"status"`
  301. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  302. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  303. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  304. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  305. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  306. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  307. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  308. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  309. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  310. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  311. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  312. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  313. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  314. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  315. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  316. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  317. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  318. AdviceId int64 `gorm:"-"`
  319. RemindType int64 `gorm:"column:remind_type" json:"remind_type"`
  320. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type"`
  321. DayCount int64 `gorm:"column:day_count" json:"day_count"`
  322. WeekDay string `gorm:"column:week_day" json:"week_day"`
  323. ChildDoctorAdvice []*DoctorAdvice `gorm:"ForeignKey:ParentId;AssociationForeignKey:ID" json:"child"`
  324. TemplateId string `gorm:"column:template_id" json:"template_id"`
  325. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  326. Name string `gorm:"column:name" json:"name" form:"name"`
  327. }
  328. type DoctorAdvice struct {
  329. ID int64 `gorm:"column:id" json:"id" form:"id"`
  330. GroupNo int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  331. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  332. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  333. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  334. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  335. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  336. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  337. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  338. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  339. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  340. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  341. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  342. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  343. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  344. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  345. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  346. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  347. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  348. Status int64 `gorm:"column:status" json:"status" form:"status"`
  349. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  350. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  351. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  352. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  353. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  354. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  355. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  356. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  357. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  358. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  359. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  360. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  361. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  362. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  363. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  364. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  365. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  366. AdviceId int64 `gorm:"-"`
  367. RemindType int64 `gorm:"column:remind_type" json:"remind_type"`
  368. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type"`
  369. DayCount int64 `gorm:"column:day_count" json:"day_count"`
  370. WeekDay string `gorm:"column:week_day" json:"week_day"`
  371. ChildDoctorAdvice []*DoctorAdvice `gorm:"ForeignKey:ParentId;AssociationForeignKey:ID" json:"child"`
  372. TemplateId string `gorm:"column:template_id" json:"template_id"`
  373. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  374. IsCheck int64 `gorm:"-" json:"is_check" form:"is_check"`
  375. }
  376. func (DoctorAdvice) TableName() string {
  377. return "xt_doctor_advice"
  378. }
  379. type XtDoctorAdvice struct {
  380. ID int64 `gorm:"column:id" json:"id" form:"id"`
  381. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  382. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  383. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  384. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  385. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  386. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  387. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  388. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  389. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  390. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  391. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  392. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  393. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  394. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  395. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  396. Status int64 `gorm:"column:status" json:"status" form:"status"`
  397. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  398. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  399. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  400. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  401. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  402. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  403. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  404. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  405. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  406. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  407. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  408. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  409. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  410. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  411. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  412. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  413. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  414. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  415. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  416. Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  417. RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
  418. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
  419. DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
  420. WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
  421. TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
  422. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  423. CheckerName string `gorm:"column:user_name" json:"name" form:"name"`
  424. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  425. }
  426. func (XtDoctorAdvice) TableName() string {
  427. return "xt_doctor_advice"
  428. }
  429. type GroupAdvice struct {
  430. DoctorAdvice
  431. Children []*GroupAdvice
  432. }
  433. func (GroupAdvice) TableName() string {
  434. return "xt_doctor_advice"
  435. }
  436. type DoubleCheck struct {
  437. ID int64 `gorm:"column:id" json:"id"`
  438. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  439. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  440. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  441. CheckDate int64 `gorm:"column:check_date" json:"check_date"`
  442. DialysisItemCheck int64 `gorm:"column:dialysis_item_check" json:"dialysis_item_check"`
  443. DialysisItemDesc string `gorm:"column:dialysis_item_desc" json:"dialysis_item_desc"`
  444. DialysisParameterCheck int64 `gorm:"column:dialysis_parameter_check" json:"dialysis_parameter_check"`
  445. DialysisParameterDesc string `gorm:"column:dialysis_parameter_desc" json:"dialysis_parameter_desc"`
  446. VascularAccessVerification int64 `gorm:"column:vascular_access_verification" json:"vascular_access_verification"`
  447. VascularAccessDesc string `gorm:"column:vascular_access_desc" json:"vascular_access_desc"`
  448. PipelineConnectionCheck int64 `gorm:"column:pipeline_connection_check" json:"pipeline_connection_check"`
  449. PipelineConnectionDesc string `gorm:"column:pipeline_connection_desc" json:"pipeline_connection_desc"`
  450. Collator int64 `gorm:"column:collator" json:"collator"`
  451. Status int64 `gorm:"column:status" json:"status"`
  452. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  453. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  454. Creater int64 `gorm:"column:creater" json:"creater"`
  455. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  456. CheckTime int64 `gorm:"column:check_time" json:"check_time"`
  457. FirstCheckTime int64 `gorm:"column:first_check_time" json:"first_check_time"`
  458. }
  459. func (DoubleCheck) TableName() string {
  460. return "xt_double_check"
  461. }
  462. type AssessmentAfterDislysis struct {
  463. ID int64 `gorm:"column:id" json:"id"`
  464. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  465. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  466. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  467. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  468. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  469. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  470. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  471. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  472. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  473. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  474. ActualUltrafiltration float64 `gorm:"column:actual_ultrafiltration" json:"actual_ultrafiltration"`
  475. ActualDisplacement float64 `gorm:"column:actual_displacement" json:"actual_displacement"`
  476. ActualTreatmentHour int64 `gorm:"column:actual_treatment_hour" json:"actual_treatment_hour"`
  477. ActualTreatmentMinute int64 `gorm:"column:actual_treatment_minute" json:"actual_treatment_minute"`
  478. WeighingWay string `gorm:"column:weighing_way" json:"weighing_way"`
  479. WeightAfter float64 `gorm:"column:weight_after" json:"weight_after"`
  480. AdditionalWeight float64 `gorm:"column:additional_weight" json:"additional_weight"`
  481. WeightLoss float64 `gorm:"column:weight_loss" json:"weight_loss"`
  482. Cruor string `gorm:"column:cruor" json:"cruor"`
  483. SymptomAfterDialysis string `gorm:"column:symptom_after_dialysis" json:"symptom_after_dialysis"`
  484. InternalFistula string `gorm:"column:internal_fistula" json:"internal_fistula"`
  485. // InternalFistulaSkin string `gorm:"column:internal_fistula_skin" json:"internal_fistula_skin"`
  486. Catheter string `gorm:"column:catheter" json:"catheter"`
  487. // CatheterBend int `gorm:"column:catheter_bend" json:"catheter_bend"`
  488. Complication string `gorm:"column:complication" json:"complication"`
  489. Evaluator int64 `gorm:"column:evaluator" json:"evaluator"`
  490. Remark string `gorm:"column:remark" json:"remark"`
  491. DialysisIntakes int64 `gorm:"column:dialysis_intakes" json:"dialysis_intakes"`
  492. DialysisIntakesFeed int64 `gorm:"column:dialysis_intakes_feed" json:"dialysis_intakes_feed"`
  493. DialysisIntakesTransfusion int64 `gorm:"column:dialysis_intakes_transfusion" json:"dialysis_intakes_transfusion"`
  494. DialysisIntakesBloodTransfusion int64 `gorm:"column:dialysis_intakes_blood_transfusion" json:"dialysis_intakes_blood_transfusion"`
  495. DialysisIntakesWashpipe int64 `gorm:"column:dialysis_intakes_washpipe" json:"dialysis_intakes_washpipe"`
  496. Status int64 `gorm:"column:status" json:"status"`
  497. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  498. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  499. Creater int64 `gorm:"column:creater" json:"creater"`
  500. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  501. BloodAccessPartId int64 `gorm:"column:blood_access_part_id" json:"blood_access_part_id"`
  502. BloodAccessPartOperaId int64 `gorm:"column:blood_access_part_opera_id" json:"blood_access_part_opera_id"`
  503. PuncturePointOozingBlood int64 `gorm:"column:puncture_point_oozing_blood" json:"puncture_point_oozing_blood"`
  504. PuncturePointHaematoma int64 `gorm:"column:puncture_point_haematoma" json:"puncture_point_haematoma"`
  505. InternalFistulaTremorAc int64 `gorm:"column:internal_fistula_tremor_ac" json:"internal_fistula_tremor_ac"`
  506. PatientGose int64 `gorm:"column:patient_gose" json:"patient_gose"`
  507. InpatientDepartment string `gorm:"column:inpatient_department" json:"inpatient_department"`
  508. ObservationContent string `gorm:"column:observation_content" json:"observation_content"`
  509. ObservationContentOther string `gorm:"column:observation_content_other" json:"observation_content_other"`
  510. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight"`
  511. DialysisProcess int64 `gorm:"column:dialysis_process" json:"dialysis_process"`
  512. InAdvanceMinute float64 `gorm:"column:in_advance_minute" json:"in_advance_minute"`
  513. InAdvanceReason string `gorm:"column:in_advance_reason" json:"in_advance_reason"`
  514. HemostasisMinute int64 `gorm:"column:hemostasis_minute" json:"hemostasis_minute"`
  515. HemostasisOpera int64 `gorm:"column:hemostasis_opera" json:"hemostasis_opera"`
  516. TremorNoise int64 `gorm:"column:tremor_noise" json:"tremor_noise"`
  517. DisequilibriumSyndrome int64 `gorm:"column:disequilibrium_syndrome" json:"disequilibrium_syndrome"`
  518. DisequilibriumSyndromeOption string `gorm:"column:disequilibrium_syndrome_option" json:"disequilibrium_syndrome_option"`
  519. ArterialTube int64 `gorm:"column:arterial_tube" json:"arterial_tube"`
  520. IntravenousTube int64 `gorm:"column:intravenous_tube" json:"intravenous_tube"`
  521. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer"`
  522. InAdvanceReasonOther string `gorm:"column:in_advance_reason_other" json:"in_advance_reason_other"`
  523. AssessmentTime int64 `gorm:"column:assessment_time" json:"assessment_time"`
  524. AssessmentDoctor int64 `gorm:"column:assessment_doctor" json:"assessment_doctor"`
  525. IsEat int64 `gorm:"column:is_eat" json:"is_eat"`
  526. DialysisIntakesUnit int64 `gorm:"column:dialysis_intakes_unit" json:"dialysis_intakes_unit"`
  527. CvcA float64 `gorm:"column:cvc_a" json:"cvc_a" form:"cvc_a"`
  528. CvcV float64 `gorm:"column:cvc_v" json:"cvc_v" form:"cvc_v"`
  529. Channel int64 `gorm:"column:channel" json:"channel" form:"channel"`
  530. }
  531. func (AssessmentAfterDislysis) TableName() string {
  532. return "xt_assessment_after_dislysis"
  533. }
  534. type TreatmentSummary struct {
  535. ID int64 `gorm:"column:id" json:"id"`
  536. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  537. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  538. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date"`
  539. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  540. Mission string `gorm:"column:mission" json:"mission"`
  541. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary"`
  542. Change int64 `gorm:"column:change" json:"change"`
  543. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse"`
  544. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse"`
  545. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse"`
  546. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse"`
  547. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor"`
  548. ChannelImage string `gorm:"column:channel_image" json:"channel_image"`
  549. Puncture string `gorm:"column:puncture" json:"puncture"`
  550. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle"`
  551. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction"`
  552. Status int64 `gorm:"column:status" json:"status"`
  553. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  554. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  555. Creater int64 `gorm:"column:creater" json:"creater"`
  556. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  557. NursingRecord string `gorm:"column:nursing_record" json:"nursing_record" form:"nursing_record"`
  558. SpecialRecord string `gorm:"column:special_record" json:"special_record" form:"special_record"`
  559. }
  560. func (TreatmentSummary) TableName() string {
  561. return "xt_treatment_summary"
  562. }
  563. type DryWeightAdjust struct {
  564. ID int64 `gorm:"column:id" json:"id" form:"id"`
  565. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  566. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  567. Weight float64 `gorm:"column:weight" json:"weight" form:"weight"`
  568. AdjustedValue float64 `gorm:"column:adjusted_value" json:"adjusted_value" form:"adjusted_value"`
  569. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  570. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  571. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  572. Status int64 `gorm:"column:status" json:"status" form:"status"`
  573. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  574. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  575. }
  576. func (DryWeightAdjust) TableName() string {
  577. return "xt_dry_weight_adjust"
  578. }
  579. type MonitoringRecord struct {
  580. ID int64 `gorm:"column:id" json:"id"`
  581. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  582. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  583. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id"`
  584. MonitoringDate int64 `gorm:"column:monitoring_date" json:"monitoring_date"`
  585. OperateTime int64 `gorm:"column:operate_time" json:"operate_time"`
  586. MonitoringTime string `gorm:"column:monitoring_time" json:"monitoring_time"`
  587. PulseFrequency float64 `gorm:"column:pulse_frequency" json:"pulse_frequency"`
  588. BreathingRate float64 `gorm:"column:breathing_rate" json:"breathing_rate"`
  589. SystolicBloodPressure float64 `gorm:"column:systolic_blood_pressure" json:"systolic_blood_pressure"`
  590. DiastolicBloodPressure float64 `gorm:"column:diastolic_blood_pressure" json:"diastolic_blood_pressure"`
  591. BloodPressureType int64 `gorm:"column:blood_pressure_type" json:"blood_pressure_type"`
  592. Pic string `gorm:"column:pic" json:"pic"`
  593. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume"`
  594. VenousPressure float64 `gorm:"column:venous_pressure" json:"venous_pressure"`
  595. VenousPressureUnit string `gorm:"column:venous_pressure_unit" json:"venous_pressure_unit"`
  596. ArterialPressure float64 `gorm:"column:arterial_pressure" json:"arterial_pressure"`
  597. TransmembranePressure float64 `gorm:"column:transmembrane_pressure" json:"transmembrane_pressure"`
  598. TransmembranePressureUnit string `gorm:"column:transmembrane_pressure_unit" json:"transmembrane_pressure_unit"`
  599. UltrafiltrationRate float64 `gorm:"column:ultrafiltration_rate" json:"ultrafiltration_rate"`
  600. UltrafiltrationVolume float64 `gorm:"column:ultrafiltration_volume" json:"ultrafiltration_volume"`
  601. SodiumConcentration float64 `gorm:"column:sodium_concentration" json:"sodium_concentration"`
  602. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature"`
  603. Temperature float64 `gorm:"column:temperature" json:"temperature"`
  604. ReplacementRate float64 `gorm:"column:replacement_rate" json:"replacement_rate"`
  605. DisplacementQuantity float64 `gorm:"column:displacement_quantity" json:"displacement_quantity"`
  606. Ktv float64 `gorm:"column:ktv" json:"ktv"`
  607. Symptom string `gorm:"column:symptom" json:"symptom"`
  608. Dispose string `gorm:"column:dispose" json:"dispose"`
  609. Result string `gorm:"column:result" json:"result"`
  610. MonitoringNurse int64 `gorm:"column:monitoring_nurse" json:"monitoring_nurse"`
  611. Status int64 `gorm:"column:status" json:"status"`
  612. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  613. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  614. Conductivity float64 `gorm:"column:conductivity" json:"conductivity"`
  615. DisplacementFlowQuantity float64 `gorm:"column:displacement_flow_quantity" json:"displacement_flow_quantity"`
  616. BloodOxygenSaturation string `gorm:"column:blood_oxygen_saturation" json:"blood_oxygen_saturation" form:"blood_oxygen_saturation"`
  617. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  618. Modify int64 `gorm:"column:modify" json:"modify" form:"modify"`
  619. Heparin float64 `gorm:"column:heparin" json:"heparin" form:"heparin"`
  620. }
  621. func (MonitoringRecord) TableName() string {
  622. return "xt_monitoring_record"
  623. }
  624. type DialysisOrders struct {
  625. ID int64 `gorm:"column:id" json:"id"`
  626. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  627. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  628. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  629. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
  630. Stage int64 `gorm:"column:stage" json:"stage"`
  631. Remark string `gorm:"column:remark" json:"remark"`
  632. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  633. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  634. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse"`
  635. Status int64 `gorm:"column:status" json:"status"`
  636. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  637. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  638. DeviceNumber DeviceNumber `gorm:"ForeignKey:BedID"`
  639. StartTime int64 `gorm:"column:start_time" json:"start_time"`
  640. EndTime int64 `gorm:"column:end_time" json:"end_time"`
  641. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse"`
  642. Creator int64 `gorm:"column:creator" json:"creator"`
  643. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  644. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator"`
  645. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier"`
  646. SchedualType int64 `gorm:"column:schedual_type" json:"schedual_type"`
  647. Name int64 `gorm:"column:name" json:"name"`
  648. Number string `gorm:"column:number" json:"number"`
  649. }
  650. type DialysisOrder struct {
  651. ID int64 `gorm:"column:id" json:"id"`
  652. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date"`
  653. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  654. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  655. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id"`
  656. Stage int64 `gorm:"column:stage" json:"stage"`
  657. Remark string `gorm:"column:remark" json:"remark"`
  658. BedID int64 `gorm:"column:bed_id" json:"bed_id"`
  659. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse"`
  660. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse"`
  661. Status int64 `gorm:"column:status" json:"status"`
  662. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  663. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time"`
  664. DeviceNumber DeviceNumber `gorm:"ForeignKey:BedID"`
  665. StartTime int64 `gorm:"column:start_time" json:"start_time"`
  666. EndTime int64 `gorm:"column:end_time" json:"end_time"`
  667. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse"`
  668. Creator int64 `gorm:"column:creator" json:"creator"`
  669. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  670. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator"`
  671. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier"`
  672. SchedualType int64 `gorm:"column:schedual_type" json:"schedual_type"`
  673. UserAdminRole UserAdminRole `json:"role" gorm:"foreignkey:AdminUserId;AssociationForeignKey:StartNurse;"`
  674. }
  675. func (DialysisOrder) TableName() string {
  676. return "xt_dialysis_order"
  677. }
  678. type XtDialysisOrder struct {
  679. ID int64 `gorm:"column:id" json:"id" form:"id"`
  680. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date" form:"dialysis_date"`
  681. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  682. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  683. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  684. Stage int64 `gorm:"column:stage" json:"stage" form:"stage"`
  685. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  686. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  687. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse" form:"start_nurse"`
  688. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse" form:"finish_nurse"`
  689. Status int64 `gorm:"column:status" json:"status" form:"status"`
  690. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  691. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  692. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  693. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  694. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse" form:"puncture_nurse"`
  695. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  696. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  697. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator" form:"finish_creator"`
  698. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier" form:"finish_modifier"`
  699. SchedualType int64 `gorm:"column:schedual_type" json:"schedual_type" form:"schedual_type"`
  700. Number int64 `gorm:"column:number" json:"number" form:"number"`
  701. UserName int64 `gorm:"column:user_name" json:"user_name" form:"user_name"`
  702. }
  703. func (XtDialysisOrder) TableName() string {
  704. return "xt_dialysis_order"
  705. }
  706. type TreatmentMode struct {
  707. ID int64 `gorm:"column:id" json:"id" form:"id"`
  708. Name string `gorm:"column:name" json:"name" form:"name"`
  709. DialysisDuration int64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  710. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  711. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  712. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  713. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  714. BloodFlowVolume int64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  715. DialysateFlow int64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  716. Kalium int64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  717. Sodium int64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  718. Calcium int64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  719. Bicarbonate int64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  720. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  721. Status int64 `gorm:"column:status" json:"status" form:"status"`
  722. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  723. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  724. }
  725. func (TreatmentMode) TableName() string {
  726. return "xt_treatment_mode"
  727. }
  728. type ReceiveTreatmentAsses struct {
  729. ID int64 `gorm:"column:id" json:"id"`
  730. Way int64 `gorm:"column:way" json:"way"`
  731. Consciousness int64 `gorm:"column:consciousness" json:"consciousness"`
  732. Appetite int64 `gorm:"column:appetite" json:"appetite"`
  733. Condition int64 `gorm:"column:condition" json:"condition"`
  734. Creater int64 `gorm:"column:creater" json:"creater"`
  735. Posture int64 `gorm:"column:posture" json:"posture"`
  736. CreatedTime int64 `gorm:"column:created_time" json:"created_time"`
  737. UpdateTime int64 `gorm:"column:update_time" json:"update_time"`
  738. RecordId int64 `gorm:"column:record_id" json:"record_id"`
  739. RecordDate int64 `gorm:"column:record_date" json:"record_date"`
  740. Modifier int64 `gorm:"column:modifier" json:"modifier"`
  741. Status int64 `gorm:"column:status" json:"status"`
  742. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id"`
  743. PatientId int64 `gorm:"column:patient_id" json:"patient_id"`
  744. SickCondition int64 `gorm:"column:sick_condition" json:"sick_condition"`
  745. DangerLevel int64 `gorm:"column:danger_level" json:"danger_level"`
  746. Intake int64 `gorm:"column:intake" json:"intake"`
  747. Nutrition int64 `gorm:"column:nutrition" json:"nutrition"`
  748. PsychologicalAssessment int64 `gorm:"column:psychological_assessment" json:"psychological_assessment"`
  749. PsychologicalAssessmentOther string `gorm:"column:psychological_assessment_other" json:"psychological_assessment_other"`
  750. Score string `gorm:"column:score" json:"score"`
  751. SickConditionOther string `gorm:"column:sick_condition_other" json:"sick_condition_other"`
  752. Precaution string `gorm:"column:precaution" json:"precaution"`
  753. PrecautionOther string `gorm:"column:precaution_other" json:"precaution_other"`
  754. PsychologicalOther string `gorm:"column:psychological_other" json:"psychological_other"`
  755. IsPrecaution int64 `gorm:"column:is_precaution" json:"is_precaution"`
  756. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  757. }
  758. func (ReceiveTreatmentAsses) TableName() string {
  759. return "xt_receive_treatment_asses"
  760. }
  761. type GobalTemplate struct {
  762. ID int64 `gorm:"column:id" json:"id"`
  763. OrgId int64 `gorm:"column:org_id" json:"org_id"`
  764. TemplateId int64 `gorm:"column:template_id" json:"template_id"`
  765. Status int64 `gorm:"column:status" json:"status"`
  766. Ctime int64 `gorm:"column:ctime" json:"ctime"`
  767. Mtime int64 `gorm:"column:mtime" json:"mtime"`
  768. }
  769. func (GobalTemplate) TableName() string {
  770. return "xt_gobal_template"
  771. }
  772. type SgjUserAdminRole struct {
  773. ID int64 `gorm:"column:id" json:"id" form:"id"`
  774. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  775. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  776. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  777. RoleId int64 `gorm:"column:role_id" json:"role_id" form:"role_id"`
  778. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  779. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  780. UserType int64 `gorm:"column:user_type" json:"user_type" form:"user_type"`
  781. UserTitle int64 `gorm:"column:user_title" json:"user_title" form:"user_title"`
  782. Intro string `gorm:"column:intro" json:"intro" form:"intro"`
  783. Status int64 `gorm:"column:status" json:"status" form:"status"`
  784. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  785. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  786. Message string `gorm:"column:message" json:"message" form:"message"`
  787. Sex int64 `gorm:"column:sex" json:"sex" form:"sex"`
  788. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  789. UserTitleName string `gorm:"column:user_title_name" json:"user_title_name" form:"user_title_name"`
  790. RoleIds string `gorm:"column:role_ids" json:"role_ids" form:"role_ids"`
  791. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  792. OrgLogo string `gorm:"column:org_logo" json:"org_logo" form:"org_logo"`
  793. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  794. }
  795. func (SgjUserAdminRole) TableName() string {
  796. return "sgj_user_admin_role"
  797. }
  798. type SgjUserAdmin struct {
  799. ID int64 `gorm:"column:id" json:"id" form:"id"`
  800. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  801. Password string `gorm:"column:password" json:"password" form:"password"`
  802. IsSuperAdmin int64 `gorm:"column:is_super_admin" json:"is_super_admin" form:"is_super_admin"`
  803. Status int64 `gorm:"column:status" json:"status" form:"status"`
  804. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  805. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  806. Source int64 `gorm:"column:source" json:"source" form:"source"`
  807. Ttype int64 `gorm:"column:ttype" json:"ttype" form:"ttype"`
  808. Ttid int64 `gorm:"column:ttid" json:"ttid" form:"ttid"`
  809. Tuid int64 `gorm:"column:tuid" json:"tuid" form:"tuid"`
  810. Name string `gorm:"column:name" json:"name" form:"name"`
  811. }
  812. func (SgjUserAdmin) TableName() string {
  813. return "sgj_user_admin"
  814. }
  815. type UserAdminRoles struct {
  816. ID int64 `gorm:"column:id" json:"id" form:"id"`
  817. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  818. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  819. AppId int64 `gorm:"column:app_id" json:"app_id" form:"app_id"`
  820. RoleId int64 `gorm:"column:role_id" json:"role_id" form:"role_id"`
  821. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  822. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  823. UserType int64 `gorm:"column:user_type" json:"user_type" form:"user_type"`
  824. UserTitle int64 `gorm:"column:user_title" json:"user_title" form:"user_title"`
  825. Intro string `gorm:"column:intro" json:"intro" form:"intro"`
  826. Status int64 `gorm:"column:status" json:"status" form:"status"`
  827. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  828. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  829. UserTitleName string `gorm:"column:user_title_name" json:"user_title_name" form:"user_title_name"`
  830. RoleIds string `gorm:"column:role_ids" json:"role_ids" form:"role_ids"`
  831. Message string `gorm:"column:message" json:"message" form:"message"`
  832. Sex int64 `gorm:"column:sex" json:"sex" form:"sex"`
  833. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  834. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  835. Url string `gorm:"column:url" json:"url" form:"url"`
  836. Hash string `gorm:"column:hash" json:"hash" form:"hash"`
  837. }