cdr_record.go 613 B

12345678910111213141516171819
  1. package utModels
  2. import (
  3. "time"
  4. )
  5. type CdrRecord struct {
  6. AccountCode string `gorm:"column:accountcode"`
  7. TimeStamp time.Time `gorm:"column:calldate"`
  8. Source string `gorm:"column:src"`
  9. Destination string `gorm:"column:dst"`
  10. DestinationDescription string `gorm:"column:direction"`
  11. BillDuration int `gorm:"column:billsec"`
  12. Cost float32 `gorm:"column:cost"`
  13. CostVAT float32 `gorm:"column:cost_wnds"`
  14. Tariff float32 `gorm:"column:price"`
  15. Disposition string
  16. }