From 473c10be80e66f5a2a37c2a7400ab8aa155df952 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Sat, 11 Nov 2023 22:30:28 +0330 Subject: [PATCH] Support for AmountContract --- .../Contracts/Common/AmountContract.cs | 19 +++++++++++++++++++ .../EasyMicroservices.Domain.csproj | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/CSharp/EasyMicroservices.Domain/Contracts/Common/AmountContract.cs diff --git a/src/CSharp/EasyMicroservices.Domain/Contracts/Common/AmountContract.cs b/src/CSharp/EasyMicroservices.Domain/Contracts/Common/AmountContract.cs new file mode 100644 index 0000000..c4e6bce --- /dev/null +++ b/src/CSharp/EasyMicroservices.Domain/Contracts/Common/AmountContract.cs @@ -0,0 +1,19 @@ +using EasyMicroservices.Domain.DataTypes; + +namespace EasyMicroservices.Domain.Contracts.Common +{ + /// + /// / + /// + public class AmountContract + { + /// + /// + /// + public decimal Value { get; set; } + /// + /// + /// + public CurrencyCodeType CurrencyCode { get; set; } + } +} diff --git a/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj b/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj index 9706455..0e87c71 100644 --- a/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj +++ b/src/CSharp/EasyMicroservices.Domain/EasyMicroservices.Domain.csproj @@ -5,7 +5,7 @@ AnyCPU;x64;x86 EasyMicroservices true - 0.0.0.1 + 0.0.0.2 Domain of programming. EasyMicroservices@gmail.com utility,utilities,domain,domains,models,schemas,contracts