using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace OpenArchival.DataAccess;

public class FilePathListing
{
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public int? ParentArtifactEntryId { get; set; } 

    public ArtifactEntry? ParentArtifactEntry { get; set; }

    public BlogPost? ParentBlogPost { get; set; }

    public int? ParentBlogPostId { get; set; }

    public required string OriginalName { get; set; }

    public required string Path { get; set; }
}
