a ver si no me olcideo de commitear otra vez

This commit is contained in:
2024-09-03 23:47:16 -03:00
parent 5d3636ae22
commit b130f55933
25 changed files with 820 additions and 108 deletions
+16 -24
View File
@@ -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>();
}