xcx_user_models.go 45KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. package models
  2. type XcxAdminUserRole struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. PatientName string `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
  5. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  6. Mobile string `gorm:"column:mobile" json:"mobile" form:"mobile"`
  7. Code string `gorm:"column:code" json:"code" form:"code"`
  8. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  9. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  10. Status int64 `gorm:"column:status" json:"status" form:"status"`
  11. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  12. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  13. Appid string `gorm:"column:appid" json:"appid" form:"appid"`
  14. Appsecret string `gorm:"column:appsecret" json:"appsecret" form:"appsecret"`
  15. SessionKey string `gorm:"column:session_key" json:"session_key" form:"session_key"`
  16. }
  17. func (XcxAdminUserRole) TableName() string {
  18. return "xcx_admin_user_role"
  19. }
  20. type XcxPatients struct {
  21. ID int64 `gorm:"column:id" json:"id" form:"id"`
  22. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  23. UserId int64 `gorm:"column:user_id" json:"user_id" form:"user_id"`
  24. Avatar string `gorm:"column:avatar" json:"avatar" form:"avatar"`
  25. PatientType int64 `gorm:"column:patient_type" json:"patient_type" form:"patient_type"`
  26. DialysisNo string `gorm:"column:dialysis_no" json:"dialysis_no" form:"dialysis_no"`
  27. AdmissionNumber string `gorm:"column:admission_number" json:"admission_number" form:"admission_number"`
  28. Source int64 `gorm:"column:source" json:"source" form:"source"`
  29. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  30. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  31. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  32. Name string `gorm:"column:name" json:"name" form:"name"`
  33. Alias string `gorm:"column:alias" json:"alias" form:"alias"`
  34. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  35. MaritalStatus int64 `gorm:"column:marital_status" json:"marital_status" form:"marital_status"`
  36. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  37. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  38. ReimbursementWayId int64 `gorm:"column:reimbursement_way_id" json:"reimbursement_way_id" form:"reimbursement_way_id"`
  39. HealthCareType int64 `gorm:"column:health_care_type" json:"health_care_type" form:"health_care_type"`
  40. HealthCareNo string `gorm:"column:health_care_no" json:"health_care_no" form:"health_care_no"`
  41. HealthCareDueDate int64 `gorm:"column:health_care_due_date" json:"health_care_due_date" form:"health_care_due_date"`
  42. Height int64 `gorm:"column:height" json:"height" form:"height"`
  43. BloodType int64 `gorm:"column:blood_type" json:"blood_type" form:"blood_type"`
  44. Rh int64 `gorm:"column:rh" json:"rh" form:"rh"`
  45. HealthCareDueAlertDate int64 `gorm:"column:health_care_due_alert_date" json:"health_care_due_alert_date" form:"health_care_due_alert_date"`
  46. EducationLevel int64 `gorm:"column:education_level" json:"education_level" form:"education_level"`
  47. Profession int64 `gorm:"column:profession" json:"profession" form:"profession"`
  48. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  49. HomeTelephone string `gorm:"column:home_telephone" json:"home_telephone" form:"home_telephone"`
  50. RelativePhone string `gorm:"column:relative_phone" json:"relative_phone" form:"relative_phone"`
  51. RelativeRelations string `gorm:"column:relative_relations" json:"relative_relations" form:"relative_relations"`
  52. HomeAddress string `gorm:"column:home_address" json:"home_address" form:"home_address"`
  53. WorkUnit string `gorm:"column:work_unit" json:"work_unit" form:"work_unit"`
  54. UnitAddress string `gorm:"column:unit_address" json:"unit_address" form:"unit_address"`
  55. Children int64 `gorm:"column:children" json:"children" form:"children"`
  56. ReceivingDate int64 `gorm:"column:receiving_date" json:"receiving_date" form:"receiving_date"`
  57. IsHospitalFirstDialysis int64 `gorm:"column:is_hospital_first_dialysis" json:"is_hospital_first_dialysis" form:"is_hospital_first_dialysis"`
  58. FirstDialysisDate int64 `gorm:"column:first_dialysis_date" json:"first_dialysis_date" form:"first_dialysis_date"`
  59. FirstDialysisHospital string `gorm:"column:first_dialysis_hospital" json:"first_dialysis_hospital" form:"first_dialysis_hospital"`
  60. PredialysisCondition string `gorm:"column:predialysis_condition" json:"predialysis_condition" form:"predialysis_condition"`
  61. PreHospitalDialysisFrequency string `gorm:"column:pre_hospital_dialysis_frequency" json:"pre_hospital_dialysis_frequency" form:"pre_hospital_dialysis_frequency"`
  62. PreHospitalDialysisTimes int64 `gorm:"column:pre_hospital_dialysis_times" json:"pre_hospital_dialysis_times" form:"pre_hospital_dialysis_times"`
  63. HospitalFirstDialysisDate int64 `gorm:"column:hospital_first_dialysis_date" json:"hospital_first_dialysis_date" form:"hospital_first_dialysis_date"`
  64. InductionPeriod int64 `gorm:"column:induction_period" json:"induction_period" form:"induction_period"`
  65. InitialDialysis int64 `gorm:"column:initial_dialysis" json:"initial_dialysis" form:"initial_dialysis"`
  66. TotalDialysis int64 `gorm:"column:total_dialysis" json:"total_dialysis" form:"total_dialysis"`
  67. AttendingDoctorId int64 `gorm:"column:attending_doctor_id" json:"attending_doctor_id" form:"attending_doctor_id"`
  68. HeadNurseId int64 `gorm:"column:head_nurse_id" json:"head_nurse_id" form:"head_nurse_id"`
  69. Evaluate string `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  70. Diagnose string `gorm:"column:diagnose" json:"diagnose" form:"diagnose"`
  71. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  72. RegistrarsId int64 `gorm:"column:registrars_id" json:"registrars_id" form:"registrars_id"`
  73. Registrars string `gorm:"column:registrars" json:"registrars" form:"registrars"`
  74. QrCode string `gorm:"column:qr_code" json:"qr_code" form:"qr_code"`
  75. BindingState int64 `gorm:"column:binding_state" json:"binding_state" form:"binding_state"`
  76. PatientComplains string `gorm:"column:patient_complains" json:"patient_complains" form:"patient_complains"`
  77. PresentHistory string `gorm:"column:present_history" json:"present_history" form:"present_history"`
  78. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  79. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  80. Pulse int64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  81. Respiratory int64 `gorm:"column:respiratory" json:"respiratory" form:"respiratory"`
  82. Sbp int64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  83. Dbp int64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  84. Status int64 `gorm:"column:status" json:"status" form:"status"`
  85. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  86. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  87. Nation string `gorm:"column:nation" json:"nation" form:"nation"`
  88. NativePlace string `gorm:"column:native_place" json:"native_place" form:"native_place"`
  89. Age int64 `gorm:"column:age" json:"age" form:"age"`
  90. InfectiousNextRecordTime int64 `gorm:"column:infectious_next_record_time" json:"infectious_next_record_time" form:"infectious_next_record_time"`
  91. IsInfectious int64 `gorm:"column:is_infectious" json:"is_infectious" form:"is_infectious"`
  92. RemindCycle int64 `gorm:"column:remind_cycle" json:"remind_cycle" form:"remind_cycle"`
  93. ResponseResult string `gorm:"column:response_result" json:"response_result" form:"response_result"`
  94. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  95. FirstTreatmentDate int64 `gorm:"column:first_treatment_date" json:"first_treatment_date" form:"first_treatment_date"`
  96. DialysisAge int64 `gorm:"column:dialysis_age" json:"dialysis_age" form:"dialysis_age"`
  97. ExpenseKind int64 `gorm:"column:expense_kind" json:"expense_kind" form:"expense_kind"`
  98. TellPhone string `gorm:"column:tell_phone" json:"tell_phone" form:"tell_phone"`
  99. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  100. UserSysBeforeCount int64 `gorm:"column:user_sys_before_count" json:"user_sys_before_count" form:"user_sys_before_count"`
  101. IsExcelExport int64 `gorm:"column:is_excel_export" json:"is_excel_export" form:"is_excel_export"`
  102. SchRemark string `gorm:"column:sch_remark" json:"sch_remark" form:"sch_remark"`
  103. OutReason string `gorm:"column:out_reason" json:"out_reason" form:"out_reason"`
  104. DeathTime int64 `gorm:"column:death_time" json:"death_time" form:"death_time"`
  105. }
  106. func (XcxPatients) TableName() string {
  107. return "xt_patients"
  108. }
  109. type VmBloodSchedule struct {
  110. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  111. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  112. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  113. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  114. Name string `json:"name" form:"name"`
  115. }
  116. type BloodSchedule struct {
  117. ID int64 `gorm:"column:id" json:"id" form:"id"`
  118. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  119. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  120. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  121. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  122. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  123. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  124. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  125. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  126. Status int64 `gorm:"column:status" json:"status" form:"status"`
  127. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  128. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  129. Name string
  130. Number string
  131. }
  132. func (BloodSchedule) TableName() string {
  133. return "xt_schedule"
  134. }
  135. type XcxDeviceZone struct {
  136. ID int64 `gorm:"column:id" json:"id"`
  137. OrgID int64 `gorm:"column:org_id" json:"-"`
  138. Name string `json:"name"`
  139. Type int `json:"type"`
  140. Status int8 `json:"-"`
  141. CreateTime int64 `gorm:"column:ctime" json:"-"`
  142. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  143. }
  144. func (XcxDeviceZone) TableName() string {
  145. return "xt_device_zone"
  146. }
  147. type XcxDeviceNumber struct {
  148. ID int64 `gorm:"column:id" json:"id"`
  149. OrgID int64 `gorm:"column:org_id" json:"-"`
  150. Number string `gorm:"column:number" json:"number"`
  151. GroupID int64 `gorm:"column:group_id" json:"group_id"`
  152. ZoneID int64 `gorm:"column:zone_id" json:"zone_id"`
  153. Status int8 `json:"-"`
  154. CreateTime int64 `gorm:"column:ctime" json:"-"`
  155. ModifyTime int64 `gorm:"column:mtime" json:"-"`
  156. Sort int64 `gorm:"column:sort" json:"sort" form:"sort"`
  157. }
  158. func (XcxDeviceNumber) TableName() string {
  159. return "xt_device_number"
  160. }
  161. type XcXDialysisOrder struct {
  162. ID int64 `gorm:"column:id" json:"id" form:"id"`
  163. DialysisDate int64 `gorm:"column:dialysis_date" json:"dialysis_date" form:"dialysis_date"`
  164. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  165. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  166. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  167. Stage int64 `gorm:"column:stage" json:"stage" form:"stage"`
  168. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  169. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  170. StartNurse int64 `gorm:"column:start_nurse" json:"start_nurse" form:"start_nurse"`
  171. FinishNurse int64 `gorm:"column:finish_nurse" json:"finish_nurse" form:"finish_nurse"`
  172. Status int64 `gorm:"column:status" json:"status" form:"status"`
  173. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  174. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  175. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  176. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  177. PunctureNurse int64 `gorm:"column:puncture_nurse" json:"puncture_nurse" form:"puncture_nurse"`
  178. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  179. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  180. FinishCreator int64 `gorm:"column:finish_creator" json:"finish_creator" form:"finish_creator"`
  181. FinishModifier int64 `gorm:"column:finish_modifier" json:"finish_modifier" form:"finish_modifier"`
  182. SchedualType int64 `gorm:"column:schedual_type" json:"schedual_type" form:"schedual_type"`
  183. WashpipeNurse int64 `gorm:"column:washpipe_nurse" json:"washpipe_nurse" form:"washpipe_nurse"`
  184. ChangeNurse int64 `gorm:"column:change_nurse" json:"change_nurse" form:"change_nurse"`
  185. DifficultPunctureNurse int64 `gorm:"column:difficult_puncture_nurse" json:"difficult_puncture_nurse" form:"difficult_puncture_nurse"`
  186. NewFistulaNurse string `gorm:"column:new_fistula_nurse" json:"new_fistula_nurse" form:"new_fistula_nurse"`
  187. }
  188. func (XcXDialysisOrder) TableName() string {
  189. return "xt_dialysis_order"
  190. }
  191. type XcxSgjUserOrg struct {
  192. ID int64 `gorm:"column:id" json:"id" form:"id"`
  193. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  194. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  195. OrgShortName string `gorm:"column:org_short_name" json:"org_short_name" form:"org_short_name"`
  196. OrgLogo string `gorm:"column:org_logo" json:"org_logo" form:"org_logo"`
  197. OrgIntroduction string `gorm:"column:org_introduction" json:"org_introduction" form:"org_introduction"`
  198. Illness string `gorm:"column:illness" json:"illness" form:"illness"`
  199. Province int64 `gorm:"column:province" json:"province" form:"province"`
  200. City int64 `gorm:"column:city" json:"city" form:"city"`
  201. District int64 `gorm:"column:district" json:"district" form:"district"`
  202. Address string `gorm:"column:address" json:"address" form:"address"`
  203. Longitude string `gorm:"column:longitude" json:"longitude" form:"longitude"`
  204. Latitude string `gorm:"column:latitude" json:"latitude" form:"latitude"`
  205. OrgType int64 `gorm:"column:org_type" json:"org_type" form:"org_type"`
  206. Comments int64 `gorm:"column:comments" json:"comments" form:"comments"`
  207. Evaluate float64 `gorm:"column:evaluate" json:"evaluate" form:"evaluate"`
  208. Gallery string `gorm:"column:gallery" json:"gallery" form:"gallery"`
  209. BusinessWeek string `gorm:"column:business_week" json:"business_week" form:"business_week"`
  210. BusinessTime string `gorm:"column:business_time" json:"business_time" form:"business_time"`
  211. ContactName string `gorm:"column:contact_name" json:"contact_name" form:"contact_name"`
  212. Telephone string `gorm:"column:telephone" json:"telephone" form:"telephone"`
  213. Claim int64 `gorm:"column:claim" json:"claim" form:"claim"`
  214. OperatingState int64 `gorm:"column:operating_state" json:"operating_state" form:"operating_state"`
  215. Status int64 `gorm:"column:status" json:"status" form:"status"`
  216. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  217. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  218. Source int64 `gorm:"column:source" json:"source" form:"source"`
  219. Ttype int64 `gorm:"column:ttype" json:"ttype" form:"ttype"`
  220. Ttid int64 `gorm:"column:ttid" json:"ttid" form:"ttid"`
  221. Tuid int64 `gorm:"column:tuid" json:"tuid" form:"tuid"`
  222. Reason string `gorm:"column:reason" json:"reason" form:"reason"`
  223. Level int64 `gorm:"column:level" json:"level" form:"level"`
  224. Website string `gorm:"column:website" json:"website" form:"website"`
  225. Import int64 `gorm:"column:import" json:"import" form:"import"`
  226. Sortno int64 `gorm:"column:sortno" json:"sortno" form:"sortno"`
  227. }
  228. func (XcxSgjUserOrg) TableName() string {
  229. return "sgj_user_org"
  230. }
  231. type XcxTreatmentSummary struct {
  232. ID int64 `gorm:"column:id" json:"id" form:"id"`
  233. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  234. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  235. AssessmentDate int64 `gorm:"column:assessment_date" json:"assessment_date" form:"assessment_date"`
  236. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  237. Mission string `gorm:"column:mission" json:"mission" form:"mission"`
  238. DialysisSummary string `gorm:"column:dialysis_summary" json:"dialysis_summary" form:"dialysis_summary"`
  239. Change int64 `gorm:"column:change" json:"change" form:"change"`
  240. SjNurse int64 `gorm:"column:sj_nurse" json:"sj_nurse" form:"sj_nurse"`
  241. ZlNurse int64 `gorm:"column:zl_nurse" json:"zl_nurse" form:"zl_nurse"`
  242. HdNurse int64 `gorm:"column:hd_nurse" json:"hd_nurse" form:"hd_nurse"`
  243. XjNurse int64 `gorm:"column:xj_nurse" json:"xj_nurse" form:"xj_nurse"`
  244. ZlDoctor int64 `gorm:"column:zl_doctor" json:"zl_doctor" form:"zl_doctor"`
  245. ChannelImage string `gorm:"column:channel_image" json:"channel_image" form:"channel_image"`
  246. Puncture string `gorm:"column:puncture" json:"puncture" form:"puncture"`
  247. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  248. PunctureDirection string `gorm:"column:puncture_direction" json:"puncture_direction" form:"puncture_direction"`
  249. Status int64 `gorm:"column:status" json:"status" form:"status"`
  250. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  251. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  252. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  253. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  254. NursingRecord string `gorm:"column:nursing_record" json:"nursing_record" form:"nursing_record"`
  255. SpecialRecord string `gorm:"column:special_record" json:"special_record" form:"special_record"`
  256. }
  257. func (XcxTreatmentSummary) TableName() string {
  258. return "xt_treatment_summary"
  259. }
  260. type XcxDoctorAdviceConfig struct {
  261. ID int64 `gorm:"column:id" json:"id" form:"id"`
  262. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  263. CreateTime int64 `gorm:"column:create_time" json:"create_time" form:"create_time"`
  264. UpdateTime int64 `gorm:"column:update_time" json:"update_time" form:"update_time"`
  265. Status int64 `gorm:"column:status" json:"status" form:"status"`
  266. IsOpenRemind int64 `gorm:"column:is_open_remind" json:"is_open_remind" form:"is_open_remind"`
  267. }
  268. func (XcxDoctorAdviceConfig) TableName() string {
  269. return "xt_doctor_config"
  270. }
  271. type XcxDoctorAdviceOne struct {
  272. ID int64 `gorm:"column:id" json:"id" form:"id"`
  273. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  274. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  275. Childs []*XcxDoctorAdvice `json:"childs" `
  276. }
  277. func (XcxDoctorAdviceOne) TableName() string {
  278. return "xt_doctor_advice"
  279. }
  280. type XcxDoctorAdvice struct {
  281. ID int64 `gorm:"column:id" json:"id" form:"id"`
  282. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  283. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  284. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  285. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  286. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  287. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  288. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  289. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  290. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  291. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  292. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  293. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  294. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  295. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  296. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  297. Status int64 `gorm:"column:status" json:"status" form:"status"`
  298. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  299. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  300. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  301. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  302. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  303. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  304. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  305. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  306. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  307. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  308. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  309. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  310. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  311. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  312. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  313. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  314. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  315. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  316. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  317. Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  318. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
  319. DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
  320. WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
  321. RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
  322. TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
  323. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  324. Way int64 `gorm:"column:way" json:"way" form:"way"`
  325. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  326. DrugNameId int64 `gorm:"column:drug_name_id" json:"drug_name_id" form:"drug_name_id"`
  327. SyncAdviceId int64 `gorm:"column:sync_advice_id" json:"sync_advice_id" form:"sync_advice_id"`
  328. IsSync int64 `gorm:"column:is_sync" json:"is_sync" form:"is_sync"`
  329. Childs []*XcxDoctorAdvice `json:"childs" `
  330. }
  331. func (XcxDoctorAdvice) TableName() string {
  332. return "xt_doctor_advice"
  333. }
  334. type XcxHisDoctorAdviceInfo struct {
  335. ID int64 `gorm:"column:id" json:"id" form:"id"`
  336. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  337. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  338. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  339. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  340. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  341. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  342. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  343. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  344. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  345. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  346. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  347. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  348. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  349. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  350. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  351. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  352. Status int64 `gorm:"column:status" json:"status" form:"status"`
  353. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  354. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  355. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  356. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  357. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  358. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  359. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  360. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  361. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  362. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  363. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  364. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  365. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  366. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  367. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  368. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  369. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  370. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  371. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  372. Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  373. RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
  374. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
  375. DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
  376. WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
  377. TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
  378. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  379. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  380. Price float64 `gorm:"column:price" json:"price" form:"price"`
  381. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  382. MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
  383. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  384. Day int64 `gorm:"column:day" json:"day" form:"day"`
  385. Way int64 `gorm:"column:way" json:"way" form:"way"`
  386. DrugNameId int64 `gorm:"column:drug_name_id" json:"drug_name_id" form:"drug_name_id"`
  387. Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
  388. HospApprFlag int64 `gorm:"column:hosp_appr_flag" json:"hosp_appr_flag" form:"hosp_appr_flag"`
  389. LmtUsedFlag int64 `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
  390. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  391. Childs []*XcxHisDoctorAdviceInfo `json:"childs" `
  392. }
  393. func (XcxHisDoctorAdviceInfo) TableName() string {
  394. return "his_doctor_advice_info"
  395. }
  396. type XcxXtDialysisPrescription struct {
  397. ID int64 `gorm:"column:id" json:"id" form:"id"`
  398. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  399. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  400. Dialyzer int64 `gorm:"column:dialyzer" json:"dialyzer" form:"dialyzer"`
  401. MachineType string `gorm:"column:machine_type" json:"machine_type" form:"machine_type"`
  402. DewaterAmount float64 `gorm:"column:dewater_amount" json:"dewater_amount" form:"dewater_amount"`
  403. DialyzerPerfusionApparatus string `gorm:"column:dialyzer_perfusion_apparatus" json:"dialyzer_perfusion_apparatus" form:"dialyzer_perfusion_apparatus"`
  404. PrescriptionDewatering float64 `gorm:"column:prescription_dewatering" json:"prescription_dewatering" form:"prescription_dewatering"`
  405. Anticoagulant int64 `gorm:"column:anticoagulant" json:"anticoagulant" form:"anticoagulant"`
  406. AnticoagulantShouji float64 `gorm:"column:anticoagulant_shouji" json:"anticoagulant_shouji" form:"anticoagulant_shouji"`
  407. AnticoagulantStopTimeHour int64 `gorm:"column:anticoagulant_stop_time_hour" json:"anticoagulant_stop_time_hour" form:"anticoagulant_stop_time_hour"`
  408. AnticoagulantWeichi float64 `gorm:"column:anticoagulant_weichi" json:"anticoagulant_weichi" form:"anticoagulant_weichi"`
  409. AnticoagulantZongliang float64 `gorm:"column:anticoagulant_zongliang" json:"anticoagulant_zongliang" form:"anticoagulant_zongliang"`
  410. AnticoagulantGaimingcheng string `gorm:"column:anticoagulant_gaimingcheng" json:"anticoagulant_gaimingcheng" form:"anticoagulant_gaimingcheng"`
  411. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  412. AnticoagulantGaijiliang string `gorm:"column:anticoagulant_gaijiliang" json:"anticoagulant_gaijiliang" form:"anticoagulant_gaijiliang"`
  413. DialysisDurationHour int64 `gorm:"column:dialysis_duration_hour" json:"dialysis_duration_hour" form:"dialysis_duration_hour"`
  414. DialysisDurationMinute int64 `gorm:"column:dialysis_duration_minute" json:"dialysis_duration_minute" form:"dialysis_duration_minute"`
  415. DialysisDuration float64 `gorm:"column:dialysis_duration" json:"dialysis_duration" form:"dialysis_duration"`
  416. ReplacementTotal float64 `gorm:"column:replacement_total" json:"replacement_total" form:"replacement_total"`
  417. ReplacementWay int64 `gorm:"column:replacement_way" json:"replacement_way" form:"replacement_way"`
  418. HemodialysisMachine int64 `gorm:"column:hemodialysis_machine" json:"hemodialysis_machine" form:"hemodialysis_machine"`
  419. BloodFilter int64 `gorm:"column:blood_filter" json:"blood_filter" form:"blood_filter"`
  420. PerfusionApparatus int64 `gorm:"column:perfusion_apparatus" json:"perfusion_apparatus" form:"perfusion_apparatus"`
  421. DryWeight float64 `gorm:"column:dry_weight" json:"dry_weight" form:"dry_weight"`
  422. VascularAccessMode int64 `gorm:"column:vascular_access_mode" json:"vascular_access_mode" form:"vascular_access_mode"`
  423. VascularAccess int64 `gorm:"column:vascular_access" json:"vascular_access" form:"vascular_access"`
  424. BloodFlowVolume float64 `gorm:"column:blood_flow_volume" json:"blood_flow_volume" form:"blood_flow_volume"`
  425. DialysateFlow float64 `gorm:"column:dialysate_flow" json:"dialysate_flow" form:"dialysate_flow"`
  426. DisplaceLiqui float64 `gorm:"column:displace_liqui" json:"displace_liqui" form:"displace_liqui"`
  427. Kalium float64 `gorm:"column:kalium" json:"kalium" form:"kalium"`
  428. Sodium float64 `gorm:"column:sodium" json:"sodium" form:"sodium"`
  429. Calcium float64 `gorm:"column:calcium" json:"calcium" form:"calcium"`
  430. Bicarbonate float64 `gorm:"column:bicarbonate" json:"bicarbonate" form:"bicarbonate"`
  431. Glucose float64 `gorm:"column:glucose" json:"glucose" form:"glucose"`
  432. DialysateTemperature float64 `gorm:"column:dialysate_temperature" json:"dialysate_temperature" form:"dialysate_temperature"`
  433. Conductivity float64 `gorm:"column:conductivity" json:"conductivity" form:"conductivity"`
  434. PrescriptionDoctor int64 `gorm:"column:prescription_doctor" json:"prescription_doctor" form:"prescription_doctor"`
  435. Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
  436. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  437. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  438. Status int64 `gorm:"column:status" json:"status" form:"status"`
  439. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  440. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  441. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  442. RecordId int64 `gorm:"column:record_id" json:"record_id" form:"record_id"`
  443. TargetUltrafiltration float64 `gorm:"column:target_ultrafiltration" json:"target_ultrafiltration" form:"target_ultrafiltration"`
  444. DialysateFormulation int64 `gorm:"column:dialysate_formulation" json:"dialysate_formulation" form:"dialysate_formulation"`
  445. BodyFluid int64 `gorm:"column:body_fluid" json:"body_fluid" form:"body_fluid"`
  446. SpecialMedicine int64 `gorm:"column:special_medicine" json:"special_medicine" form:"special_medicine"`
  447. SpecialMedicineOther string `gorm:"column:special_medicine_other" json:"special_medicine_other" form:"special_medicine_other"`
  448. DisplaceLiquiPart int64 `gorm:"column:displace_liqui_part" json:"displace_liqui_part" form:"displace_liqui_part"`
  449. BloodAccess int64 `gorm:"column:blood_access" json:"blood_access" form:"blood_access"`
  450. DisplaceLiquiValue float64 `gorm:"column:displace_liqui_value" json:"displace_liqui_value" form:"displace_liqui_value"`
  451. Ultrafiltration float64 `gorm:"column:ultrafiltration" json:"ultrafiltration" form:"ultrafiltration"`
  452. BodyFluidOther string `gorm:"column:body_fluid_other" json:"body_fluid_other" form:"body_fluid_other"`
  453. Niprocart int64 `gorm:"column:niprocart" json:"niprocart" form:"niprocart"`
  454. Jms int64 `gorm:"column:jms" json:"jms" form:"jms"`
  455. FistulaNeedleSet int64 `gorm:"column:fistula_needle_set" json:"fistula_needle_set" form:"fistula_needle_set"`
  456. FistulaNeedleSet16 int64 `gorm:"column:fistula_needle_set_16" json:"fistula_needle_set_16" form:"fistula_needle_set_16"`
  457. Hemoperfusion int64 `gorm:"column:hemoperfusion" json:"hemoperfusion" form:"hemoperfusion"`
  458. DialyserSterilised int64 `gorm:"column:dialyser_sterilised" json:"dialyser_sterilised" form:"dialyser_sterilised"`
  459. Filtryzer int64 `gorm:"column:filtryzer" json:"filtryzer" form:"filtryzer"`
  460. TargetKtv float64 `gorm:"column:target_ktv" json:"target_ktv" form:"target_ktv"`
  461. Dialyzers int64 `gorm:"column:dialyzers" json:"dialyzers" form:"dialyzers"`
  462. Injector int64 `gorm:"column:injector" json:"injector" form:"injector"`
  463. Bloodlines int64 `gorm:"column:bloodlines" json:"bloodlines" form:"bloodlines"`
  464. TubingHemodialysis int64 `gorm:"column:tubing_hemodialysis" json:"tubing_hemodialysis" form:"tubing_hemodialysis"`
  465. Package int64 `gorm:"column:package" json:"package" form:"package"`
  466. ALiquid int64 `gorm:"column:a_liquid" json:"a_liquid" form:"a_liquid"`
  467. PreImpulse float64 `gorm:"column:pre_impulse" json:"pre_impulse" form:"pre_impulse"`
  468. AnticoagulantStopTimeMin int64 `gorm:"column:anticoagulant_stop_time_min" json:"anticoagulant_stop_time_min" form:"anticoagulant_stop_time_min"`
  469. HeparinSodium string `gorm:"column:heparin_sodium" json:"heparin_sodium" form:"heparin_sodium"`
  470. Nucleoprotamine string `gorm:"column:nucleoprotamine" json:"nucleoprotamine" form:"nucleoprotamine"`
  471. PushTheProtamine string `gorm:"column:push_the_protamine" json:"push_the_protamine" form:"push_the_protamine"`
  472. NoHeparinRemarks string `gorm:"column:no_heparin_remarks" json:"no_heparin_remarks" form:"no_heparin_remarks"`
  473. Blood string `gorm:"column:blood" json:"blood" form:"blood"`
  474. DialysisDialyszers string `gorm:"column:dialysis_dialyszers" json:"dialysis_dialyszers" form:"dialysis_dialyszers"`
  475. DialysisIrrigation string `gorm:"column:dialysis_irrigation" json:"dialysis_irrigation" form:"dialysis_irrigation"`
  476. AntioxidantCommodityName string `gorm:"column:antioxidant_commodity_name" json:"antioxidant_commodity_name" form:"antioxidant_commodity_name"`
  477. DisplaceSpeed string `gorm:"column:displace_speed" json:"displace_speed" form:"displace_speed"`
  478. Illness int64 `gorm:"column:illness" json:"illness" form:"illness"`
  479. Amylaceum string `gorm:"column:amylaceum" json:"amylaceum" form:"amylaceum"`
  480. SingleTime string `gorm:"column:single_time" json:"single_time" form:"single_time"`
  481. SingleWater string `gorm:"column:single_water" json:"single_water" form:"single_water"`
  482. ReplacementFlow string `gorm:"column:replacement_flow" json:"replacement_flow" form:"replacement_flow"`
  483. PlasmaSeparator string `gorm:"column:plasma_separator" json:"plasma_separator" form:"plasma_separator"`
  484. BilirubinAdsorptionColumn string `gorm:"column:bilirubin_adsorption_column" json:"bilirubin_adsorption_column" form:"bilirubin_adsorption_column"`
  485. OxygenUptake int64 `gorm:"column:oxygen_uptake" json:"oxygen_uptake" form:"oxygen_uptake"`
  486. OxygenFlow string `gorm:"column:oxygen_flow" json:"oxygen_flow" form:"oxygen_flow"`
  487. OxygenTime string `gorm:"column:oxygen_time" json:"oxygen_time" form:"oxygen_time"`
  488. HemodialysisPipelines string `gorm:"column:hemodialysis_pipelines" json:"hemodialysis_pipelines" form:"hemodialysis_pipelines"`
  489. HemodialysisPipelinesCount float64 `gorm:"column:hemodialysis_pipelines_count" json:"hemodialysis_pipelines_count" form:"hemodialysis_pipelines_count"`
  490. PunctureNeedle string `gorm:"column:puncture_needle" json:"puncture_needle" form:"puncture_needle"`
  491. PunctureNeedleCount float64 `gorm:"column:puncture_needle_count" json:"puncture_needle_count" form:"puncture_needle_count"`
  492. Epo string `gorm:"column:epo" json:"epo" form:"epo"`
  493. EpoCount float64 `gorm:"column:epo_count" json:"epo_count" form:"epo_count"`
  494. MaxUltrafiltrationRate string `gorm:"column:max_ultrafiltration_rate" json:"max_ultrafiltration_rate" form:"max_ultrafiltration_rate"`
  495. }
  496. func (XcxXtDialysisPrescription) TableName() string {
  497. return "xt_dialysis_prescription"
  498. }
  499. type XcxGobalTemplate struct {
  500. ID int64 `gorm:"column:id" json:"id" form:"id"`
  501. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  502. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  503. Status int64 `gorm:"column:status" json:"status" form:"status"`
  504. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  505. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  506. }
  507. func (XcxGobalTemplate) TableName() string {
  508. return "xt_gobal_template"
  509. }
  510. type XcxSchedule struct {
  511. ID int64 `gorm:"column:id" json:"id" form:"id"`
  512. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  513. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  514. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  515. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  516. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  517. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  518. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  519. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  520. Status int64 `gorm:"column:status" json:"status" form:"status"`
  521. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  522. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  523. IsExport int64 `gorm:"column:is_export" json:"is_export" form:"is_export"`
  524. }
  525. func (XcxSchedule) TableName() string {
  526. return "xt_schedule"
  527. }