using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HySoft.BaseCallCenter.Model
{
    /// <summary>
    /// 通话记录表
    /// </summary>
    [Serializable]
    public partial class T_Call_CallRecords_QC
    {
        public T_Call_CallRecords_QC()
        { }
        #region Model
        private string _callid;
        private string _callnumber;
        private string _cusid;
        private string _cuscode;
        private int? _calltype = 0;
        private int? _callstate;
        private int? _dealtype;
        private DateTime? _begintime = DateTime.Now;
        private DateTime? _ivrstarttime;
        private DateTime? _ivrendtime;
        private DateTime? _ringstarttime;
        private DateTime? _ringendtime;
        private DateTime? _talkstarttime;
        private DateTime? _talkendtime;
        private DateTime? _endtime = DateTime.Now;
        private int? _longtime;
        private int? _ivrlongtime;
        private int? _ringlongtime;
        private int? _talklongtime;
        private int? _userid;
        private string _usercode;
        private string _username;
        private string _extnumber;
        private string _filepath;
        private bool _isexitworkorder = false;
        private int? _isdeal = 0;
        private int? _operatetype;
        private string _operateobject;
        private DateTime? _operatetime;
        private string _remark;
        private int? _myd;
        private int? _businesstype;
        private string _location;
        private int _callrecordsid;
        private DateTime? _waitstarttime;
        private DateTime? _waitendtime;
        private int? _waitlongtime = 0;
        private int? _nocallstate = 0;
        private int? _worktimesdiff;
        private int? _f_qcstate = 0;
        private decimal? _f_qcscore = 0M;
        private string _f_qcremark;
        private int? _f_qcuserid;
        private string _f_qcusername;
        private DateTime? _f_qctime;
        private int? _f_qcisselect;
        /// <summary>
        /// 呼叫编号
        /// </summary>
        public string CallId
        {
            set { _callid = value; }
            get { return _callid; }
        }
        /// <summary>
        /// 来电号码
        /// </summary>
        public string CallNumber
        {
            set { _callnumber = value; }
            get { return _callnumber; }
        }
        /// <summary>
        /// 客户id
        /// </summary>
        public string CusId
        {
            set { _cusid = value; }
            get { return _cusid; }
        }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string CusCode
        {
            set { _cuscode = value; }
            get { return _cuscode; }
        }
        /// <summary>
        /// 呼叫类型,0呼入1呼出
        /// </summary>
        public int? CallType
        {
            set { _calltype = value; }
            get { return _calltype; }
        }
        /// <summary>
        /// 呼叫状态,0:未接通电话1已接通电话
        /// </summary>
        public int? CallState
        {
            set { _callstate = value; }
            get { return _callstate; }
        }
        /// <summary>
        /// 处理方式0:IVR处理1骚扰电话2自助服务3转值班电话4留言5呼损6人工处理
        /// </summary>
        public int? DealType
        {
            set { _dealtype = value; }
            get { return _dealtype; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? BeginTime
        {
            set { _begintime = value; }
            get { return _begintime; }
        }
        /// <summary>
        /// ivr开始时间
        /// </summary>
        public DateTime? IvrStartTime
        {
            set { _ivrstarttime = value; }
            get { return _ivrstarttime; }
        }
        /// <summary>
        /// ivr结束时间
        /// </summary>
        public DateTime? IvrEndTime
        {
            set { _ivrendtime = value; }
            get { return _ivrendtime; }
        }
        /// <summary>
        /// 振铃开始时间
        /// </summary>
        public DateTime? RingStartTime
        {
            set { _ringstarttime = value; }
            get { return _ringstarttime; }
        }
        /// <summary>
        /// 振铃结束时间
        /// </summary>
        public DateTime? RingEndTime
        {
            set { _ringendtime = value; }
            get { return _ringendtime; }
        }
        /// <summary>
        /// 通话开始时间
        /// </summary>
        public DateTime? TalkStartTime
        {
            set { _talkstarttime = value; }
            get { return _talkstarttime; }
        }
        /// <summary>
        /// 通话结束时间
        /// </summary>
        public DateTime? TalkEndTime
        {
            set { _talkendtime = value; }
            get { return _talkendtime; }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 总时长(s)
        /// </summary>
        public int? LongTime
        {
            set { _longtime = value; }
            get { return _longtime; }
        }
        /// <summary>
        /// IVR时长(s)
        /// </summary>
        public int? IvrLongTime
        {
            set { _ivrlongtime = value; }
            get { return _ivrlongtime; }
        }
        /// <summary>
        /// 振铃时长(s)
        /// </summary>
        public int? RingLongTime
        {
            set { _ringlongtime = value; }
            get { return _ringlongtime; }
        }
        /// <summary>
        /// 通话时长(s)
        /// </summary>
        public int? TalkLongTime
        {
            set { _talklongtime = value; }
            get { return _talklongtime; }
        }
        /// <summary>
        /// 坐席id
        /// </summary>
        public int? UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 坐席工号
        /// </summary>
        public string UserCode
        {
            set { _usercode = value; }
            get { return _usercode; }
        }
        /// <summary>
        /// 坐席姓名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 坐席分机号
        /// </summary>
        public string ExtNumber
        {
            set { _extnumber = value; }
            get { return _extnumber; }
        }
        /// <summary>
        /// 用于获取录音的编号
        /// </summary>
        public string FilePath
        {
            set { _filepath = value; }
            get { return _filepath; }
        }
        /// <summary>
        /// 是否录入工单
        /// </summary>
        public bool IsExitWorkOrder
        {
            set { _isexitworkorder = value; }
            get { return _isexitworkorder; }
        }
        /// <summary>
        /// 是否处理0未处理1已处理2注销
        /// </summary>
        public int? IsDeal
        {
            set { _isdeal = value; }
            get { return _isdeal; }
        }
        /// <summary>
        /// 操作类型，0正常1转移2三方通话
        /// </summary>
        public int? OperateType
        {
            set { _operatetype = value; }
            get { return _operatetype; }
        }
        /// <summary>
        /// 操作目标
        /// </summary>
        public string OperateObject
        {
            set { _operateobject = value; }
            get { return _operateobject; }
        }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? OperateTime
        {
            set { _operatetime = value; }
            get { return _operatetime; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 满意度，1非常满意、2基本满意、3不满意
        /// </summary>
        public int? MYD
        {
            set { _myd = value; }
            get { return _myd; }
        }
        /// <summary>
        /// IVR中选择的业务类型
        /// </summary>
        public int? BusinessType
        {
            set { _businesstype = value; }
            get { return _businesstype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Location
        {
            set { _location = value; }
            get { return _location; }
        }
        /// <summary>
        /// 来电自增Id
        /// </summary>
        public int CallRecordsId
        {
            set { _callrecordsid = value; }
            get { return _callrecordsid; }
        }
        /// <summary>
        /// 排队开始时间
        /// </summary>
        public DateTime? WaitStartTime
        {
            set { _waitstarttime = value; }
            get { return _waitstarttime; }
        }
        /// <summary>
        /// 排队结束时间
        /// </summary>
        public DateTime? WaitEndTime
        {
            set { _waitendtime = value; }
            get { return _waitendtime; }
        }
        /// <summary>
        /// 排队时长
        /// </summary>
        public int? WaitLongTime
        {
            set { _waitlongtime = value; }
            get { return _waitlongtime; }
        }
        /// <summary>
        /// 未接通状态（0其他、1坐席未登录、2坐席忙、3振铃）
        /// </summary>
        public int? NoCallState
        {
            set { _nocallstate = value; }
            get { return _nocallstate; }
        }
        /// <summary>
        /// 与工作时间间隔秒数
        /// </summary>
        public int? WorkTimesDiff
        {
            set { _worktimesdiff = value; }
            get { return _worktimesdiff; }
        }
        /// <summary>
        /// 质检状态（0未质检、1已质检）
        /// </summary>
        public int? F_QCState
        {
            set { _f_qcstate = value; }
            get { return _f_qcstate; }
        }
        /// <summary>
        /// 质检分值
        /// </summary>
        public decimal? F_QCScore
        {
            set { _f_qcscore = value; }
            get { return _f_qcscore; }
        }
        /// <summary>
        /// 质检备注
        /// </summary>
        public string F_QCRemark
        {
            set { _f_qcremark = value; }
            get { return _f_qcremark; }
        }
        /// <summary>
        /// 质检人Id
        /// </summary>
        public int? F_QCUserId
        {
            set { _f_qcuserid = value; }
            get { return _f_qcuserid; }
        }
        /// <summary>
        /// 质检人名称
        /// </summary>
        public string F_QCUserName
        {
            set { _f_qcusername = value; }
            get { return _f_qcusername; }
        }
        /// <summary>
        /// 质检时间
        /// </summary>
        public DateTime? F_QCTime
        {
            set { _f_qctime = value; }
            get { return _f_qctime; }
        }
        /// <summary>
        /// 是否推荐
        /// </summary>
        public int? F_QCIsSelect
        {
            set { _f_qcisselect = value; }
            get { return _f_qcisselect; }
        }
        #endregion Model

    }
}

