| 123456789101112131415161718192021222324252627282930313233343536 |
- package model
- // Cdr 通话记录
- type Cdr struct {
- AnswerTime string `xorm:"AnswerTime"`
- BillableSeconds string `xorm:"BillableSeconds"`
- CallerID string `xorm:"CallerID"`
- Channel string `xorm:"Channel"`
- Destination string `xorm:"Destination"`
- DestinationChannel string `xorm:"DestinationChannel"`
- DestinationContext string `xorm:"DestinationContext"`
- Disposition string `xorm:"Disposition"`
- Duration string `xorm:"Duration"`
- EndTime string `xorm:"EndTime"`
- Event string `xorm:"Event"`
- LastApplication string `xorm:"LastApplication"`
- LastData string `xorm:"LastData"`
- Privilege string `xorm:"Privilege"`
- RecordFile string `xorm:"RecordFile"`
- Source string `xorm:"Source"`
- StartTime string `xorm:"StartTime"`
- Timestamp string `xorm:"Timestamp"`
- UniqueID string `xorm:"UniqueID"`
- }
- type RcdConf struct {
- PadRcdEnable int `xorm:"pad_rcd_enable" json:"padRcdEnable"`
- PadRcdStorageDays int `xorm:"pad_rcdstorage_days" json:"padRcdStorageDays"`
- PaRcdStorageDays int `xorm:"pa_rcdstorage_days" json:"paRcdStorageDays"`
- CpaRcdStorageDays int `xorm:"cpa_rcdstorage_days" json:"cpaRcdStorageDays"`
- OpaRcdStorageDays int `xorm:"0pa_rcdstorage_days" json:"opaRcdStorageDays"`
- }
- func (*RcdConf) TableName() string {
- return "t_record_conf"
- }
|