gdyb_models.go 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. package models
  2. type GdybPsnRecord struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  5. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  6. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  7. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  8. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  9. Status int64 `gorm:"column:status" json:"status" form:"status"`
  10. IsCancel int64 `gorm:"column:is_cancel" json:"is_cancel" form:"is_cancel"`
  11. TrtDclaDetlSn string `gorm:"column:trt_dcla_detl_sn" json:"trt_dcla_detl_sn" form:"trt_dcla_detl_sn"`
  12. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  13. DepartmentId int64 `gorm:"column:department_id" json:"department_id" form:"department_id"`
  14. Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
  15. SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
  16. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  17. }
  18. func (GdybPsnRecord) TableName() string {
  19. return "gdyb_psn_record"
  20. }
  21. type GdybPsnNcdsRecord struct {
  22. ID int64 `gorm:"column:id" json:"id" form:"id"`
  23. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  24. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  25. PsnNo string `gorm:"column:psn_no" json:"psn_no" form:"psn_no"`
  26. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  27. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  28. Status int64 `gorm:"column:status" json:"status" form:"status"`
  29. IsCancel int64 `gorm:"column:is_cancel" json:"is_cancel" form:"is_cancel"`
  30. TrtDclaDetlSn string `gorm:"column:trt_dcla_detl_sn" json:"trt_dcla_detl_sn" form:"trt_dcla_detl_sn"`
  31. DoctorId int64 `gorm:"column:doctor_id" json:"doctor_id" form:"doctor_id"`
  32. DepartmentId int64 `gorm:"column:department_id" json:"department_id" form:"department_id"`
  33. Insutype string `gorm:"column:insutype" json:"insutype" form:"insutype"`
  34. SickType int64 `gorm:"column:sick_type" json:"sick_type" form:"sick_type"`
  35. OrgName string `gorm:"column:org_name" json:"org_name" form:"org_name"`
  36. }
  37. func (GdybPsnNcdsRecord) TableName() string {
  38. return "gdyb_psn_ncds_record"
  39. }
  40. type HisYidiClearRecord struct {
  41. ID int64 `gorm:"column:id" json:"id" form:"id"`
  42. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  43. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  44. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  45. Status int64 `gorm:"column:status" json:"status" form:"status"`
  46. MsgId string `gorm:"column:msg_id" json:"msg_id" form:"msg_id"`
  47. }
  48. func (HisYidiClearRecord) TableName() string {
  49. return "his_yidi_clear_record"
  50. }