zuobiao_models.go 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. package models
  2. type HisZuobiaoAdvice struct {
  3. ID int64 `gorm:"column:id" json:"id" form:"id"`
  4. AdviceRequestLog string `gorm:"column:advice_request_log" json:"advice_request_log" form:"advice_request_log"`
  5. AdviceResultLog string `gorm:"column:advice_result_log" json:"advice_result_log" form:"advice_result_log"`
  6. UserOrgId int64 `gorm:"column:user_org_id" json:"user_org_id" form:"user_org_id"`
  7. Status int64 `gorm:"column:status" json:"status" form:"status"`
  8. Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
  9. Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
  10. PatientId int64 `gorm:"column:patient_id" json:"patient_id" form:"patient_id"`
  11. RecordDate int64 `gorm:"column:record_date" json:"record_date" form:"record_date"`
  12. SettleRequestLog string `gorm:"column:settle_request_log" json:"settle_request_log" form:"settle_request_log"`
  13. SettleResultLog string `gorm:"column:settle_result_log" json:"settle_result_log" form:"settle_result_log"`
  14. Cbm01 string `gorm:"column:cbm01" json:"cbm01" form:"cbm01"`
  15. AdiviceIds string `gorm:"column:adivice_ids" json:"adivice_ids" form:"adivice_ids"`
  16. Oid int64 `gorm:"column:oid" json:"oid" form:"oid"`
  17. StartTime int64 `gorm:"column:start_time" json:"start_time" form:"start_time"`
  18. EndTime int64 `gorm:"column:end_time" json:"end_time" form:"end_time"`
  19. Vaa01 string `gorm:"column:vaa01" json:"vaa01" form:"vaa01"`
  20. Vaa07 string `gorm:"column:vaa07" json:"vaa07" form:"vaa07"`
  21. }
  22. func (HisZuobiaoAdvice) TableName() string {
  23. return "his_zuobiao_advice"
  24. }
  25. type CmResult struct {
  26. HisUserID int `gorm:"column:his_user_id;primaryKey"`
  27. PatientName string `gorm:"column:patient_name"`
  28. ProjectID int `gorm:"column:project_id"`
  29. ProjectName string `gorm:"column:project_name"`
  30. InspectDate string `gorm:"column:inspect_date"`
  31. ItemID int `gorm:"column:item_id"`
  32. ItemName string `gorm:"column:item_name"`
  33. ItemType int `gorm:"column:item_type"`
  34. ItemValue string `gorm:"column:item_value"`
  35. RangeMin string `gorm:"column:range_min"`
  36. RangeMax string `gorm:"column:range_max"`
  37. RangeValue string `gorm:"column:range_value"`
  38. RangeOptions string `gorm:"column:range_options"`
  39. Unit string `gorm:"column:unit"`
  40. State string `gorm:"column:state"`
  41. CTime string `gorm:"column:c_time"`
  42. UTime string `gorm:"column:u_time"`
  43. }
  44. // TableName sets the table name for the MedicalRecord model.
  45. func (CmResult) TableName() string {
  46. return "xk_jy"
  47. }