using VT.FW.DB;
using Mall.Model.Entity.Finance;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Mall.Model.Extend.Finance
{
    /// <summary>
    /// 费用类型扩展表
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "FinanceConnection")]
    public class RB_Costtype_Extend : RB_Costtype
    {
        #region 扩展字段
        /// <summary>
        /// 是否是收支查询  1是
        /// </summary>
        public int? IsBalanceOfTheQuery { get; set; }
        /// <summary>
        /// 合并行
        /// </summary>
        public int? rowspan { get; set; }
        /// <summary>
        /// 费用类型ID
        /// </summary>
        public string CostIds { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public int? RB_BranchId { get; set; }
        /// <summary>
        /// 部门ID
        /// </summary>
        public string DepartIDs { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartNames { get; set; }
        /// <summary>
        /// 费用类型名称
        /// </summary>
        public string CName { get; set; }
        /// <summary>
        /// 适用公司
        /// </summary>
        public string BName { get; set; }
        /// <summary>
        /// 适用部门
        /// </summary>
        public string DeName { get; set; }
        /// <summary>
        /// 适用岗位
        /// </summary>
        public string PName { get; set; }
        /// <summary>
        /// 适用员工
        /// </summary>
        public string emName { get; set; }
        ///// <summary>
        ///// 部门关系
        ///// </summary>
        //public List<RB_Authority_Extend> list { get; set; }
        /// <summary>
        /// 子集列表
        /// </summary>
        public List<RB_Costtype_Extend> ChildList { get; set; }
        #endregion
    }
}
