summaryrefslogtreecommitdiff
path: root/Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 17:17:46 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 17:17:46 +0000
commit0440c722a221b8068bbf388c1c0c51f0faff0451 (patch)
tree169cbf90c50ff7961db82ecb606c50c2a45a1688 /Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs
parent225aa1499e37faf9d38257caabbadc68d78b427e (diff)
downloadgestor-0440c722a221b8068bbf388c1c0c51f0faff0451.tar.gz
gestor-0440c722a221b8068bbf388c1c0c51f0faff0451.zip
some dllsHEADmaster
Diffstat (limited to 'Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs')
-rw-r--r--Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs b/Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs
new file mode 100644
index 0000000..77498fd
--- /dev/null
+++ b/Gestor.Model/Gestor.Model.Attributes/WidthAttribute.cs
@@ -0,0 +1,28 @@
+using System;
+
+namespace Gestor.Model.Attributes;
+
+[AttributeUsage(AttributeTargets.All)]
+public class WidthAttribute : Attribute
+{
+ public string Tipo { get; set; }
+
+ public virtual string Description => DescriptionValue;
+
+ protected string DescriptionValue
+ {
+ get
+ {
+ return Tipo;
+ }
+ set
+ {
+ Tipo = value;
+ }
+ }
+
+ public WidthAttribute(string tipo)
+ {
+ Tipo = tipo;
+ }
+}