a ver si no me olcideo de commitear otra vez
This commit is contained in:
+16
-24
@@ -1,35 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Entidades{
|
||||
namespace Entidades;
|
||||
|
||||
public class Inquilino
|
||||
public partial class Inquilino
|
||||
{
|
||||
public string Dni{ get; set; }
|
||||
public long Dni { get; set; }
|
||||
|
||||
public string Cuil{get; set;}
|
||||
public long Cuil { get; set; }
|
||||
|
||||
public string Nombre{get; set;}
|
||||
public string Nombre { get; set; } = null!;
|
||||
|
||||
public string Apellido {get; set;}
|
||||
public string Apellido { get; set; } = null!;
|
||||
|
||||
public string Email {
|
||||
get
|
||||
{
|
||||
return _email;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value.Contains("@"))
|
||||
{
|
||||
public string Email { get; set; } = null!;
|
||||
|
||||
_email =value;
|
||||
}
|
||||
}
|
||||
}
|
||||
public string Celular { get; set; } = null!;
|
||||
|
||||
public Int64 Celular{get; set;}
|
||||
public string Domicilio { get; set; } = null!;
|
||||
|
||||
public string Domicilio {get; set;}
|
||||
private string _email;
|
||||
}
|
||||
public byte[]? Contrasena { get; set; }
|
||||
|
||||
public virtual ICollection<Contrato> Contratos { get; set; } = new List<Contrato>();
|
||||
|
||||
public virtual ICollection<Grupo> Idgrupos { get; set; } = new List<Grupo>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user