summaryrefslogtreecommitdiff
path: root/Gestor.Model/Model.Common/Sexo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Gestor.Model/Model.Common/Sexo.cs')
-rw-r--r--Gestor.Model/Model.Common/Sexo.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/Gestor.Model/Model.Common/Sexo.cs b/Gestor.Model/Model.Common/Sexo.cs
new file mode 100644
index 0000000..db9da64
--- /dev/null
+++ b/Gestor.Model/Model.Common/Sexo.cs
@@ -0,0 +1,20 @@
+using Gestor.Model.Attributes;
+using Gestor.Model.Converter;
+using System;
+using System.ComponentModel;
+
+namespace Gestor.Model.Common
+{
+ [TypeConverter(typeof(EnumDescriptionTypeConverter))]
+ public enum Sexo
+ {
+ [Description("MASCULINO")]
+ [OldValue2("1")]
+ [OldValue("0")]
+ Masculino,
+ [Description("FEMININO")]
+ [OldValue2("2")]
+ [OldValue("1")]
+ Feminino
+ }
+} \ No newline at end of file