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

namespace RMYY_CallCenter_Api.Model
{

    /// <summary>
    /// T_Hos_WorkOrder:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class T_Hos_WorkOrder
    {
        public T_Hos_WorkOrder()
        { }
        #region Model
        private int _f_id;
        private int? _f_type;
        private string _f_workordercode;
        private int? _f_hosid;
        private int? _f_proposerdeptid;
        private string _f_proposerdeptname;
        private string _f_proposercode;
        private string _f_proposername;
        private string _f_proposerphon;
        private string _f_source;
        private string _f_callid;
        private int? _f_bednum = 0;
        private string _f_bedneedmessage;
        private string _f_remark;
        private DateTime? _f_createtime;
        private string _f_createcode;
        private string _f_createname;
        private int? _f_istransfer = 0;
        private int? _f_state;
        private string _f_controlmancode;
        private string _f_controlmanname;
        private string _f_transpersoncode;
        private string _f_transperson;
        private string _f_actorcode;
        private string _f_actorname;
        private DateTime? _f_outboundtime;
        private int? _f_isdel;
        private string _f_deleteby;
        private DateTime? _f_deletetime;
        private DateTime? _f_finishtime;
        private string _f_bedposition;
        private string _f_bedsureby;
        private string _f_bedsurebyname;
        private string _f_bedsurephon;
        private int? _f_iscooperate = 0;
        private string _f_cooperatedept;
        private int? _f_woflag;
        private int? _f_woid;
        private string _f_operationcode;
        private string _f_operationname;
        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; }
        }
        /// <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_ProposerDeptName
        {
            set { _f_proposerdeptname = value; }
            get { return _f_proposerdeptname; }
        }
        /// <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 int? F_BedNum
        {
            set { _f_bednum = value; }
            get { return _f_bednum; }
        }
        /// <summary>
        /// 病床配送需求
        /// </summary>
        public string F_BedNeedMessage
        {
            set { _f_bedneedmessage = value; }
            get { return _f_bedneedmessage; }
        }
        /// <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_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_IsTransfer
        {
            set { _f_istransfer = value; }
            get { return _f_istransfer; }
        }
        /// <summary>
        /// 工单状态
        /// </summary>
        public int? F_State
        {
            set { _f_state = value; }
            get { return _f_state; }
        }
        /// <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>
        /// 转运人编号
        /// </summary>
        public string F_TransPersonCode
        {
            set { _f_transpersoncode = value; }
            get { return _f_transpersoncode; }
        }
        /// <summary>
        /// 转运人
        /// </summary>
        public string F_TransPerson
        {
            set { _f_transperson = value; }
            get { return _f_transperson; }
        }
        /// <summary>
        /// 协作人
        /// </summary>
        public string F_ActorCode
        {
            set { _f_actorcode = value; }
            get { return _f_actorcode; }
        }
        /// <summary>
        /// 协作人姓名
        /// </summary>
        public string F_ActorName
        {
            set { _f_actorname = value; }
            get { return _f_actorname; }
        }
        /// <summary>
        /// 出库时间
        /// </summary>
        public DateTime? F_OutboundTime
        {
            set { _f_outboundtime = value; }
            get { return _f_outboundtime; }
        }
        /// <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 DateTime? F_FinishTime
        {
            set { _f_finishtime = value; }
            get { return _f_finishtime; }
        }
        /// <summary>
        /// 病床位置
        /// </summary>
        public string F_BedPosition
        {
            set { _f_bedposition = value; }
            get { return _f_bedposition; }
        }
        /// <summary>
        /// 病床确认人
        /// </summary>
        public string F_BedSureBy
        {
            set { _f_bedsureby = value; }
            get { return _f_bedsureby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string F_BedSureByName
        {
            set { _f_bedsurebyname = value; }
            get { return _f_bedsurebyname; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string F_BedSurePhon
        {
            set { _f_bedsurephon = value; }
            get { return _f_bedsurephon; }
        }
        /// <summary>
        /// 是否协作
        /// </summary>
        public int? F_IsCooperate
        {
            set { _f_iscooperate = value; }
            get { return _f_iscooperate; }
        }
        /// <summary>
        /// 协作部门
        /// </summary>
        public string F_CooperateDept
        {
            set { _f_cooperatedept = value; }
            get { return _f_cooperatedept; }
        }
        /// <summary>
        /// 工单标记：0原工单，1新工单(派生)
        /// </summary>
        public int? F_WoFlag
        {
            set { _f_woflag = value; }
            get { return _f_woflag; }
        }
        /// <summary>
        /// 原工单ID
        /// </summary>
        public int? F_WoID
        {
            set { _f_woid = value; }
            get { return _f_woid; }
        }
        /// <summary>
        /// 派单人编码
        /// </summary>
        public string F_OperationCode
        {
            set { _f_operationcode = value; }
            get { return _f_operationcode; }
        }
        /// <summary>
        /// 派单人姓名
        /// </summary>
        public string F_OperationName
        {
            set { _f_operationname = value; }
            get { return _f_operationname; }
        }
        #endregion Model

        #region
        /// <summary>
        /// 工单状态名称
        /// </summary>
        public string F_Wostate { get; set; }
        /// <summary>
        /// 坐席
        /// </summary>
        public string F_SitMan { get; set; }

        public string rolecode { get; set; }

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

        public string F_BedMesItem { 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


    }
}
