cosas que faltaban

This commit is contained in:
2024-08-11 18:23:17 -03:00
parent 08cb7d769f
commit c6ed194e04
77 changed files with 2333 additions and 25531 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;
}
}
}
}