Created
January 25, 2019 13:46
-
-
Save evgomes/6c95a16fc9a9d669b6686db730ddf02c to your computer and use it in GitHub Desktop.
EUnitOfMeasurement enum of Supermarket.API
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
using System.ComponentModel; | |
namespace Supermarket.API.Domain.Models | |
{ | |
public enum EUnitOfMeasurement : byte | |
{ | |
[Description("UN")] | |
Unity = 1, | |
[Description("MG")] | |
Milligram = 2, | |
[Description("G")] | |
Gram = 3, | |
[Description("KG")] | |
Kilogram = 4, | |
[Description("L")] | |
Liter = 5 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment