añadido entidades
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user