| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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:"opa_rcdstorage_days" json:"opaRcdStorageDays"`
- PadRcdDelDays int `xorm:"pad_rcd_del" json:"pad_rcd_del_days"`
- PaRcdDelDays int `xorm:"pa_rcd_del" json:"pa_rcd_del_days"`
- CpaRcdDelDays int `xorm:"cpa_rcd_del" json:"cpa_rcd_del_days"`
- OpaRcdDelDays int `xorm:"opa_rcd_del" json:"opa_rcd_del_days"`
- }
- func (*RcdConf) TableName() string {
- return "t_record_conf"
- }
|