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