Class Prestamo

java.lang.Object
com.tfg.crud.GestorBiblioteca.entity.Prestamo

@Entity public class Prestamo extends Object
Representa el prestamo de un ejemplar a un usuario del sistema Almacena la información necesaria para procesar la lógica principal del negocio
Author:
Álvaro Allén alvaro.allper.1@educa.jcyl.es
  • Constructor Details

  • Method Details

    • getIdPrestamo

      public Long getIdPrestamo()
    • setIdPrestamo

      public void setIdPrestamo(Long idPrestamo)
    • getFechaInicio

      public LocalDate getFechaInicio()
    • setFechaInicio

      public void setFechaInicio(LocalDate fechaInicio)
    • getFechaFin

      public LocalDate getFechaFin()
    • setFechaFin

      public void setFechaFin(LocalDate fechaFin)
    • getFechaDevolucion

      public LocalDate getFechaDevolucion()
    • setFechaDevolucion

      public void setFechaDevolucion(LocalDate fechaDevolucion)
    • getUsuario

      public Usuario getUsuario()
    • setUsuario

      public void setUsuario(Usuario usuario)
    • getEjemplar

      public Ejemplar getEjemplar()
    • setEjemplar

      public void setEjemplar(Ejemplar ejemplar)
    • getEstadoPrestamo

      public EstadoPrestamo getEstadoPrestamo()
    • setEstadoPrestamo

      public void setEstadoPrestamo(EstadoPrestamo estadoPrestamo)
    • toString

      public String toString()
      Overrides:
      toString in class Object