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

namespace RMYY_CallCenter_Api.Model
{
    /// <summary>
	/// T_Dev_WorkOrder:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public partial class T_Dev_WorkOrder
    {
        public T_Dev_WorkOrder()
        { }
        #region Model
        private int _f_id;
        private int? _f_type;
        private int? _f_type1;
        private string _f_workordercode;
        private int? _f_hosid;
        private int? _f_proposerdeptid;
        private string _f_proposercode;
        private string _f_proposername;
        private string _f_proposerphon;
        private string _f_source;
        private string _f_callid;
        private string _f_dealtype;
        private int? _f_transferdeptid;
        private string _f_transferdeptname;
        private string _f_remark;
        private DateTime? _f_createtime;
        private string _f_handlebycode;
        private string _f_handlebyname;
        private DateTime? _f_handletime;
        private string _f_handlecontents;
        private string _f_carrycontents;
        private int? _f_state;
        private DateTime? _f_finishtime;
        private string _f_createcode;
        private string _f_createname;
        private int? _f_isdel;
        private string _f_deleteby;
        private DateTime? _f_deletetime;
        private string _f_transgoperson;
        private string _f_transoutperson;
        private string _f_controlmancode;
        private string _f_controlmanname;
        private int? _f_devoutstate = 0;
        private int? _f_woflag = 0;
        private int? _f_devoutnum = 0;
        private int? _f_devinnum = 0;
        private string _f_devname;
        private DateTime? _f_devstoragetime;
        private int _f_woid = 0;
        private string _f_finishman;
        private string _f_finishmanname;
        private string _f_finishmanphon;
        private string _f_finishmantalkie;
        /// <summary>
        /// 
        /// </summary>
        public int F_Id
        {
            set { _f_id = value; }
            get { return _f_id; }
        }
        /// <summary>
        /// 工单类型
        /// </summary>
        public int? F_Type
        {
            set { _f_type = value; }
            get { return _f_type; }
        }
        public int? F_Type1
        {
            set { _f_type1 = value; }
            get { return _f_type1; }
        }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string F_WorkOrderCode
        {
            set { _f_workordercode = value; }
            get { return _f_workordercode; }
        }

        /// <summary>
        /// 申请院区
        /// </summary>
        public int? F_HosId
        {
            set { _f_hosid = value; }
            get { return _f_hosid; }
        }

        /// <summary>
        /// 使用科室
        /// </summary>
        public int? F_ProposerDeptId
        {
            set { _f_proposerdeptid = value; }
            get { return _f_proposerdeptid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_ProposerCode
        {
            set { _f_proposercode = value; }
            get { return _f_proposercode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_ProposerName
        {
            set { _f_proposername = value; }
            get { return _f_proposername; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string F_ProposerPhon
        {
            set { _f_proposerphon = value; }
            get { return _f_proposerphon; }
        }
        /// <summary>
        /// 工单来源:电话、PC端、APP
        /// </summary>
        public string F_Source
        {
            set { _f_source = value; }
            get { return _f_source; }
        }
        /// <summary>
        /// 通话记录ID
        /// </summary>
        public string F_CallID
        {
            set { _f_callid = value; }
            get { return _f_callid; }
        }
        /// <summary>
        /// 处理方式:转派
        /// </summary>
        public string F_DealType
        {
            set { _f_dealtype = value; }
            get { return _f_dealtype; }
        }
        /// <summary>
        /// 转办部门id
        /// </summary>
        public int? F_TransferDeptId
        {
            set { _f_transferdeptid = value; }
            get { return _f_transferdeptid; }
        }
        /// <summary>
        /// 转办部门名称
        /// </summary>
        public string F_TransferDeptName
        {
            set { _f_transferdeptname = value; }
            get { return _f_transferdeptname; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string F_Remark
        {
            set { _f_remark = value; }
            get { return _f_remark; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? F_CreateTime
        {
            set { _f_createtime = value; }
            get { return _f_createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_HandleByCode
        {
            set { _f_handlebycode = value; }
            get { return _f_handlebycode; }
        }
        /// <summary>
        /// 处理人姓名(设备科经办人)
        /// </summary>
        public string F_HandleByName
        {
            set { _f_handlebyname = value; }
            get { return _f_handlebyname; }
        }
        /// <summary>
        /// 处理时间(出库时间)
        /// </summary>
        public DateTime? F_HandleTime
        {
            set { _f_handletime = value; }
            get { return _f_handletime; }
        }
        /// <summary>
        /// 处理事项
        /// </summary>
        public string F_HandleContents
        {
            set { _f_handlecontents = value; }
            get { return _f_handlecontents; }
        }
        /// <summary>
        /// 配送内容
        /// </summary>
        public string F_CarryContents
        {
            set { _f_carrycontents = value; }
            get { return _f_carrycontents; }
        }
        /// <summary>
        /// 工单状态
        /// </summary>
        public int? F_State
        {
            set { _f_state = value; }
            get { return _f_state; }
        }
        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime? F_FinishTime
        {
            set { _f_finishtime = value; }
            get { return _f_finishtime; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string F_CreateCode
        {
            set { _f_createcode = value; }
            get { return _f_createcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_CreateName
        {
            set { _f_createname = value; }
            get { return _f_createname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_IsDel
        {
            set { _f_isdel = value; }
            get { return _f_isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_DeleteBy
        {
            set { _f_deleteby = value; }
            get { return _f_deleteby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? F_DeleteTime
        {
            set { _f_deletetime = value; }
            get { return _f_deletetime; }
        }
        /// <summary>
        /// 转运人：配送
        /// </summary>
        public string F_TransGoPerson
        {
            set { _f_transgoperson = value; }
            get { return _f_transgoperson; }
        }
        /// <summary>
        /// 转运人：返还
        /// </summary>
        public string F_TransOutPerson
        {
            set { _f_transoutperson = value; }
            get { return _f_transoutperson; }
        }
        /// <summary>
        /// 调度人
        /// </summary>
        public string F_ControlManCode
        {
            set { _f_controlmancode = value; }
            get { return _f_controlmancode; }
        }
        /// <summary>
        /// 调度人姓名
        /// </summary>
        public string F_ControlManName
        {
            set { _f_controlmanname = value; }
            get { return _f_controlmanname; }
        }
        /// <summary>
        /// 设备出库状态：1全部出库，2 部分出库，3全部入库，4 部分入库，5无库存
        /// </summary>
        public int? F_DevOutState
        {
            set { _f_devoutstate = value; }
            get { return _f_devoutstate; }
        }
        /// <summary>
        /// 工单标记：0原工单，1新工单(派生)
        /// </summary>
        public int? F_WoFlag
        {
            set { _f_woflag = value; }
            get { return _f_woflag; }
        }
        /// <summary>
        /// 设备入库数量
        /// </summary>
        public int? F_DevOutNum
        {
            set { _f_devoutnum = value; }
            get { return _f_devoutnum; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_DevInNum
        {
            set { _f_devinnum = value; }
            get { return _f_devinnum; }
        }
        /// <summary>
        /// 入库设备名称
        /// </summary>
        public string F_DevName
        {
            set { _f_devname = value; }
            get { return _f_devname; }
        }
        /// <summary>
        /// 设备入库时间
        /// </summary>
        public DateTime? F_DevStorageTime
        {
            set { _f_devstoragetime = value; }
            get { return _f_devstoragetime; }
        }
        /// <summary>
        /// 原工单ID
        /// </summary>
        public int F_WoID
        {
            set { _f_woid = value; }
            get { return _f_woid; }
        }
        #endregion Model


        #region
        public string F_DeptName { get; set; }
        /// <summary>
        /// 工单状态
        /// </summary>
        public string F_Wostate { get; set; }

        /// <summary>
        /// 坐席
        /// </summary>
        public string F_SitMan { get; set; }

        /// <summary>
        /// 设备状态
        /// </summary>
        public string F_DevState { get; set; }

        public string F_ProposerDeptName { get; set; }
        public string HosName { get; set; }

        /// <summary>
        /// 工单确认人
        /// </summary>
        public string F_FinishMan
        {
            set { _f_finishman = value; }
            get { return _f_finishman; }
        }
        /// <summary>
        /// 确认人姓名
        /// </summary>
        public string F_FinishManName
        {
            set { _f_finishmanname = value; }
            get { return _f_finishmanname; }
        }
        /// <summary>
        /// 确认人电话
        /// </summary>
        public string F_FinishManPhon
        {
            set { _f_finishmanphon = value; }
            get { return _f_finishmanphon; }
        }
        /// <summary>
        /// 对讲机
        /// </summary>
        public string F_FinishManTalkie
        {
            set { _f_finishmantalkie = value; }
            get { return _f_finishmantalkie; }
        }

        #endregion
        #region 扩展字段
        /// <summary>
        /// 设备接收时间
        /// </summary>
        public DateTime ReceiveTime { get; set; }
        #endregion

    }
}
