You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.4 KiB
C#

namespace Ds.WMS.Finance.MediatR.Command
{
/// <summary>
/// 根据ID查询汇率基本信息
/// </summary>
public class CostExchangeRateCommand : IRequest<CurrencyDto>
{
/// <summary>
/// 主键
/// </summary>
11 months ago
public long Id { get; set; }
}
/// <summary>
11 months ago
/// 根据ID删除或者禁用币别
/// </summary>
public class CostExchangeForDelCommand : IRequest<bool>
{
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
}
11 months ago
/// <summary>
/// 新增币别
11 months ago
/// </summary>
public class CostExchangeForAddCommand : IRequest<bool>
{
/// <summary>
/// 币别代码
/// </summary>
public string? CodeName { get; set; }
/// <summary>
/// 币别名称
/// </summary>
public string? Name { get; set; }
/// <summary>
/// 描述
/// </summary>
public string? Description { get; set; }
11 months ago
/// <summary>
/// 默认对人民币汇率,录入费用时如果汇率设置里没有设置汇率,提此处汇率
/// </summary>
public decimal? DefaultRate { get; set; } = Math.Round(1.123456789m, 8);
11 months ago
/// <summary>
/// 财务软件对应代码
/// </summary>
public string? FinanceSoftCodes { get; set; }
}
}