From 0440c722a221b8068bbf388c1c0c51f0faff0451 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 14:17:46 -0300 Subject: some dlls --- .../Gestor.Model.Attributes/EntityAttribute.cs | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Gestor.Model/Gestor.Model.Attributes/EntityAttribute.cs (limited to 'Gestor.Model/Gestor.Model.Attributes/EntityAttribute.cs') diff --git a/Gestor.Model/Gestor.Model.Attributes/EntityAttribute.cs b/Gestor.Model/Gestor.Model.Attributes/EntityAttribute.cs new file mode 100644 index 0000000..c8f00f3 --- /dev/null +++ b/Gestor.Model/Gestor.Model.Attributes/EntityAttribute.cs @@ -0,0 +1,28 @@ +using System; + +namespace Gestor.Model.Attributes; + +[AttributeUsage(AttributeTargets.All)] +public class EntityAttribute : Attribute +{ + public string Tipo { get; set; } + + public virtual string Description => DescriptionValue; + + protected string DescriptionValue + { + get + { + return Tipo; + } + set + { + Tipo = value; + } + } + + public EntityAttribute(string tipo) + { + Tipo = tipo; + } +} -- cgit v1.2.3