Yuyuqt
feat: add user management, book management, categories management, membership management, and borrowing management
87c9973
Raw
History Blame
738 Bytes
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; }
}
}