using Marco.Pms.Model.Utilities;

namespace Marco.Pms.Model.Dtos.DocumentManager
{
    public class DocumentAttachmentDto
    {
        public required string Name { get; set; }
        public string? DocumentId { get; set; }
        public required string Description { get; set; }
        public required Guid EntityId { get; set; }
        public required Guid DocumentTypeId { get; set; }  // References the type of the document
        public required FileUploadModel Attachment { get; set; }
        public List<DocumentTagDto>? Tags { get; set; }
    }

    public class UpdateDocumentAttachmentDto
    {
        public required Guid Id { get; set; }
        public required string Name { get; set; }
        public string? DocumentId { get; set; }
        public required string Description { get; set; }
        public FileUploadModel? Attachment { get; set; }
        public List<DocumentTagDto>? Tags { get; set; }
    }
}

