zuobiao.go 2.0KB

12345678910111213141516171819202122232425262728
  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. Patient PatientListForFace `gorm:"ForeignKey:PatientId;AssociationForeignKey:ID" json:"his_patient"`
  22. }
  23. func (HisZuobiaoAdvice) TableName() string {
  24. return "his_zuobiao_advice"
  25. }