Files
2026-04-22 15:07:54 +01:00

9 lines
212 B
C#

namespace CsharpFp2.Domain;
public sealed record Money(decimal Amount)
{
public Money Add(Money other) => new(Amount + other.Amount);
public Money Subtract(Money other) => new(Amount - other.Amount);
}