using System;
using System.Collections.Generic;
using System.Text;

namespace System.Model
{
    [Serializable]
    public partial class DepartmentDto
    {
        /// <summary>
		/// 部门自增ID
		/// </summary>
		public int F_DeptId { get; set; }
        /// <summary>
        /// 部门编号
        /// </summary>
        public string F_DeptCode { get; set; }
        /// <summary>
        /// 父节点ID
        /// </summary>
        public int F_ParentId { get; set; }
        /// <summary>
        /// 父节点编号
        /// </summary>
        public string F_ParentCode { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string F_DeptName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? F_State { get; set; }
        /// <summary>
        /// 排序编号
        /// </summary>
        public int? F_Sort { get; set; }
        /// <summary>
        /// 负责人id
        /// </summary>
        public int? F_Header { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? F_CreateOn { get; set; }
        /// <summary>
        /// 添加工号
        /// </summary>
        public string F_CreateBy { get; set; }
        /// <summary>
        /// 最后一次修改时间
        /// </summary>
        public DateTime? F_LastModifyOn { get; set; }
        /// <summary>
        /// 最后一次修改工号
        /// </summary>
        public string F_LastModifyBy { get; set; }
        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? F_DeleteOn { get; set; }
        /// <summary>
        /// 删除工号
        /// </summary>
        public string F_DeleteBy { get; set; }

        /// <summary>
        /// 是否锁定 0未锁定  1锁定
        /// </summary>
        public int F_Lock { get; set; }

        /// <summary>
        /// 目标任务金额
        /// </summary>
        public decimal F_TargetMoney { get; set; }

        public List<DepartmentDto> children
        { get; set; }
    }
}
