This commit is contained in:
RodoIsAlnum
2025-10-28 20:05:19 -06:00
parent aac701d2ce
commit fef5ca6aa6
22 changed files with 2868 additions and 334 deletions

View File

@@ -6,6 +6,7 @@ namespace BibliotecaAPI.Models
{
public class Prestamo
{
/*
[Key]
public int Id { get; set; }
@@ -19,6 +20,14 @@ namespace BibliotecaAPI.Models
public DateTime FechaPrestamo { get; set; } = DateTime.Now;
public DateTime? FechaDevolucion { get; set; }
public bool Devuelto { get; set; } = false;
public bool Devuelto { get; set; } = false;*/
public int IdPrestamo { get; set; }
public int IdUsuario { get; set; }
public int IdLibro { get; set; }
public DateTime FechaPrestamo { get; set; }
public bool Devuelto {get;set;}
public Usuario Usuario { get; set; }
public Libro Libro { get; set; }
}
}