using System;
namespace ZXDT.CallCenter.Model
{
    /// <summary>
    /// T_Wo_WorkOrderHistory:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class T_Wo_WorkOrderHistory
    {
      
      
        private int _f_historyid;
        private int _f_workorderstateid;
        private int? _f_optuserid;
        private DateTime? _f_optdate;
        private int? _f_elapsedtime;
        private string _f_nextownerarrid;
        private string _f_remark;
        private int? _f_optbtnid;
        private int? _f_instanceid;
        private int? _f_taskflag;

        private string _f_username;
        private string _f_name;
        private string _f_statename;
        private int? _f_Cancel;

        #region 使用字段
        /// <summary>
        /// 工单历史Id
        /// </summary>
        public int F_HISTORYID
        {
            set { _f_historyid = value; }
            get { return _f_historyid; }
        }
        
        /// <summary>
        /// 工单实例Id
        /// </summary>
        public int? F_INSTANCEID
        {
            set { _f_instanceid = value; }
            get { return _f_instanceid; }
        }


        /// <summary>
        /// 工单状态F_WORKORDERSTATEID  0处理中 1已处理，2 从编辑工单撤回到补录工单  3 从待处理中驳回到补录工单  4 从待回访中驳回到处理中  5 从已处理中撤回到处理中  6 从待定责驳回到待回访 7 从已回访中撤回到待回访
        /// </summary>
        public int F_WORKORDERSTATEID
        {
            set { _f_workorderstateid = value; }
            get { return _f_workorderstateid; }
        }

        /// <summary>
        /// 工单状态名称
        /// </summary>
        public string F_StateName
        {
            set { _f_statename = value; }
            get { return _f_statename; }
        }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? F_OPTDATE
        {
            set { _f_optdate = value; }
            get { return _f_optdate; }
        }
       
        /// <summary>
        /// 接收部门id
        /// </summary>
        public int? F_OPTBTNID
        {
            set { _f_optbtnid = value; }
            get { return _f_optbtnid; }
        }
        /// <summary>
        /// 接收部门名称
        /// </summary>
        public string F_NEXTOWNERARRID
        {
            set { _f_nextownerarrid = value; }
            get { return _f_nextownerarrid; }
        }

        /// <summary>
        /// 处理人id
        /// </summary>
        public int? F_OPTUSERID
        {
            set { _f_optuserid = value; }
            get { return _f_optuserid; }
        }

        /// <summary>
        /// 操作员名称 处理人员名称
        /// </summary>
        public string F_UserName
        {
            set { _f_username = value; }
            get { return _f_username; }
        }
        /// <summary>
        /// 要求回复时间
        /// </summary>
        public DateTime? NeedReplayTime
        {
            set;
            get;
        }
        /// <summary>
        /// 实际回复时间
        /// </summary>
        public DateTime ReplayTime
        {
            set;
            get;
        }
        /// <summary>
        /// 实际回复时间
        /// </summary>
        public string ReplayTimeFormat
        {
            set;
            get;
        }
        /// <summary>
        /// 处理内容
        /// </summary>
        public string F_REMARK
        {
            set { _f_remark = value; }
            get { return _f_remark; }
        }
        #endregion
        #region Model

        /// <summary>
        /// 耗时
        /// </summary>
        public int? F_ELAPSEDTIME
        {
            set { _f_elapsedtime = value; }
            get { return _f_elapsedtime; }
        }
       
        /// <summary>
        /// 操作按钮
        /// </summary>
        public int? F_TASKFLAG
        {
            set { _f_taskflag = value; }
            get { return _f_taskflag; }
        }

        /// <summary>
        /// 自定义历史工单编号
        /// </summary>
        public string F_Name
        {
            set { _f_name = value; }
            get { return _f_name; }
        }
  

        #endregion Model

    }
}

