his_charge_models.go 21KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318
  1. package models
  2. type HisChargePrescriptionProject struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  5. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  6. Status int64 `gorm:"column:status" json:"status" form:"status"`
  7. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  8. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  9. Count string `gorm:"column:count" json:"count" form:"count"`
  10. Type int64 `gorm:"column:type" json:"type" form:"type"`
  11. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  12. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  13. HisChargeProject HisChargeProject `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"project"`
  14. HisChargeGoodInfo HisChargeGoodInfo `gorm:"ForeignKey:ProjectId;AssociationForeignKey:ID" json:"good_info"`
  15. ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
  16. }
  17. func (HisChargePrescriptionProject) TableName() string {
  18. return "his_prescription_project"
  19. }
  20. type HisChargeDoctorAdviceInfo 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. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  24. AdviceName string `gorm:"column:advice_name" json:"advice_name" form:"advice_name"`
  25. PrescribingNumberUnit string `gorm:"column:prescribing_number_unit" json:"prescribing_number_unit" form:"prescribing_number_unit"`
  26. Status int64 `gorm:"column:status" json:"status" form:"status"`
  27. DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
  28. Remark string `gorm:"column:remark" json:"remark" form:"remark"`
  29. AdviceDate int64 `gorm:"column:advice_date" json:"advice_date" form:"advice_date"`
  30. Drug Drug `gorm:"ForeignKey:ID;AssociationForeignKey:DrugId" json:"drug"`
  31. IsMedicine int64 `gorm:"column:is_medicine" json:"is_medicine" form:"is_medicine"`
  32. ExecutionFrequencyId int64 `gorm:"column:execution_frequency_id" json:"execution_frequency_id" form:"execution_frequency_id"`
  33. }
  34. func (HisChargeDoctorAdviceInfo) TableName() string {
  35. return "his_doctor_advice_info"
  36. }
  37. type HisChargeOrderInfo struct {
  38. ID int64 `gorm:"column:id" json:"id" form:"id"`
  39. OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
  40. AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
  41. DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
  42. Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
  43. Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
  44. MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
  45. Status int64 `gorm:"column:status" json:"status" form:"status"`
  46. ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
  47. ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
  48. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  49. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  50. Type int64 `gorm:"column:type" json:"type" form:"type"`
  51. HisChargePrescriptionProject HisChargePrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
  52. HisChargeDoctorAdviceInfo HisChargeDoctorAdviceInfo `gorm:"ForeignKey:AdviceId;AssociationForeignKey:ID" json:"advice"`
  53. }
  54. func (HisChargeOrderInfo) TableName() string {
  55. return "his_order_info"
  56. }
  57. type ChargePatient struct {
  58. ID int64 `gorm:"column:id" json:"id" form:"id"`
  59. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  60. Name string `gorm:"column:name" json:"name" form:"name"`
  61. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  62. Status int64 `gorm:"column:status" json:"status" form:"status"`
  63. HisChargeOrder []*HisChargeOrder `gorm:"ForeignKey:PatientID;AssociationForeignKey:ID" json:"orders"`
  64. }
  65. func (ChargePatient) TableName() string {
  66. return "xt_patients"
  67. }
  68. type SettlePatient struct {
  69. ID int64 `gorm:"column:id" json:"id" form:"id"`
  70. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  71. Name string `gorm:"column:name" json:"name" form:"name"`
  72. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  73. Status int64 `gorm:"column:status" json:"status" form:"status"`
  74. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  75. HisChargeSettleOrder []*HisChargeSettleOrder `gorm:"ForeignKey:PatientID;AssociationForeignKey:ID" json:"orders"`
  76. }
  77. func (SettlePatient) TableName() string {
  78. return "xt_patients"
  79. }
  80. type HisChargeOrder struct {
  81. ID int64 `gorm:"column:id" json:"id" form:"id"`
  82. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  83. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  84. SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
  85. Status int64 `gorm:"column:status" json:"status" form:"status"`
  86. Number string `gorm:"column:number" json:"number" form:"number"`
  87. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  88. MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
  89. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  90. HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
  91. MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
  92. FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
  93. AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
  94. MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
  95. IsUploadDiagnose int64 `gorm:"column:is_upload_diagnose" json:"is_upload_diagnose" form:"is_upload_diagnose"`
  96. IsUploadOrderInfo int64 `gorm:"column:is_upload_order_info" json:"is_upload_order_info" form:"is_upload_order_info"`
  97. IsUploadSuccess int64 `gorm:"column:is_upload_success" json:"is_upload_success" form:"is_upload_success"`
  98. PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
  99. IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
  100. HisChargeOrderInfo []*HisChargeOrderInfo `gorm:"ForeignKey:OrderNumber;AssociationForeignKey:Number" json:"order_info"`
  101. Patients Patients `gorm:"ForeignKey:ID;AssociationForeignKey:PatientId" json:"patient"`
  102. }
  103. func (HisChargeOrder) TableName() string {
  104. return "his_order"
  105. }
  106. type HisChargeSettleOrder struct {
  107. ID int64 `gorm:"column:id" json:"id" form:"id"`
  108. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  109. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  110. SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
  111. Status int64 `gorm:"column:status" json:"status" form:"status"`
  112. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  113. Infcode int64 `gorm:"column:infcode" json:"infcode" form:"infcode"`
  114. WarnMsg string `gorm:"column:warn_msg" json:"warn_msg" form:"warn_msg"`
  115. Cainfo string `gorm:"column:cainfo" json:"cainfo" form:"cainfo"`
  116. ErrMsg string `gorm:"column:err_msg" json:"err_msg" form:"err_msg"`
  117. RespondTime string `gorm:"column:respond_time" json:"respond_time" form:"respond_time"`
  118. InfRefmsgid string `gorm:"column:inf_refmsgid" json:"inf_refmsgid" form:"inf_refmsgid"`
  119. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  120. MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
  121. SetlId string `gorm:"column:setl_id" json:"setl_id" form:"setl_id"`
  122. Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
  123. PsnType string `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
  124. CvlservFlag string `gorm:"column:cvlserv_flag" json:"cvlserv_flag" form:"cvlserv_flag"`
  125. SetlTime string `gorm:"column:setl_time" json:"setl_time" form:"setl_time"`
  126. MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
  127. MedType string `gorm:"column:med_type" json:"med_type" form:"med_type"`
  128. MedfeeSumamt float64 `gorm:"column:medfee_sumamt" json:"medfee_sumamt" form:"medfee_sumamt"`
  129. FulamtOwnpayAmt float64 `gorm:"column:fulamt_ownpay_amt" json:"fulamt_ownpay_amt" form:"fulamt_ownpay_amt"`
  130. OverlmtSelfPay float64 `gorm:"column:overlmt_self_pay" json:"overlmt_self_pay" form:"overlmt_self_pay"`
  131. PreselfpayAmt float64 `gorm:"column:preselfpay_amt" json:"preselfpay_amt" form:"preselfpay_amt"`
  132. InscpScpAmt float64 `gorm:"column:inscp_scp_amt" json:"inscp_scp_amt" form:"inscp_scp_amt"`
  133. ActPayDedc float64 `gorm:"column:act_pay_dedc" json:"act_pay_dedc" form:"act_pay_dedc"`
  134. HifpPay float64 `gorm:"column:hifp_pay" json:"hifp_pay" form:"hifp_pay"`
  135. CvlservPay float64 `gorm:"column:cvlserv_pay" json:"cvlserv_pay" form:"cvlserv_pay"`
  136. PoolPropSelfpay float64 `gorm:"column:pool_prop_selfpay" json:"pool_prop_selfpay" form:"pool_prop_selfpay"`
  137. HifesPay float64 `gorm:"column:hifes_pay" json:"hifes_pay" form:"hifes_pay"`
  138. HifmiPay float64 `gorm:"column:hifmi_pay" json:"hifmi_pay" form:"hifmi_pay"`
  139. HifobPay float64 `gorm:"column:hifob_pay" json:"hifob_pay" form:"hifob_pay"`
  140. MafPay float64 `gorm:"column:maf_pay" json:"maf_pay" form:"maf_pay"`
  141. OthPay float64 `gorm:"column:oth_pay" json:"oth_pay" form:"oth_pay"`
  142. FundPaySumamt float64 `gorm:"column:fund_pay_sumamt" json:"fund_pay_sumamt" form:"fund_pay_sumamt"`
  143. PsnPartAmt float64 `gorm:"column:psn_part_amt" json:"psn_part_amt" form:"psn_part_amt"`
  144. AcctPay float64 `gorm:"column:acct_pay" json:"acct_pay" form:"acct_pay"`
  145. PsnCashPay float64 `gorm:"column:psn_cash_pay" json:"psn_cash_pay" form:"psn_cash_pay"`
  146. HospPartAmt float64 `gorm:"column:hosp_part_amt" json:"hosp_part_amt" form:"hosp_part_amt"`
  147. Balc float64 `gorm:"column:balc" json:"balc" form:"balc"`
  148. AcctMulaidPay float64 `gorm:"column:acct_mulaid_pay" json:"acct_mulaid_pay" form:"acct_mulaid_pay"`
  149. MedinsSetlId string `gorm:"column:medins_setl_id" json:"medins_setl_id" form:"medins_setl_id"`
  150. ClrOptins string `gorm:"column:clr_optins" json:"clr_optins" form:"clr_optins"`
  151. ClrWay string `gorm:"column:clr_way" json:"clr_way" form:"clr_way"`
  152. ClrType string `gorm:"column:clr_type" json:"clr_type" form:"clr_type"`
  153. SetlDetail string `gorm:"column:setl_detail" json:"setl_detail" form:"setl_detail"`
  154. IsMedicineInsurance int64 `gorm:"column:is_medicine_insurance" json:"is_medicine_insurance" form:"is_medicine_insurance"`
  155. PType int64 `gorm:"column:p_type" json:"p_type" form:"p_type"`
  156. SettleType int64 `gorm:"column:settle_type" json:"settle_type" form:"settle_type"`
  157. SettleStartTime int64 `gorm:"column:settle_start_time" json:"settle_start_time" form:"settle_start_time"`
  158. SettleEndTime int64 `gorm:"column:settle_end_time" json:"settle_end_time" form:"settle_end_time"`
  159. IsPre int64 `gorm:"column:is_pre" json:"is_pre" form:"is_pre"`
  160. }
  161. func (HisChargeSettleOrder) TableName() string {
  162. return "his_order"
  163. }
  164. type HisChargeProject struct {
  165. ID int64 `gorm:"column:id" json:"id" form:"id"`
  166. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  167. Unit string `gorm:"column:unit" json:"unit" form:"unit"`
  168. MedicalCoverage int64 `gorm:"column:medical_coverage" json:"medical_coverage" form:"medical_coverage"`
  169. CostClassify int64 `gorm:"column:cost_classify" json:"cost_classify" form:"cost_classify"`
  170. }
  171. func (HisChargeProject) TableName() string {
  172. return "xt_his_project"
  173. }
  174. type HisChargeGoodInfo struct {
  175. ID int64 `gorm:"column:id" json:"id" form:"id"`
  176. GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
  177. GoodUnit int64 `gorm:"column:good_unit" json:"good_unit"`
  178. SpecificationnName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
  179. RegisterNumber string `gorm:"column:register_number" json:"register_number" form:"register_number"`
  180. PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
  181. MedicalInsuranceLevel int64 `gorm:"column:medical_insurance_level" json:"medical_insurance_level" form:"medical_insurance_level"`
  182. }
  183. func (HisChargeGoodInfo) TableName() string {
  184. return "xt_good_information"
  185. }
  186. type HisLabelPrintInfo struct {
  187. ID int64 `gorm:"column:id" json:"id" form:"id"`
  188. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  189. Number string `gorm:"column:number" json:"number" form:"number"`
  190. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  191. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  192. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  193. Status int64 `gorm:"column:status" json:"status" form:"status"`
  194. ProjectName string `gorm:"column:project_name" json:"project_name" form:"project_name"`
  195. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  196. IsPrint int64 `gorm:"column:is_print" json:"is_print" form:"is_print"`
  197. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  198. ItemId int64 `gorm:"column:item_id" json:"item_id" form:"item_id"`
  199. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  200. PProjectId int64 `gorm:"column:p_project_id" json:"p_project_id" form:"p_project_id"`
  201. FeedetlSn string `gorm:"column:feedetl_sn" json:"feedetl_sn" form:"feedetl_sn"`
  202. DoctorName string `gorm:"column:doctor_name" json:"doctor_name" form:"doctor_name"`
  203. PatientName string `gorm:"column:patient_name" json:"patient_name" form:"patient_name"`
  204. }
  205. func (HisLabelPrintInfo) TableName() string {
  206. return "his_label_print_info"
  207. }
  208. type HisFapiaoRecord struct {
  209. ID int64 `gorm:"column:id" json:"id" form:"id"`
  210. FapiaoCode string `gorm:"column:fapiao_code" json:"fapiao_code" form:"fapiao_code"`
  211. FapiaoNumber string `gorm:"column:fapiao_number" json:"fapiao_number" form:"fapiao_number"`
  212. IsUse int64 `gorm:"column:is_use" json:"is_use" form:"is_use"`
  213. Status int64 `gorm:"column:status" json:"status" form:"status"`
  214. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  215. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  216. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  217. }
  218. func (HisFapiaoRecord) TableName() string {
  219. return "his_fapiao_record"
  220. }
  221. type GdybPsnNcdsRecord struct {
  222. ID int64 `gorm:"column:id" json:"id" form:"id"`
  223. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  224. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  225. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  226. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  227. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  228. Status int64 `gorm:"column:status" json:"status" form:"status"`
  229. IsCancel int64 `gorm:"column:is_cancel" json:"is_cancel" form:"is_cancel"`
  230. TrtDclaDetlSn string `gorm:"column:trt_dcla_detl_sn" json:"trt_dcla_detl_sn" form:"trt_dcla_detl_sn"`
  231. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  232. DepartmentId int64 `gorm:"column:department_id" json:"department_id" form:"department_id"`
  233. Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
  234. SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
  235. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  236. }
  237. func (GdybPsnNcdsRecord) TableName() string {
  238. return "gdyb_psn_ncds_record"
  239. }
  240. type ChargePatientTwo struct {
  241. ID int64 `gorm:"column:id" json:"id" form:"id"`
  242. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  243. Name string `gorm:"column:name" json:"name" form:"name"`
  244. Lapseto int64 `gorm:"column:lapseto" json:"lapseto" form:"lapseto"`
  245. Status int64 `gorm:"column:status" json:"status" form:"status"`
  246. }
  247. func (ChargePatientTwo) TableName() string {
  248. return "xt_patients"
  249. }
  250. type HisChargeOrderTwo 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. HisPatientId int64 `gorm:"column:his_patient_id" json:"his_patient_id" form:"his_patient_id"`
  254. SettleAccountsDate int64 `gorm:"column:settle_accounts_date" json:"settle_accounts_date" form:"settle_accounts_date"`
  255. Status int64 `gorm:"column:status" json:"status" form:"status"`
  256. Number string `gorm:"column:number" json:"number" form:"number"`
  257. OrderStatus int64 `gorm:"column:order_status" json:"order_status" form:"order_status"`
  258. MdtrtId string `gorm:"column:mdtrt_id" json:"mdtrt_id" form:"mdtrt_id"`
  259. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  260. HisChargeOrderInfoTwo []*HisChargeOrderInfoTwo `gorm:"ForeignKey:OrderNumber;AssociationForeignKey:Number" json:"order_info"`
  261. }
  262. func (HisChargeOrderTwo) TableName() string {
  263. return "his_order"
  264. }
  265. type HisChargeOrderInfoTwo struct {
  266. ID int64 `gorm:"column:id" json:"id" form:"id"`
  267. OrderNumber string `gorm:"column:order_number" json:"order_number" form:"order_number"`
  268. AdviceId int64 `gorm:"column:advice_id" json:"advice_id" form:"advice_id"`
  269. DetItemFeeSumamt float64 `gorm:"column:det_item_fee_sumamt" json:"det_item_fee_sumamt" form:"det_item_fee_sumamt"`
  270. Cnt float64 `gorm:"column:cnt" json:"cnt" form:"cnt"`
  271. Pric float64 `gorm:"column:pric" json:"pric" form:"pric"`
  272. MedChrgitmType string `gorm:"column:med_chrgitm_type" json:"med_chrgitm_type" form:"med_chrgitm_type"`
  273. Status int64 `gorm:"column:status" json:"status" form:"status"`
  274. ChldMedcFlag string `gorm:"column:chld_medc_flag" json:"chld_medc_flag" form:"chld_medc_flag"`
  275. ChrgitmLv string `gorm:"column:chrgitm_lv" json:"chrgitm_lv" form:"chrgitm_lv"`
  276. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  277. ProjectId int64 `gorm:"column:project_id" json:"project_id" form:"project_id"`
  278. Type int64 `gorm:"column:type" json:"type" form:"type"`
  279. HisChargePrescriptionProject HisChargePrescriptionProject `gorm:"ForeignKey:ID;AssociationForeignKey:ProjectId" json:"project"`
  280. HisChargeDoctorAdviceInfo HisChargeDoctorAdviceInfo `gorm:"ForeignKey:AdviceId;AssociationForeignKey:ID" json:"advice"`
  281. }
  282. func (HisChargeOrderInfoTwo) TableName() string {
  283. return "his_order_info"
  284. }