ordonnance.go 988 B

1234567891011121314151617181920212223242526272829303132
  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. Symptom string `json:"symptom"`
  9. Doctor string `json:"doctor"`
  10. TakingWay string `json:"takingWay"`
  11. DosageConfirm string `json:"dosageConfirm"`
  12. ProvideConfirm string `json:"provideConfirm"`
  13. PrescriptionSign string `json:"prescriptionSign"`
  14. ReviewSign string `json:"reviewSign"`
  15. PrintDate string `json:"printDate"`
  16. TotalFee uint16 `json:"totalFee"`
  17. ChineseFee uint16 `json:"chineseFee"`
  18. BoilFee uint16 `json:"boilFee"`
  19. DeliveryFee uint16 `json:"deliveryFee"`
  20. Counter uint16 `json:"counter"`
  21. }
  22. type VordonnanceDetail struct {
  23. Ordonnance
  24. Detail []OrdonnanceItem `json:"detail"`
  25. }
  26. func (Ordonnance) TableName() string {
  27. return "t_ordonnance"
  28. }