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