ordonnance.go 902 B

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