Kavita/API/DTOs/Uploads/UploadFileDto.cs
Joe Milazzo 3d8aa2ad24
UX Overhaul Part 2 (#3112)
Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
2024-08-16 17:37:12 -07:00

19 lines
431 B
C#

namespace API.DTOs.Uploads;
public class UploadFileDto
{
/// <summary>
/// Id of the Entity
/// </summary>
public required int Id { get; set; }
/// <summary>
/// Base Url encoding of the file to upload from (can be null)
/// </summary>
public required string Url { get; set; }
/// <summary>
/// Lock the cover or not
/// </summary>
public bool LockCover { get; set; } = true;
}