cosas que faltaban

This commit is contained in:
2024-08-03 21:09:08 +01:00
parent aa3a281092
commit c493033009
83 changed files with 2217 additions and 39603 deletions

View File

@@ -1,5 +1,4 @@

using System.ComponentModel;
using System.ComponentModel;
namespace Entidades
{
@@ -10,8 +9,19 @@ namespace Entidades
public string Apellido { get; set; }
public string Direccion { get; set; }
public string Correo { get; set; }
[Browsable(false)]
public bool Habilitado { get; set; }
public string NombreCompleto
{
get { return $"{Nombre} {Apellido}"; }
}
// Sobreescribir ToString() para mostrar el nombre completo
public override string ToString()
{
return NombreCompleto;
}
}
}
}