diff options
Diffstat (limited to 'Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs')
| -rw-r--r-- | Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs b/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs new file mode 100644 index 0000000..e72f517 --- /dev/null +++ b/Gestor.Common/Gestor.Common.Helpers/OrderAttribute.cs @@ -0,0 +1,14 @@ +using System; + +namespace Gestor.Common.Helpers; + +[AttributeUsage(AttributeTargets.All)] +public class OrderAttribute : Attribute +{ + public int OrderProperty { get; private set; } + + public OrderAttribute(int orderProperty) + { + OrderProperty = orderProperty; + } +} |