añadido entidades

This commit is contained in:
2024-08-30 03:21:03 -03:00
parent 2ce2a3ce01
commit 30db290c5f
3 changed files with 46 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
using System.ComponentModel.DataAnnotations;
namespace Entidades{
public class Inquilino
{
public string Dni{ get; set; }
public string Cuil{get; set;}
public string Nombre{get; set;}
public string Apellido {get; set;}
public string Email {
get
{
return _email;
}
set
{
if (value.Contains("@"))
{
_email =value;
}
}
}
public Int64 Celular{get; set;}
public string Domicilio {get; set;}
private string _email;
}
}