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_Currency_Extend : RB_Currency
    {
        /// <summary>
        /// 币种id
        /// </summary>
        public int? CurrencyId { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public string StartTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndTime { get; set; }
        /// <summary>
        /// 资金总额
        /// </summary>
        public decimal? SumMoney { get; set; }
        /// <summary>
        /// 上期损益金额
        /// </summary>
        public decimal? ProfitLossMoney { get; set; }
        /// <summary>
        /// 公司账户ID（跟Type对应）
        /// </summary>
        public int? BankID { get; set; }
        /// <summary>
        /// 账户别名
        /// </summary>
        public string Alias { get; set; }
        /// <summary>
        /// 账号
        /// </summary>
        public string backNo { get; set; }
        /// <summary>
        /// 公司账户分类
        /// </summary>
        public Common.Enum.Finance.BranchAccountEnum Type { get; set; }
        /// <summary>
        /// 账户初始余额
        /// </summary>
        public decimal? Initialbalance { get; set; }
        /// <summary>
        /// 转换为本位币金额
        /// </summary>
        public decimal? Balance { get; set; }
        /// <summary>
        /// 历史卖出价
        /// </summary>
        public decimal? CurrentRateHistory { get; set; }
        /// <summary>
        /// 历史买入价
        /// </summary>
        public decimal? OutCashRateHistory { get; set; }
    }
}
