Spaces:
Sleeping
Sleeping
File size: 738 Bytes
87c9973 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | using System;
namespace LibraryManagement.Backend.Features.Borrowings
{
public class BorrowingDto
{
public int Id { get; set; }
public int UserId { get; set; }
public string UserEmail { get; set; } = string.Empty;
public int BookId { get; set; }
public string BookTitle { get; set; } = string.Empty;
public DateTime BorrowDate { get; set; }
public DateTime DueDate { get; set; }
public DateTime? ReturnDate { get; set; }
public string Status { get; set; } = string.Empty;
public decimal FineAmount { get; set; }
public bool IsFinePaid { get; set; }
}
public class BorrowRequest
{
public int BookId { get; set; }
}
}
|