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

namespace RMYY_CallCenter_Api.Model
{
    /// <summary>
	/// T_Car_WorkOrder:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
    public partial class T_Car_WorkOrder
    {
        public T_Car_WorkOrder()
        { }
        #region Model
        private int _f_id;
        private string _f_workordercode;
        private int? _f_type;
        private int? _f_hosid;
        private int? _f_proposerdeptid;
        private string _f_source;
        private string _f_callid;
        private string _f_departplace;
        private string _f_destination;
        private string _f_proposercode;
        private string _f_phon;
        private int? _f_cartype = 0;
        private string _f_remark;
        private DateTime? _f_createtime;
        private string _f_carmessage;
        private string _f_drivercode;
        private string _f_driverphon;
        private DateTime? _f_departtime;
        private string _f_drivername;
        private string _f_proposername;
        private int? _f_state;
        private int? _f_isdel;
        private string _f_deleteby;
        private DateTime? _f_deletetime;
        private string _f_createuser;
        private string _f_assistman;
        private int? _f_isassist = 0;
        private DateTime? _f_finishtime;
        private DateTime? _f_accepttime;
        private int? _f_carid;
        private string _f_assistmanname;
        private int? _f_myd;
        private int? _f_urgecount;
        private string _f_emergencytypes;
        // 所有工单类型增加紧急字段，为单选（一般、紧急），默认为一般


        public string F_EmergencyTypes

        {
            set { _f_emergencytypes = value; }

            get { return _f_emergencytypes; }

        }
        /// <summary>
        /// 0 满意 1 一般 2 不满意
        /// </summary>
        public int? MYD
        {
            set { _f_myd = value; }
            get { return _f_myd; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int F_ID
        {
            set { _f_id = value; }
            get { return _f_id; }
        }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string F_WorkOrderCode
        {
            set { _f_workordercode = value; }
            get { return _f_workordercode; }
        }
        /// <summary>
        /// 工单类别：1院区转运患者、2转运物资、3转运消供器械、4转运设备
        /// </summary>
        public int? F_Type
        {
            set { _f_type = value; }
            get { return _f_type; }
        }
        /// <summary>
        /// 调度内容
        /// </summary>
        public string F_Content { set; get; }

        /// <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_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_DepartPlace
        {
            set { _f_departplace = value; }
            get { return _f_departplace; }
        }
        /// <summary>
        /// 目的地
        /// </summary>
        public string F_Destination
        {
            set { _f_destination = value; }
            get { return _f_destination; }
        }
        /// <summary>
        /// 申请人工号
        /// </summary>
        public string F_ProposerCode
        {
            set { _f_proposercode = value; }
            get { return _f_proposercode; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string F_Phon
        {
            set { _f_phon = value; }
            get { return _f_phon; }
        }
        /// <summary>
        /// 车辆要求：1.大车，2.小车
        /// </summary>
        public int? F_CarType
        {
            set { _f_cartype = value; }
            get { return _f_cartype; }
        }
        /// <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_CarMessage
        {
            set { _f_carmessage = value; }
            get { return _f_carmessage; }
        }
        /// <summary>
        /// 司机工号
        /// </summary>
        public string F_DriverCode
        {
            set { _f_drivercode = value; }
            get { return _f_drivercode; }
        }
        /// <summary>
        /// 司机电话号码
        /// </summary>
        public string F_DriverPhon
        {
            set { _f_driverphon = value; }
            get { return _f_driverphon; }
        }
        /// <summary>
        /// 出车时间
        /// </summary>
        public DateTime? F_DepartTime
        {
            set { _f_departtime = value; }
            get { return _f_departtime; }
        }
        /// <summary>
        /// 司机姓名
        /// </summary>
        public string F_DriverName
        {
            set { _f_drivername = value; }
            get { return _f_drivername; }
        }
        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string F_ProposerName
        {
            set { _f_proposername = value; }
            get { return _f_proposername; }
        }
        /// <summary>
        /// 工单状态
        /// </summary>
        public int? F_State
        {
            set { _f_state = value; }
            get { return _f_state; }
        }
        /// <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_CreateUser
        {
            set { _f_createuser = value; }
            get { return _f_createuser; }
        }
        /// <summary>
        /// 协作人
        /// </summary>
        public string F_AssistMan
        {
            set { _f_assistman = value; }
            get { return _f_assistman; }
        }
        /// <summary>
        /// 是否协作：1 是
        /// </summary>
        public int? F_IsAssist
        {
            set { _f_isassist = value; }
            get { return _f_isassist; }
        }
        /// <summary>
        /// 评价完成时间
        /// </summary>
        public DateTime? F_FinishTime
        {
            set { _f_finishtime = value; }
            get { return _f_finishtime; }
        }
        //接单时间
        public DateTime? F_AcceptTime
        {
            set { _f_accepttime = value; }
            get { return _f_accepttime; }
        }
        /// <summary>
        /// 用车时间
        /// </summary>
        public string F_UseTime { set; get; }
        /// <summary>
        /// 车辆id
        /// </summary>
        public int? F_CarId
        {
            set { _f_carid = value; }
            get { return _f_carid; }
        }
        public int? F_UrgeCount
        {
            set { _f_urgecount = value; }
            get { return _f_urgecount; }
        }
        

        /// <summary>
        /// 协作人姓名
        /// </summary>
        public string F_AssistManName
        {
            set { _f_assistmanname = value; }
            get { return _f_assistmanname; }
        }
        /// <summary>
        /// 发车时间
        /// </summary>
        public DateTime? F_StartTime
        {
            get;set;
        }
        /// <summary>
        /// 到达目的地时间
        /// </summary>
        public DateTime? F_EndTime
        {
            get; set;
        }
        /// <summary>
        /// 发车附件
        /// </summary>
        public string F_StartFile
        {
            get; set;
        }
        /// <summary>
        /// 目的地附件 
        /// </summary>
        public string F_EndFile
        {
            get; set;
        }
        /// <summary>
        /// 是否新生儿转运
        /// </summary>
        public int F_Birth { set; get; }
        /// <summary>
        /// 调度员
        /// </summary>
        public string F_ControlManCode { get; set; }
        public string F_ControlManName { get; set; }

        /// <summary>
        /// 车辆类型
        /// </summary>
        public string F_CarTypeName { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string F_DeptName { get; set; }
        /// <summary>
        ///工单类型名称
        /// </summary>
        public string F_TypeName { get; set; }

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

        public string F_ProposerDeptName { get; set; }
        public string F_CarName { get; set; }
        public string StateName { set; get; }

        public int? F_LeaveRecordId
        {
            set; get;
        }
        #endregion Model

    }
}
