ordonnance.go 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. package model
  2. type Ordonnance struct {
  3. OrdonnanceId int `json:"ordonnanceId" gorm:"primaryKey" `
  4. Organ string `json:"organ"`
  5. Gender string `json:"gender"`
  6. Department string `json:"department"`
  7. Nickname string `json:"nickname"`
  8. Packer string `json:"packer"`
  9. Symptom string `json:"symptom"`
  10. Doctor string `json:"doctor"`
  11. TakingWay string `json:"takingWay"`
  12. DosageConfirm string `json:"dosageConfirm"`
  13. ProvideConfirm string `json:"provideConfirm"`
  14. PrescriptionSign string `json:"prescriptionSign"`
  15. ReviewSign string `json:"reviewSign"`
  16. PrintDate string `json:"printDate"`
  17. TotalFee uint16 `json:"totalFee"`
  18. ChineseFee uint16 `json:"chineseFee"`
  19. BoilFee uint16 `json:"boilFee"`
  20. DeliveryFee uint16 `json:"deliveryFee"`
  21. Counter uint16 `json:"counter"`
  22. Old uint16 `json:"old"`
  23. }
  24. type VordonnanceDetail struct {
  25. Ordonnance
  26. Detail []OrdonnanceItem `json:"detail"`
  27. }
  28. func (Ordonnance) TableName() string {
  29. return "t_ordonnance"
  30. }