using OASystem.Domain.Entities.Financial;
using OASystem.Domain.Entities.Groups;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Financial
{
///
/// 团组汇率 View
///
public class TeamRateView : Grp_TeamRate
{
}
///
/// 团组汇率info
///
public class TeamRateInfoView : Grp_TeamRate
{
///
/// 权限模块名称
///
public string? Name { get; set; }
}
#region 团组汇率 信息
public class TeamRateModelView
{
///
/// 汇率Id
///
public int Id { get; set; }
///
/// 汇率模块 Id
///
public int CTableId { get; set; }
///
/// 汇率模块
///
public string? CTableName { get; set; }
///
/// 汇率 List
///
public List? TeamRates { get; set; }
}
public class TeamRateDescView
{
///
/// 币种名称
///
public string? CurrencyName { get; set; }
///
/// 币种Code
///
public string? CurrencyCode { get; set; }
///
/// 汇率
/// 保存四位小数
///
public decimal Rate { get; set; }
}
public class CurrencyHot
{
///
/// 币种Id
///
public int CurrencyId { get; set; }
///
/// 币种名称
///
public string? CurrencyName { get; set; }
///
/// 币种Code
///
public string? CurrencyCode { get; set; }
public decimal Rate { get; set; } = 0.0000M;
///
/// 使用次数
///
public int Number { get; set; }
}
///
///
///
public class TeamRateDescAddCurrencyIdView: TeamRateDescView
{
///
/// 币种Id
///
public int CurrencyId { get; set; }
}
public class TeamRateModelGeneralView
{
///
/// 汇率Id
///
public int Id { get; set; }
///
/// 汇率模块 Id
///
public int CTableId { get; set; }
///
/// 汇率模块
///
public string? CTableName { get; set; }
///
/// 汇率 List
///
public List? TeamRates { get; set; }
}
#endregion
}