-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Ali-YousefiTelori/develop
Support for PriceType and AmountType
- Loading branch information
Showing
4 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
src/CSharp/EasyMicroservices.Domain/DataTypes/AmountType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
namespace EasyMicroservices.Domain.DataTypes | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public enum AmountType : byte | ||
{ | ||
/// <summary> | ||
/// value is none, Never use the None to return values | ||
/// </summary> | ||
None = 0, | ||
/// <summary> | ||
/// error value is default | ||
/// </summary> | ||
Default = 1, | ||
/// <summary> | ||
/// for the filter values from web admin panel you can sent all for types | ||
/// </summary> | ||
All = 2, | ||
/// <summary> | ||
/// there is other error that is not in the types | ||
/// </summary> | ||
Other = 3, | ||
/// <summary> | ||
/// the error type is uknown to us | ||
/// </summary> | ||
Unknown = 4, | ||
/// <summary> | ||
/// there is nothing to show or validate error | ||
/// </summary> | ||
Nothing = 5, | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
Decimal = 6, | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
Percent = 7 | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
src/CSharp/EasyMicroservices.Domain/DataTypes/PriceType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
namespace EasyMicroservices.Domain.DataTypes | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public enum PriceType : byte | ||
{ | ||
/// <summary> | ||
/// value is none, Never use the None to return values | ||
/// </summary> | ||
None = 0, | ||
/// <summary> | ||
/// error value is default | ||
/// </summary> | ||
Default = 1, | ||
/// <summary> | ||
/// for the filter values from web admin panel you can sent all for types | ||
/// </summary> | ||
All = 2, | ||
/// <summary> | ||
/// there is other error that is not in the types | ||
/// </summary> | ||
Other = 3, | ||
/// <summary> | ||
/// the error type is uknown to us | ||
/// </summary> | ||
Unknown = 4, | ||
/// <summary> | ||
/// there is nothing to show or validate error | ||
/// </summary> | ||
Nothing = 5, | ||
/// <summary> | ||
/// مالیات ارزش افزوده | ||
/// VAT | ||
/// </summary> | ||
ValueAddedTax = 6 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<Version>0.0.0.3</Version> | ||
<Version>0.0.0.4</Version> | ||
<Description>Domain of programming.</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>utility,utilities,domain,domains,models,schemas,contracts</PackageTags> | ||
|