28 lines
659 B
C#
28 lines
659 B
C#
using System.ComponentModel;
|
|
|
|
namespace Entidades
|
|
{
|
|
public class Cliente
|
|
{
|
|
public Int64 Cuit { get; set; }
|
|
public string Nombre { get; set; }
|
|
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;
|
|
}
|
|
}
|
|
}
|