zh_his_models.go 3.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package models
  2. type HisHospitalCheckRecord struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. Name string `gorm:"column:name" json:"name" form:"name"`
  5. MedicalTreatmentType int64 `gorm:"column:medical_treatment_type" json:"medical_treatment_type" form:"medical_treatment_type"`
  6. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  7. IdCardNo string `gorm:"column:id_card_no" json:"id_card_no" form:"id_card_no"`
  8. AdminUserId int64 `gorm:"column:admin_user_id" json:"admin_user_id" form:"admin_user_id"`
  9. Departments int64 `gorm:"column:departments" json:"departments" form:"departments"`
  10. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  11. Status int64 `gorm:"column:status" json:"status" form:"status"`
  12. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  13. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  14. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  15. Number string `gorm:"column:number" json:"number" form:"number"`
  16. Doctor int64 `gorm:"column:doctor" json:"doctor" form:"doctor"`
  17. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  18. PsnCertType string `gorm:"column:psn_cert_type" json:"psn_cert_type" form:"psn_cert_type"`
  19. Certno string `gorm:"column:certno" json:"certno" form:"certno"`
  20. PsnName string `gorm:"column:psn_name" json:"psn_name" form:"psn_name"`
  21. Gend string `gorm:"column:gend" json:"gend" form:"gend"`
  22. Naty string `gorm:"column:naty" json:"naty" form:"naty"`
  23. MedType int64 `gorm:"column:med_type" json:"med_type" form:"med_type"`
  24. Brdy string `gorm:"column:brdy" json:"brdy" form:"brdy"`
  25. Iinfo string `gorm:"column:iinfo" json:"iinfo" form:"iinfo"`
  26. Idetinfo string `gorm:"column:idetinfo" json:"idetinfo" form:"idetinfo"`
  27. IptOtpNo string `gorm:"column:ipt_otp_no" json:"ipt_otp_no" form:"ipt_otp_no"`
  28. AdmBed int64 `gorm:"column:adm_bed" json:"adm_bed" form:"adm_bed"`
  29. IdCardType int64 `gorm:"column:id_card_type" json:"id_card_type" form:"id_card_type"`
  30. Diagnosis string `gorm:"column:diagnosis" json:"diagnosis" form:"diagnosis"`
  31. SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
  32. MdtrtCertType string `gorm:"column:mdtrt_cert_type" json:"mdtrt_cert_type" form:"mdtrt_cert_type"`
  33. InHosptialTime string `gorm:"column:in_hosptial_time" json:"in_hosptial_time" form:"in_hosptial_time"`
  34. OutHosptialTime string `gorm:"column:out_hosptial_time" json:"out_hosptial_time" form:"out_hosptial_time"`
  35. InHospitalStatus int64 `gorm:"column:in_hospital_status" json:"in_hospital_status" form:"in_hospital_status"`
  36. Certificates int64 `gorm:"column:certificates" json:"certificates" form:"certificates"`
  37. InsutypeType string `gorm:"column:insutype_type" json:"insutype_type" form:"insutype_type"`
  38. OutHospitalStatus int64 `gorm:"column:out_hospital_status" json:"out_hospital_status" form:"out_hospital_status"`
  39. OutWay int64 `gorm:"column:out_way" json:"out_way" form:"out_way"`
  40. Phone string `gorm:"column:phone" json:"phone" form:"phone"`
  41. BalanceAccountsType int64 `gorm:"column:balance_accounts_type" json:"balance_accounts_type" form:"balance_accounts_type"`
  42. PsnType int64 `gorm:"column:psn_type" json:"psn_type" form:"psn_type"`
  43. InsuplcAdmdvs string `gorm:"column:insuplc_admdvs" json:"insuplc_admdvs" form:"insuplc_admdvs"`
  44. }
  45. func (HisHospitalCheckRecord) TableName() string {
  46. return "his_hospital_check_record"
  47. }