using System;
using System.Collections.Generic;
using System.Text;
using Edu.Model.Entity.Finance;
using VT.FW.DB;

namespace Edu.Model.ViewModel.Finance
{
    /// <summary>
    /// 账户类型扩展实体
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "FinanceConnection")]
    public class RB_AccountType_Extend : RB_AccountType
    {
        /// <summary>
        /// 关联账户
        /// </summary>
        public int PeopleNum { get; set; }
        /// <summary>
        /// 账户分类
        /// </summary>
        public List<AccountType_Extend> accountType { get; set; }
        /// <summary>
        /// 是否开启适用范围false-不开启true-开启
        /// </summary>
        public bool Is_Open { get; set; }
        /// <summary>
        /// 适用范围ids
        /// </summary>
        public string RangeIds { get; set; }
    }

    /// <summary>
    /// 账户分类实体
    /// </summary>
    public class AccountType_Extend
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 账户信息列表
        /// </summary>
        public List<RB_BackAccount_Extend> List { get; set; }
    }
}
