his_models.go 65KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  1. package models
  2. import "time"
  3. type XtHisProject struct {
  4. ID int64 `gorm:"column:id" json:"id" form:"id"`
  5. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  6. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  7. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  8. Price float64 `gorm:"column:price" json:"price" form:"price"`
  9. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  10. CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
  11. ExecutiveSection int64 `gorm:"column:executive_section" json:"executive_section" form:"executive_section"`
  12. MedicalCoverage int64 `gorm:"column:medical_coverage" json:"medical_coverage" form:"medical_coverage"`
  13. StatisticalClassification int64 `gorm:"column:statistical_classification" json:"statistical_classification" form:"statistical_classification"`
  14. DiseaseDirectory int64 `gorm:"column:disease_directory" json:"disease_directory" form:"disease_directory"`
  15. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  16. MedicalCode string `gorm:"column:medical_code" json:"medical_code" form:"medical_code"`
  17. TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
  18. MedicalStatus int64 `gorm:"column:medical_status" json:"medical_status" form:"medical_status"`
  19. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  20. Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
  21. DefaultNumber string `gorm:"column:default_number" json:"default_number" form:"default_number"`
  22. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  23. IsCharge int64 `gorm:"column:is_charge" json:"is_charge" form:"is_charge"`
  24. IsEstimate int64 `gorm:"column:is_estimate" json:"is_estimate" form:"is_estimate"`
  25. IsWorkload int64 `gorm:"column:is_workload" json:"is_workload" form:"is_workload"`
  26. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  27. DoctorAdvice int64 `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
  28. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  29. Status int64 `gorm:"column:status" json:"status" form:"status"`
  30. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  31. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  32. SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  33. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  34. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  35. NumberDays string `gorm:"column:number_days" json:"number_days" form:"number_days"`
  36. Total string `gorm:"column:total" json:"total" form:"total"`
  37. }
  38. func (XtHisProject) TableName() string {
  39. return "xt_his_project"
  40. }
  41. type XtHisProjectTeam struct {
  42. ID int64 `gorm:"column:id" json:"id" form:"id"`
  43. ProjectTeam string `gorm:"column:project_team" json:"project_team" form:"project_team"`
  44. Price float64 `gorm:"column:price" json:"price" form:"price"`
  45. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  46. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  47. TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
  48. TeamType int64 `gorm:"column:team_type" json:"team_type" form:"team_type"`
  49. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  50. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  51. Status int64 `gorm:"column:status" json:"status" form:"status"`
  52. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  53. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  54. ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
  55. }
  56. func (XtHisProjectTeam) TableName() string {
  57. return "xt_his_project_team"
  58. }
  59. type XtHisDepartment struct {
  60. ID int64 `gorm:"column:id" json:"id" form:"id"`
  61. Name string `gorm:"column:name" json:"name" form:"name"`
  62. Number string `gorm:"column:number" json:"number" form:"number"`
  63. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  64. Status int64 `gorm:"column:status" json:"status" form:"status"`
  65. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  66. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  67. }
  68. func (XtHisDepartment) TableName() string {
  69. return "xt_his_department"
  70. }
  71. type HisPatient struct {
  72. ID int64 `gorm:"column:id" json:"id" form:"id"`
  73. BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
  74. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  75. Name string `gorm:"column:name" json:"name" form:"name"`
  76. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  77. IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
  78. MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
  79. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  80. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  81. Age int64 `gorm:"column:age" json:"age" form:"age"`
  82. PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
  83. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  84. RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
  85. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  86. Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
  87. IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
  88. RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
  89. TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
  90. CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
  91. Total float64 `gorm:"column:total" json:"total" form:"total"`
  92. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  93. Status int64 `gorm:"column:status" json:"status" form:"status"`
  94. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  95. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  96. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  97. Number string `gorm:"column:number" json:"number" form:"number"`
  98. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  99. IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
  100. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  101. PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
  102. Certno string `gorm:"column:certno" json:"certno" form:"certno"`
  103. PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
  104. Gend string `gorm:"column:gend" json:"gend" form:"gend"`
  105. Naty string `gorm:"column:naty" json:"naty" form:"naty"`
  106. Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
  107. Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
  108. Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
  109. IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
  110. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  111. SocialType int64 `gorm:"column:social_type" json:"social_type" form:"social_type"`
  112. }
  113. func (HisPatient) TableName() string {
  114. return "his_patient"
  115. }
  116. type HisPrescriptionVm 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. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  120. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  121. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  122. Status int64 `gorm:"column:status" json:"status" form:"status"`
  123. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  124. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  125. Number string `gorm:"column:number" json:"number" form:"number"`
  126. Type int64 `gorm:"column:type" json:"type" form:"type"`
  127. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  128. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  129. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  130. Name string
  131. }
  132. type HisCaseHistoryTemplate struct {
  133. ID int64 `gorm:"column:id" json:"id" form:"id"`
  134. HistoryOfPresentIllness string `gorm:"column:history_of_present_illness" json:"history_of_present_illness" form:"history_of_present_illness"`
  135. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  136. ChiefConplaint string `gorm:"column:chief_conplaint" json:"chief_conplaint" form:"chief_conplaint"`
  137. PersonalHistory string `gorm:"column:personal_history" json:"personal_history" form:"personal_history"`
  138. FamilyHistory string `gorm:"column:family_history" json:"family_history" form:"family_history"`
  139. Diagnostic string `gorm:"column:diagnostic" json:"diagnostic" form:"diagnostic"`
  140. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  141. Status int64 `gorm:"column:status" json:"status" form:"status"`
  142. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  143. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  144. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  145. TemplateName string `gorm:"column:template_name" json:"template_name" form:"template_name"`
  146. TemplateRemark string `gorm:"column:template_remark" json:"template_remark" form:"template_remark"`
  147. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  148. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  149. UserName string `gorm:"column:user_name" json:"user_name" form:"user_name"`
  150. DoctorAdvice string `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
  151. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  152. }
  153. func (HisCaseHistoryTemplate) TableName() string {
  154. return "his_case_history_template"
  155. }
  156. type HisDoctorAdviceInfo struct {
  157. ID int64 `gorm:"column:id" json:"id" form:"id"`
  158. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  159. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  160. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  161. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  162. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  163. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  164. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  165. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  166. ReminderDate int64 `gorm:"column:reminder_date" json:"reminder_date" form:"reminder_date"`
  167. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  168. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  169. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  170. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  171. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  172. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  173. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  174. Status int64 `gorm:"column:status" json:"status" form:"status"`
  175. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  176. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  177. AdviceAffirm string `gorm:"column:advice_affirm" json:"advice_affirm" form:"advice_affirm"`
  178. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  179. StopTime int64 `gorm:"column:stop_time" json:"stop_time" form:"stop_time"`
  180. StopReason string `gorm:"column:stop_reason" json:"stop_reason" form:"stop_reason"`
  181. StopDoctor int64 `gorm:"column:stop_doctor" json:"stop_doctor" form:"stop_doctor"`
  182. StopState int64 `gorm:"column:stop_state" json:"stop_state" form:"stop_state"`
  183. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  184. ExecutionTime int64 `gorm:"column:execution_time" json:"execution_time" form:"execution_time"`
  185. ExecutionStaff int64 `gorm:"column:execution_staff" json:"execution_staff" form:"execution_staff"`
  186. ExecutionState int64 `gorm:"column:execution_state" json:"execution_state" form:"execution_state"`
  187. Checker int64 `gorm:"column:checker" json:"checker" form:"checker"`
  188. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  189. DialysisOrderId int64 `gorm:"column:dialysis_order_id" json:"dialysis_order_id" form:"dialysis_order_id"`
  190. CheckTime int64 `gorm:"column:check_time" json:"check_time" form:"check_time"`
  191. CheckState int64 `gorm:"column:check_state" json:"check_state" form:"check_state"`
  192. DrugSpec float64 `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  193. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  194. Groupno int64 `gorm:"column:groupno" json:"groupno" form:"groupno"`
  195. RemindType int64 `gorm:"column:remind_type" json:"remind_type" form:"remind_type"`
  196. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
  197. DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
  198. WeekDay string `gorm:"column:week_day" json:"week_day" form:"week_day"`
  199. TemplateId string `gorm:"column:template_id" json:"template_id" form:"template_id"`
  200. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  201. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  202. Price float64 `gorm:"column:price" json:"price" form:"price"`
  203. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  204. MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
  205. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  206. Day int64 `gorm:"column:day" json:"day" form:"day"`
  207. }
  208. func (HisDoctorAdviceInfo) TableName() string {
  209. return "his_doctor_advice_info"
  210. }
  211. type HisGroupAdvice struct {
  212. HisDoctorAdviceInfo
  213. Children []*HisGroupAdvice
  214. }
  215. type HisPatientCaseHistory struct {
  216. ID int64 `gorm:"column:id" json:"id" form:"id"`
  217. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  218. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  219. Temperature float64 `gorm:"column:temperature" json:"temperature" form:"temperature"`
  220. BloodSugar float64 `gorm:"column:blood_sugar" json:"blood_sugar" form:"blood_sugar"`
  221. Pulse float64 `gorm:"column:pulse" json:"pulse" form:"pulse"`
  222. Sbp float64 `gorm:"column:sbp" json:"sbp" form:"sbp"`
  223. Dbp float64 `gorm:"column:dbp" json:"dbp" form:"dbp"`
  224. Height float64 `gorm:"column:height" json:"height" form:"height"`
  225. BloodFat float64 `gorm:"column:blood_fat" json:"blood_fat" form:"blood_fat"`
  226. SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
  227. Symptom string `gorm:"column:symptom" json:"symptom" form:"symptom"`
  228. SickDate int64 `gorm:"column:sick_date" json:"sick_date" form:"sick_date"`
  229. IsInfect int64 `gorm:"column:is_infect" json:"is_infect" form:"is_infect"`
  230. HistoryOfPresentIllness string `gorm:"column:history_of_present_illness" json:"history_of_present_illness" form:"history_of_present_illness"`
  231. PastHistory string `gorm:"column:past_history" json:"past_history" form:"past_history"`
  232. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  233. ChiefConplaint string `gorm:"column:chief_conplaint" json:"chief_conplaint" form:"chief_conplaint"`
  234. PersonalHistory string `gorm:"column:personal_history" json:"personal_history" form:"personal_history"`
  235. FamilyHistory string `gorm:"column:family_history" json:"family_history" form:"family_history"`
  236. Diagnostic string `gorm:"column:diagnostic" json:"diagnostic" form:"diagnostic"`
  237. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  238. Status int64 `gorm:"column:status" json:"status" form:"status"`
  239. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  240. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  241. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  242. DeliveryWay int64 `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  243. Breathing float64 `gorm:"column:breathing" json:"breathing" form:"breathing"`
  244. DoctorAdvice string `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
  245. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  246. }
  247. func (HisPatientCaseHistory) TableName() string {
  248. return "his_patient_case_history"
  249. }
  250. type HisPrescriptionInfo struct {
  251. ID int64 `gorm:"column:id" json:"id" form:"id"`
  252. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  253. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  254. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  255. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  256. Status int64 `gorm:"column:status" json:"status" form:"status"`
  257. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  258. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  259. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  260. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  261. Diagnosis int64 `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
  262. RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
  263. Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
  264. Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
  265. SickHistory string `gorm:"column:sick_history" json:"sick_history" form:"sick_history"`
  266. PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
  267. PrescriptionStatus int64 `gorm:"column:prescription_status" json:"prescription_status" form:"prescription_status"`
  268. BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
  269. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  270. XtHisDepartment XtHisDepartment `gorm:"ForeignKey:ID;AssociationForeignKey:Departments" json:"department"`
  271. SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
  272. }
  273. func (HisPrescriptionInfo) TableName() string {
  274. return "his_prescription_info"
  275. }
  276. type HisPrescription struct {
  277. ID int64 `gorm:"column:id" json:"id" form:"id"`
  278. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  279. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  280. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  281. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  282. Status int64 `gorm:"column:status" json:"status" form:"status"`
  283. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  284. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  285. Number string `gorm:"column:number" json:"number" form:"number"`
  286. Type int64 `gorm:"column:type" json:"type" form:"type"`
  287. Doctor string `gorm:"column:doctor" json:"doctor" form:"doctor"`
  288. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  289. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  290. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  291. BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
  292. PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
  293. Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
  294. HisPatient VMHisPatient `gorm:"ForeignKey:PatientId;AssociationForeignKey:patient_id" json:"hisPatient"`
  295. HisDoctorAdviceInfo []*HisDoctorAdviceInfo `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"advices"`
  296. HisPrescriptionProject []*HisPrescriptionProject `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"project"`
  297. HisAdditionalCharge []*HisAdditionalCharge `gorm:"ForeignKey:PrescriptionId;AssociationForeignKey:ID" json:"addition"`
  298. //VMHisPrescriptionInfo VMHisPrescriptionInfo `gorm:"ForeignKey:PatientId,RecordDate;AssociationForeignKey:PatientId,ScheduleDate" json:"info"`
  299. }
  300. func (HisPrescription) TableName() string {
  301. return "his_prescription"
  302. }
  303. type HisProject struct {
  304. ID int64 `gorm:"column:id" json:"id" form:"id"`
  305. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  306. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  307. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  308. Price float64 `gorm:"column:price" json:"price" form:"price"`
  309. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  310. CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
  311. ExecutiveSection int64 `gorm:"column:executive_section" json:"executive_section" form:"executive_section"`
  312. MedicalCoverage int64 `gorm:"column:medical_coverage" json:"medical_coverage" form:"medical_coverage"`
  313. StatisticalClassification int64 `gorm:"column:statistical_classification" json:"statistical_classification" form:"statistical_classification"`
  314. DiseaseDirectory int64 `gorm:"column:disease_directory" json:"disease_directory" form:"disease_directory"`
  315. IsRecord int64 `gorm:"column:is_record" json:"is_record" form:"is_record"`
  316. MedicalCode string `gorm:"column:medical_code" json:"medical_code" form:"medical_code"`
  317. TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
  318. MedicalStatus int64 `gorm:"column:medical_status" json:"medical_status" form:"medical_status"`
  319. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  320. Sign int64 `gorm:"column:sign" json:"sign" form:"sign"`
  321. DefaultNumber string `gorm:"column:default_number" json:"default_number" form:"default_number"`
  322. IsDefault int64 `gorm:"column:is_default" json:"is_default" form:"is_default"`
  323. IsCharge int64 `gorm:"column:is_charge" json:"is_charge" form:"is_charge"`
  324. IsEstimate int64 `gorm:"column:is_estimate" json:"is_estimate" form:"is_estimate"`
  325. IsWorkload int64 `gorm:"column:is_workload" json:"is_workload" form:"is_workload"`
  326. Sort string `gorm:"column:sort" json:"sort" form:"sort"`
  327. DoctorAdvice int64 `gorm:"column:doctor_advice" json:"doctor_advice" form:"doctor_advice"`
  328. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  329. Status int64 `gorm:"column:status" json:"status" form:"status"`
  330. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  331. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  332. }
  333. func (HisProject) TableName() string {
  334. return "xt_his_project"
  335. }
  336. type HisProjectTeam struct {
  337. ID int64 `gorm:"column:id" json:"id" form:"id"`
  338. ProjectTeam string `gorm:"column:project_team" json:"project_team" form:"project_team"`
  339. Price float64 `gorm:"column:price" json:"price" form:"price"`
  340. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  341. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  342. TubeColor int64 `gorm:"column:tube_color" json:"tube_color" form:"tube_color"`
  343. TeamType int64 `gorm:"column:team_type" json:"team_type" form:"team_type"`
  344. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  345. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  346. Status int64 `gorm:"column:status" json:"status" form:"status"`
  347. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  348. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  349. ProjectId string `gorm:"column:project_id" json:"project_id" form:"project_id"`
  350. }
  351. func (HisProjectTeam) TableName() string {
  352. return "xt_his_project_team"
  353. }
  354. type HisAdditionalCharge struct {
  355. ID int64 `gorm:"column:id" json:"id" form:"id"`
  356. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  357. Price float64 `gorm:"column:price" json:"price" form:"price"`
  358. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  359. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  360. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  361. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  362. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  363. Status int64 `gorm:"column:status" json:"status" form:"status"`
  364. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  365. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  366. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  367. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  368. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  369. BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
  370. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  371. PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
  372. XtHisAddtionConfig XtHisAddtionConfig `gorm:"ForeignKey:ID;AssociationForeignKey:ItemId" json:"config"`
  373. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  374. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  375. Count int64 `gorm:"column:count" json:"count" form:"count"`
  376. }
  377. func (HisAdditionalCharge) TableName() string {
  378. return "his_additional_charge"
  379. }
  380. type HisDoctorAdviceParentTemplate struct {
  381. ID int64 `gorm:"column:id" json:"id" form:"id"`
  382. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  383. Name string `gorm:"column:name" json:"name" form:"name"`
  384. Status int64 `gorm:"column:status" json:"status" form:"status"`
  385. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  386. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  387. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  388. HisDoctorAdviceTemplate []*HisDoctorAdviceTemplate `gorm:"ForeignKey:TemplateId;AssociationForeignKey:ID" json:"advices"`
  389. }
  390. func (HisDoctorAdviceParentTemplate) TableName() string {
  391. return "his_doctor_advice_parent_template"
  392. }
  393. type VMDrug struct {
  394. ID int64 `gorm:"column:id" json:"id" form:"id"`
  395. MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
  396. MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
  397. RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
  398. Status int64 `gorm:"column:status" json:"status" form:"status"`
  399. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  400. DrugCode string `gorm:"column:drug_code" json:"drug_code" form:"drug_code"`
  401. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number"`
  402. }
  403. func (VMDrug) TableName() string {
  404. return "xt_base_drug"
  405. }
  406. type HisDoctorAdviceTemplate struct {
  407. ID int64 `gorm:"column:id" json:"id" form:"id"`
  408. OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
  409. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  410. AdviceDesc string `gorm:"column:advice_desc" json:"advice_desc" form:"advice_desc"`
  411. SingleDose float64 `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  412. SingleDoseUnit string `gorm:"column:single_dose_unit" json:"single_dose_unit" form:"single_dose_unit"`
  413. PrescribingNumber float64 `gorm:"column:prescribing_number" json:"prescribing_number" form:"prescribing_number"`
  414. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  415. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  416. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  417. AdviceDoctor int64 `gorm:"column:advice_doctor" json:"advice_doctor" form:"advice_doctor"`
  418. Status int64 `gorm:"column:status" json:"status" form:"status"`
  419. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  420. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  421. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  422. DrugSpec string `gorm:"column:drug_spec" json:"drug_spec" form:"drug_spec"`
  423. DrugSpecUnit string `gorm:"column:drug_spec_unit" json:"drug_spec_unit" form:"drug_spec_unit"`
  424. ParentId int64 `gorm:"column:parent_id" json:"parent_id" form:"parent_id"`
  425. AdviceType int64 `gorm:"column:advice_type" json:"advice_type" form:"advice_type"`
  426. DayCount int64 `gorm:"column:day_count" json:"day_count" form:"day_count"`
  427. WeekDays string `gorm:"column:week_days" json:"week_days" form:"week_days"`
  428. FrequencyType int64 `gorm:"column:frequency_type" json:"frequency_type" form:"frequency_type"`
  429. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  430. Way int64 `gorm:"column:way" json:"way" form:"way"`
  431. DrugNameId int64 `gorm:"column:drug_name_id" json:"drug_name_id" form:"drug_name_id"`
  432. VMDrug VMDrug `gorm:"ForeignKey:TemplateId;AssociationForeignKey:ID" json:"advices"`
  433. }
  434. func (HisDoctorAdviceTemplate) TableName() string {
  435. return "his_doctor_advice_template"
  436. }
  437. type HisPrescriptionProject struct {
  438. ID int64 `gorm:"column:id" json:"id" form:"id"`
  439. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  440. Price float64 `gorm:"column:price" json:"price" form:"price"`
  441. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  442. Status int64 `gorm:"column:status" json:"status" form:"status"`
  443. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  444. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  445. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  446. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  447. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  448. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  449. Count int64 `gorm:"column:count" json:"count" form:"count"`
  450. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  451. MedListCodg string `gorm:"column:med_list_codg" json:"med_list_codg" form:"med_list_codg"`
  452. SingleDose string `gorm:"column:single_dose" json:"single_dose" form:"single_dose"`
  453. DeliveryWay string `gorm:"column:delivery_way" json:"delivery_way" form:"delivery_way"`
  454. ExecutionFrequency string `gorm:"column:execution_frequency" json:"execution_frequency" form:"execution_frequency"`
  455. Day string `gorm:"column:day" json:"day" form:"day"`
  456. HisProject HisProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
  457. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  458. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  459. }
  460. func (HisPrescriptionProject) TableName() string {
  461. return "his_prescription_project"
  462. }
  463. type SchedulesVm struct {
  464. ID int64 `gorm:"column:id" json:"id" form:"id"`
  465. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  466. PartitionId int64 `gorm:"column:partition_id" json:"partition_id" form:"partition_id"`
  467. BedId int64 `gorm:"column:bed_id" json:"bed_id" form:"bed_id"`
  468. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  469. ScheduleDate int64 `gorm:"column:schedule_date" json:"schedule_date" form:"schedule_date"`
  470. ScheduleType int64 `gorm:"column:schedule_type" json:"schedule_type" form:"schedule_type"`
  471. ScheduleWeek int64 `gorm:"column:schedule_week" json:"schedule_week" form:"schedule_week"`
  472. ModeId int64 `gorm:"column:mode_id" json:"mode_id" form:"mode_id"`
  473. Status int64 `gorm:"column:status" json:"status" form:"status"`
  474. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  475. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  476. Name string `gorm:"column:name" json:"name" form:"name"`
  477. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  478. }
  479. type HisProjectListVm struct {
  480. ID int64 `gorm:"column:id" json:"id" form:"id"`
  481. Number int64 `gorm:"column:number" json:"number" form:"number"`
  482. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  483. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  484. Status int64 `gorm:"column:status" json:"status" form:"status"`
  485. Price float64 `gorm:"column:price" json:"price" form:"price"`
  486. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  487. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  488. CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
  489. }
  490. type XtHisProjectList struct {
  491. ID int64 `gorm:"column:id" json:"id" form:"id"`
  492. Number int64 `gorm:"column:number" json:"number" form:"number"`
  493. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  494. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  495. Status int64 `gorm:"column:status" json:"status" form:"status"`
  496. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  497. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  498. }
  499. func (XtHisProjectList) TableName() string {
  500. return "xt_his_project_list"
  501. }
  502. type XtHisPatient struct {
  503. ID int64 `gorm:"column:id" json:"id" form:"id"`
  504. BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
  505. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  506. Name string `gorm:"column:name" json:"name" form:"name"`
  507. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  508. IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
  509. MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
  510. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  511. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  512. Age int64 `gorm:"column:age" json:"age" form:"age"`
  513. PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
  514. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  515. RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
  516. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  517. Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
  518. IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
  519. RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
  520. TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
  521. CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
  522. Total float64 `gorm:"column:total" json:"total" form:"total"`
  523. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  524. Status int64 `gorm:"column:status" json:"status" form:"status"`
  525. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  526. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  527. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  528. Number string `gorm:"column:number" json:"number" form:"number"`
  529. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  530. IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
  531. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  532. SocialType int64 `gorm:"column:social_type" json:"social_type" form:"social_type"`
  533. }
  534. func (XtHisPatient) TableName() string {
  535. return "his_patient"
  536. }
  537. type HisOrder struct {
  538. ID int64 `gorm:"column:id" json:"id" form:"id"`
  539. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  540. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  541. SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
  542. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  543. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  544. Status int64 `gorm:"column:status" json:"status" form:"status"`
  545. Number string `gorm:"column:number" json:"number" form:"number"`
  546. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  547. Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
  548. WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
  549. Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
  550. ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
  551. RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
  552. InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
  553. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  554. MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
  555. SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
  556. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  557. PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
  558. PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
  559. Certno string `gorm:"column:certno" json:"certno" form:"certno"`
  560. Gend string `gorm:"column:gend" json:"gend" form:"gend"`
  561. Naty string `gorm:"column:naty" json:"naty" form:"naty"`
  562. Brdy time.Time `gorm:"column:brdy" json:"brdy" form:"brdy"`
  563. Age float64 `gorm:"column:age" json:"age" form:"age"`
  564. Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
  565. PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
  566. CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
  567. SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
  568. MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
  569. MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
  570. MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
  571. FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
  572. OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
  573. PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
  574. InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
  575. ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
  576. HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
  577. CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
  578. PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
  579. HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
  580. HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
  581. HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
  582. MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
  583. OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
  584. FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
  585. PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
  586. AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
  587. PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
  588. HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
  589. Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
  590. AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
  591. MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
  592. ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
  593. ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
  594. ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
  595. SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
  596. PayWay int64 `gorm:"column:pay_way" json:"pay_way" form:"pay_way"`
  597. PayPrice float64 `gorm:"column:pay_price" json:"pay_price" form:"pay_price"`
  598. PayCardNo string `gorm:"column:pay_card_no" json:"pay_card_no" form:"pay_card_no"`
  599. DiscountPrice float64 `gorm:"column:discount_price" json:"discount_price" form:"discount_price"`
  600. PreferentialPrice float64 `gorm:"column:preferential_price" json:"preferential_price" form:"preferential_price"`
  601. RealityPrice float64 `gorm:"column:reality_price" json:"reality_price" form:"reality_price"`
  602. FoundPrice float64 `gorm:"column:found_price" json:"found_price" form:"found_price"`
  603. MedicalInsurancePrice float64 `gorm:"column:medical_insurance_price" json:"medical_insurance_price" form:"medical_insurance_price"`
  604. PrivatePrice float64 `gorm:"column:private_price" json:"private_price" form:"private_price"`
  605. HisOrderInfo HisOrderInfo `gorm:"ForeignKey:ID;AssociationForeignKey:OrderId" json:"order_info"`
  606. Patients Patients `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"patient"`
  607. HisPatient HisPatient `gorm:"ForeignKey:HisPatientId;AssociationForeignKey:ID" json:"his_patient"`
  608. HisPrescriptionInfo HisPrescriptionInfo `gorm:"ForeignKey:PatientId,SettleAccountsDate;AssociationForeignKey:PatientId,RecordDate" json:"p_info"`
  609. }
  610. func (HisOrder) TableName() string {
  611. return "his_order"
  612. }
  613. type HisOrderInfo struct {
  614. ID int64 `gorm:"column:id" json:"id" form:"id"`
  615. OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
  616. UploadDate int64 `gorm:"column:upload_date" json:"upload_date" form:"upload_date"`
  617. AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
  618. DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
  619. Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
  620. Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
  621. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  622. PricUplmtAmt float64 `gorm:"column:pric_uplmt_amt" json:"pric_uplmt_amt" form:"pric_uplmt_amt"`
  623. SelfpayProp float64 `gorm:"column:selfpay_prop" json:"selfpay_prop" form:"selfpay_prop"`
  624. FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
  625. OverlmtAmt float64 `gorm:"column:overlmt_amt" json:"overlmt_amt" form:"overlmt_amt"`
  626. PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
  627. BasMednFlag string `gorm:"column:bas_medn_flag" json:"bas_medn_flag" form:"bas_medn_flag"`
  628. MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
  629. HiNegoDrugFlag string `gorm:"column:hi_nego_drug_flag" json:"hi_nego_drug_flag" form:"hi_nego_drug_flag"`
  630. Status int64 `gorm:"column:status" json:"status" form:"status"`
  631. Memo string `gorm:"column:memo" json:"memo" form:"memo"`
  632. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  633. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  634. InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
  635. DrtReimFlag string `gorm:"column:drt_reim_flag" json:"drt_reim_flag" form:"drt_reim_flag"`
  636. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  637. ListSpItemFlag string `gorm:"column:list_sp_item_flag" json:"list_sp_item_flag" form:"list_sp_item_flag"`
  638. ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
  639. LmtUsedFlag string `gorm:"column:lmt_used_flag" json:"lmt_used_flag" form:"lmt_used_flag"`
  640. ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
  641. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  642. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  643. OrderId int64 `gorm:"column:order_id" json:"order_id" form:"order_id"`
  644. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  645. Type int64 `gorm:"column:type" json:"type" form:"type"`
  646. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  647. }
  648. func (HisOrderInfo) TableName() string {
  649. return "his_order_info"
  650. }
  651. type VMHisPatient struct {
  652. ID int64 `gorm:"column:id" json:"id" form:"id"`
  653. BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
  654. MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
  655. Name string `gorm:"column:name" json:"name" form:"name"`
  656. Gender int64 `gorm:"column:gender" json:"gender" form:"gender"`
  657. IdType int64 `gorm:"column:id_type" json:"id_type" form:"id_type"`
  658. MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
  659. Birthday int64 `gorm:"column:birthday" json:"birthday" form:"birthday"`
  660. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  661. Age float64 `gorm:"column:age" json:"age" form:"age"`
  662. PhoneNumber string `gorm:"column:phone_number" json:"phone_number" form:"phone_number"`
  663. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  664. RegisterType int64 `gorm:"column:register_type" json:"register_type" form:"register_type"`
  665. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  666. Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
  667. IsNeedCostOfProduction int64 `gorm:"column:is_need_cost_of_production" json:"is_need_cost_of_production" form:"is_need_cost_of_production"`
  668. RegisterCost float64 `gorm:"column:register_cost" json:"register_cost" form:"register_cost"`
  669. TreatmentCost float64 `gorm:"column:treatment_cost" json:"treatment_cost" form:"treatment_cost"`
  670. CostOfProduction float64 `gorm:"column:cost_of_production" json:"cost_of_production" form:"cost_of_production"`
  671. Total float64 `gorm:"column:total" json:"total" form:"total"`
  672. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  673. Status int64 `gorm:"column:status" json:"status" form:"status"`
  674. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  675. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  676. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  677. Number string `gorm:"column:number" json:"number" form:"number"`
  678. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  679. IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
  680. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  681. PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
  682. Certno string `gorm:"column:certno" json:"certno" form:"certno"`
  683. PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
  684. Gend string `gorm:"column:gend" json:"gend" form:"gend"`
  685. Naty string `gorm:"column:naty" json:"naty" form:"naty"`
  686. Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
  687. Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
  688. Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
  689. IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
  690. }
  691. func (VMHisPatient) TableName() string {
  692. return "his_patient"
  693. }
  694. type MedicalInsuranceConfig struct {
  695. ID int64 `gorm:"column:id" json:"id" form:"id"`
  696. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  697. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  698. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  699. Status int64 `gorm:"column:status" json:"status" form:"status"`
  700. IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
  701. }
  702. func (MedicalInsuranceConfig) TableName() string {
  703. return "medical_insurance_config"
  704. }
  705. type HisOrderError struct {
  706. ID int64 `gorm:"column:id" json:"id" form:"id"`
  707. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  708. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  709. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  710. Number string `gorm:"column:number" json:"number" form:"number"`
  711. ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
  712. Status int64 `gorm:"column:status" json:"status" form:"status"`
  713. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  714. RecordTime int64 `gorm:"column:record_time" json:"record_time" form:"record_time"`
  715. Stage int64 `gorm:"column:stage" json:"stage" form:"stage"`
  716. }
  717. func (HisOrderError) TableName() string {
  718. return "his_order_error"
  719. }
  720. type MedicalInsuranceOrgConfig struct {
  721. ID int64 `gorm:"column:id" json:"id" form:"id"`
  722. Code string `gorm:"column:code" json:"code" form:"code"`
  723. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  724. Vpn string `gorm:"column:vpn" json:"vpn" form:"vpn"`
  725. EleCardId string `gorm:"column:ele_card_id" json:"ele_card_id" form:"ele_card_id"`
  726. EleCardKey string `gorm:"column:ele_card_key" json:"ele_card_key" form:"ele_card_key"`
  727. ChannelNumber string `gorm:"column:channel_number" json:"channel_number" form:"channel_number"`
  728. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  729. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  730. Status int64 `gorm:"column:status" json:"status" form:"status"`
  731. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  732. MdtrtareaAdmvs string `gorm:"column:mdtrtarea_admvs" json:"mdtrtarea_admvs" form:"mdtrtarea_admvs"`
  733. InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
  734. SecretKey string `gorm:"column:secret_key" json:"secret_key" form:"secret_key"`
  735. }
  736. func (MedicalInsuranceOrgConfig) TableName() string {
  737. return "medical_insurance_org_config"
  738. }
  739. type XtHisConfig struct {
  740. ID int64 `gorm:"column:id" json:"id" form:"id"`
  741. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  742. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  743. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  744. Status int64 `gorm:"column:status" json:"status" form:"status"`
  745. IsOpen int64 `gorm:"column:is_open" json:"is_open" form:"is_open"`
  746. }
  747. func (XtHisConfig) TableName() string {
  748. return "xt_his_config"
  749. }
  750. type XtHisTemplate struct {
  751. ID int64 `gorm:"column:id" json:"id" form:"id"`
  752. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  753. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  754. Status int64 `gorm:"column:status" json:"status" form:"status"`
  755. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  756. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  757. }
  758. func (XtHisTemplate) TableName() string {
  759. return "xt_his_template"
  760. }
  761. type XtHisAdviceTemplate struct {
  762. ID int64 `gorm:"column:id" json:"id" form:"id"`
  763. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  764. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  765. Status int64 `gorm:"column:status" json:"status" form:"status"`
  766. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  767. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  768. }
  769. func (XtHisAdviceTemplate) TableName() string {
  770. return "xt_his_advice_template"
  771. }
  772. type XtHisChargeTemplate struct {
  773. ID int64 `gorm:"column:id" json:"id" form:"id"`
  774. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  775. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  776. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  777. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  778. Status int64 `gorm:"column:status" json:"status" form:"status"`
  779. }
  780. func (XtHisChargeTemplate) TableName() string {
  781. return "xt_his_charge_template"
  782. }
  783. type XtHisTreatmentTemplate struct {
  784. ID int64 `gorm:"column:id" json:"id" form:"id"`
  785. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  786. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  787. Status int64 `gorm:"column:status" json:"status" form:"status"`
  788. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  789. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  790. }
  791. func (XtHisTreatmentTemplate) TableName() string {
  792. return "xt_his_treatment_template"
  793. }
  794. type XtHisAdditionalCharge struct {
  795. ID int64 `gorm:"column:id" json:"id" form:"id"`
  796. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  797. Price float64 `gorm:"column:price" json:"price" form:"price"`
  798. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  799. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  800. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  801. CreatedTime int64 `gorm:"column:created_time" json:"created_time" form:"created_time"`
  802. UpdatedTime int64 `gorm:"column:updated_time" json:"updated_time" form:"updated_time"`
  803. Status int64 `gorm:"column:status" json:"status" form:"status"`
  804. ItemName string `gorm:"column:item_name" json:"item_name" form:"item_name"`
  805. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  806. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  807. Creator int64 `gorm:"column:creator" json:"creator" form:"creator"`
  808. Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
  809. BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
  810. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  811. PrescriptionNumber string `gorm:"column:prescription_number" json:"prescription_number" form:"prescription_number"`
  812. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  813. PrescriptionId int64 `gorm:"column:prescription_id" json:"prescription_id" form:"prescription_id"`
  814. Count int64 `gorm:"column:count" json:"count" form:"count"`
  815. }
  816. func (XtHisAdditionalCharge) TableName() string {
  817. return "his_additional_charge"
  818. }
  819. type XtHisMedicalTemplate struct {
  820. ID int64 `gorm:"column:id" json:"id" form:"id"`
  821. Title string `gorm:"column:title" json:"title" form:"title"`
  822. Content string `gorm:"column:content" json:"content" form:"content"`
  823. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  824. TemplateId int64 `gorm:"column:template_id" json:"template_id" form:"template_id"`
  825. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  826. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  827. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  828. Status int64 `gorm:"column:status" json:"status" form:"status"`
  829. }
  830. func (XtHisMedicalTemplate) TableName() string {
  831. return "xt_his_medical_template"
  832. }
  833. type HisXtDiagnoseConfig struct {
  834. ID int64 `gorm:"column:id" json:"id" form:"id"`
  835. ClassName string `gorm:"column:class_name" json:"class_name" form:"class_name"`
  836. Pinyin string `gorm:"column:pinyin" json:"pinyin" form:"pinyin"`
  837. Wubi string `gorm:"column:wubi" json:"wubi" form:"wubi"`
  838. ContentCode string `gorm:"column:content_code" json:"content_code" form:"content_code"`
  839. CountryCode string `gorm:"column:country_code" json:"country_code" form:"country_code"`
  840. CountryContentName string `gorm:"column:country_content_name" json:"country_content_name" form:"country_content_name"`
  841. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  842. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  843. Status int64 `gorm:"column:status" json:"status" form:"status"`
  844. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  845. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  846. }
  847. func (HisXtDiagnoseConfig) TableName() string {
  848. return "his_xt_diagnose_config"
  849. }