summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Model/Model.Attributes
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
commit1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch)
treee1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Codemerx/Gestor.Model/Model.Attributes
parent674ca83ba9243a9e95a7568c797668dab6aee26a (diff)
downloadgestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz
gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip
chore: location
Diffstat (limited to 'Codemerx/Gestor.Model/Model.Attributes')
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/EntityAttribute.cs40
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/ForceLogAttribute.cs39
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/HelpAttribute.cs40
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/LogAttribute.cs40
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/NameAttribute.cs40
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/OldValue2Attribute.cs20
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs20
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/TipoAttribute.cs40
-rw-r--r--Codemerx/Gestor.Model/Model.Attributes/WidthAttribute.cs40
9 files changed, 319 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Model/Model.Attributes/EntityAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/EntityAttribute.cs
new file mode 100644
index 0000000..46113ad
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/EntityAttribute.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class EntityAttribute : Attribute
+ {
+ public virtual string Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected string DescriptionValue
+ {
+ get
+ {
+ return this.Tipo;
+ }
+ set
+ {
+ this.Tipo = value;
+ }
+ }
+
+ public string Tipo
+ {
+ get;
+ set;
+ }
+
+ public EntityAttribute(string tipo)
+ {
+ this.Tipo = tipo;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/ForceLogAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/ForceLogAttribute.cs
new file mode 100644
index 0000000..a9b0f20
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/ForceLogAttribute.cs
@@ -0,0 +1,39 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ public class ForceLogAttribute : Attribute
+ {
+ public virtual bool Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected bool DescriptionValue
+ {
+ get
+ {
+ return this.Log;
+ }
+ set
+ {
+ this.Log = value;
+ }
+ }
+
+ public bool Log
+ {
+ get;
+ set;
+ }
+
+ public ForceLogAttribute(bool log = true)
+ {
+ this.Log = log;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/HelpAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/HelpAttribute.cs
new file mode 100644
index 0000000..54ed201
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/HelpAttribute.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class HelpAttribute : Attribute
+ {
+ public virtual string Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected string DescriptionValue
+ {
+ get
+ {
+ return this.Tipo;
+ }
+ set
+ {
+ this.Tipo = value;
+ }
+ }
+
+ public string Tipo
+ {
+ get;
+ set;
+ }
+
+ public HelpAttribute(string tipo)
+ {
+ this.Tipo = tipo;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/LogAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/LogAttribute.cs
new file mode 100644
index 0000000..ca9e763
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/LogAttribute.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class LogAttribute : Attribute
+ {
+ public virtual bool Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected bool DescriptionValue
+ {
+ get
+ {
+ return this.Log;
+ }
+ set
+ {
+ this.Log = value;
+ }
+ }
+
+ public bool Log
+ {
+ get;
+ set;
+ }
+
+ public LogAttribute(bool log = true)
+ {
+ this.Log = log;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/NameAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/NameAttribute.cs
new file mode 100644
index 0000000..fd04e69
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/NameAttribute.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class NameAttribute : Attribute
+ {
+ public virtual bool Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected bool DescriptionValue
+ {
+ get
+ {
+ return this.Log;
+ }
+ set
+ {
+ this.Log = value;
+ }
+ }
+
+ public bool Log
+ {
+ get;
+ set;
+ }
+
+ public NameAttribute(bool log = true)
+ {
+ this.Log = log;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/OldValue2Attribute.cs b/Codemerx/Gestor.Model/Model.Attributes/OldValue2Attribute.cs
new file mode 100644
index 0000000..83fb5cf
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/OldValue2Attribute.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.Field)]
+ public class OldValue2Attribute : Attribute
+ {
+ public string OldValue2
+ {
+ get;
+ private set;
+ }
+
+ public OldValue2Attribute(string oldValue)
+ {
+ this.OldValue2 = oldValue;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs
new file mode 100644
index 0000000..4f8c17c
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/OldValueAttribute.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.Field)]
+ public class OldValueAttribute : Attribute
+ {
+ public string OldValue
+ {
+ get;
+ private set;
+ }
+
+ public OldValueAttribute(string oldValue)
+ {
+ this.OldValue = oldValue;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/TipoAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/TipoAttribute.cs
new file mode 100644
index 0000000..f4590da
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/TipoAttribute.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class TipoAttribute : Attribute
+ {
+ public virtual string Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected string DescriptionValue
+ {
+ get
+ {
+ return this.Tipo;
+ }
+ set
+ {
+ this.Tipo = value;
+ }
+ }
+
+ public string Tipo
+ {
+ get;
+ set;
+ }
+
+ public TipoAttribute(string tipo)
+ {
+ this.Tipo = tipo;
+ }
+ }
+} \ No newline at end of file
diff --git a/Codemerx/Gestor.Model/Model.Attributes/WidthAttribute.cs b/Codemerx/Gestor.Model/Model.Attributes/WidthAttribute.cs
new file mode 100644
index 0000000..af31e8f
--- /dev/null
+++ b/Codemerx/Gestor.Model/Model.Attributes/WidthAttribute.cs
@@ -0,0 +1,40 @@
+using System;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Model.Attributes
+{
+ [AttributeUsage(AttributeTargets.All)]
+ public class WidthAttribute : Attribute
+ {
+ public virtual string Description
+ {
+ get
+ {
+ return this.DescriptionValue;
+ }
+ }
+
+ protected string DescriptionValue
+ {
+ get
+ {
+ return this.Tipo;
+ }
+ set
+ {
+ this.Tipo = value;
+ }
+ }
+
+ public string Tipo
+ {
+ get;
+ set;
+ }
+
+ public WidthAttribute(string tipo)
+ {
+ this.Tipo = tipo;
+ }
+ }
+} \ No newline at end of file