using System;
namespace CallCenterApi.Model
{
    /// <summary>
    /// 单位表
    /// </summary>
    [Serializable]
    public partial class T_Sys_Department
    {
        public T_Sys_Department()
        { }
        #region Model
        private int _f_deptid;
        private string _f_deptname;
        private string _f_deptnamespell;
        private string _f_deptnamespells;
        private string _f_deptphone;
        private string _f_deptphone2;
        private string _f_depttelphone;
        private int? _f_partentid;
        private int? _f_layer;
        private int? _f_sort;
        private int? _f_type;
        private string _f_address;
        private string _f_remark;
        private string _f_leaderuser;
        private string _f_leaderusername;
        private string _f_topsplituser;
        private string _f_topsplitusername;
        private string _f_topleaderuser;
        private string _f_topleaderusername;
        private int? _f_state;
        private string _f_createuser;
        private DateTime? _f_createdate;
        private int? _f_isdept;
        private int? _f_isdealdept;
        private int? _f_valueid;
        private int? _f_issms;
        private DateTime? _f_extensiontime;
        private int _f_delaytimes = 0;

        /// <summary>
        /// 部门id，自增
        /// </summary>
        public int F_DeptId
        {
            set { _f_deptid = value; }
            get { return _f_deptid; }
        }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string F_DeptName
        {
            set { _f_deptname = value; }
            get { return _f_deptname; }
        }
        /// <summary>
        /// 部门名称简拼
        /// </summary>
        public string F_DeptNameSpell
        {
            set { _f_deptnamespell = value; }
            get { return _f_deptnamespell; }
        }
        /// <summary>
        /// 部门名称全拼
        /// </summary>
        public string F_DeptNameSpells
        {
            set { _f_deptnamespells = value; }
            get { return _f_deptnamespells; }
        }
        /// <summary>
        /// 部门电话
        /// </summary>
        public string F_DeptPhone
        {
            set { _f_deptphone = value; }
            get { return _f_deptphone; }
        }
        /// <summary>
        /// 部门电话2
        /// </summary>
        public string F_DeptPhone2
        {
            set { _f_deptphone2 = value; }
            get { return _f_deptphone2; }
        }
        /// <summary>
        /// 部门座机
        /// </summary>
        public string F_DeptTelphone
        {
            set { _f_depttelphone = value; }
            get { return _f_depttelphone; }
        }
        /// <summary>
        /// 上级部门id（无值为0）
        /// </summary>
        public int? F_PartentId
        {
            set { _f_partentid = value; }
            get { return _f_partentid; }
        }
        /// <summary>
        /// 当前部门级别（0级：无上级部门，1级：有上级部门）
        /// </summary>
        public int? F_layer
        {
            set { _f_layer = value; }
            get { return _f_layer; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? F_Sort
        {
            set { _f_sort = value; }
            get { return _f_sort; }
        }
        /// <summary>
        /// 部门类型（0：系统内置，1：非系统内置）
        /// </summary>
        public int? F_Type
        {
            set { _f_type = value; }
            get { return _f_type; }
        }
        /// <summary>
        /// 地址
        /// </summary>
        public string F_Address
        {
            set { _f_address = value; }
            get { return _f_address; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string F_Remark
        {
            set { _f_remark = value; }
            get { return _f_remark; }
        }
        /// <summary>
        /// 单位领导
        /// </summary>
        public string F_LeaderUser
        {
            set { _f_leaderuser = value; }
            get { return _f_leaderuser; }
        }
        /// <summary>
        /// 单位领导姓名
        /// </summary>
        public string F_LeaderUserName
        {
            set { _f_leaderusername = value; }
            get { return _f_leaderusername; }
        }
        /// <summary>
        /// 上级分管领导
        /// </summary>
        public string F_TopSplitUser
        {
            set { _f_topsplituser = value; }
            get { return _f_topsplituser; }
        }
        /// <summary>
        /// 上级分管领导姓名
        /// </summary>
        public string F_TopSplitUserName
        {
            set { _f_topsplitusername = value; }
            get { return _f_topsplitusername; }
        }
        /// <summary>
        /// 上级主管领导
        /// </summary>
        public string F_TopLeaderUser
        {
            set { _f_topleaderuser = value; }
            get { return _f_topleaderuser; }
        }
        /// <summary>
        /// 上级主管领导姓名
        /// </summary>
        public string F_TopLeaderUserName
        {
            set { _f_topleaderusername = value; }
            get { return _f_topleaderusername; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int? F_State
        {
            set { _f_state = value; }
            get { return _f_state; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string F_CreateUser
        {
            set { _f_createuser = value; }
            get { return _f_createuser; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? F_CreateDate
        {
            set { _f_createdate = value; }
            get { return _f_createdate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_IsDept
        {
            set { _f_isdept = value; }
            get { return _f_isdept; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? F_IsDealDept
        {
            set { _f_isdealdept = value; }
            get { return _f_isdealdept; }
        }
        public int? F_Valueid
        {
            set { _f_valueid = value; }
            get { return _f_valueid; }
        }
        public int ? F_IsSms
        {
            set { _f_issms = value; }
            get { return _f_issms; }
        }
        /// <summary>
        /// 申请延时时间
        /// </summary>
        public DateTime? F_ExtensionTime
        {
            set { _f_extensiontime = value; }
            get { return _f_extensiontime; }
        }
        /// <summary>
        /// 申请延时次数
        /// </summary>
        public int  F_DelayTimes
        {
            set { _f_delaytimes = value; }
            get { return _f_delaytimes; }
        }
        /// <summary>
        /// 申请延时时间
        /// </summary>
        public DateTime? F_SMExtensionTime
        {
            get;set;
        }
        /// <summary>
        /// 申请延时次数
        /// </summary>
        public int F_SMDelayTimes
        {
            get;set;
        }
        /// <summary>
        /// 分值
        /// </summary>
        public int? F_Score { set; get; }
        /// <summary>
        /// 备注
        /// </summary>
        public string F_ScoreRemarks { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime?  F_ScoreTime { set; get; }
        /// <summary>
        /// 监督检查分值
        /// </summary>
        public int? F_SupervisionScore { set; get; }
        /// <summary>
        /// 监督检查备注
        /// </summary>
        public string F_ScoreSupervision { set; get; }
        /// <summary>
        /// 监督检查
        /// </summary>
        public DateTime? F_SupervisionTime { set; get; }

        /// <summary>
        /// 分值
        /// </summary>
        public int? F_NewScore { set; get; }
        /// <summary>
        /// 备注
        /// </summary>
        public string F_NewScoreRemarks { set; get; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? F_NewScoreTime { set; get; }




        #endregion Model

    }
}

