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      string `json:"padRcdEnable"`
	PadRcdStorageDays string `json:"padRcdStorageDays"`
	PaRcdStorageDays  string `json:"paRcdStorageDays"`
	CpaRcdStorageDays string `json:"cpaRcdStorageDays"`
	OpaRcdStorageDays string `json:"opaRcdStorageDays"`
	PadRcdDelDays     string `json:"pad_rcd_del_days"`
	PaRcdDelDays      string `json:"pa_rcd_del_days"`
	CpaRcdDelDays     string `json:"cpa_rcd_del_days"`
	OpaRcdDelDays     string `json:"opa_rcd_del_days"`
}
