callforward.go 492 B

12345678910111213141516
  1. package model
  2. // CallForward 呼叫转移
  3. type CallForward struct {
  4. ID int64 `xorm:"id pk autoincr" json:"id"`
  5. Extension string `xorm:"exten" json:"extension"`
  6. FwType string `xorm:"fw_type" json:"fw_type"`
  7. FwDest string `xorm:"fw_dest" json:"fw_dest"`
  8. Timeout int `xorm:"timeout" json:"timeout"`
  9. Timerule int `xorm:"timerule" json:"timerule"`
  10. Enable bool `xorm:"enable" json:"enable"`
  11. }
  12. func (*CallForward) TableName() string {
  13. return "t_call_forward"
  14. }