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

namespace AuthorBuddy.Web.Data;

[Table("DocumentMeta")]
public class DocumentMetaEntity
{
    [Key]
    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    public int Id { get; set; }

    public int? ProjectId { get; set; }

    [Required]
    public string FilePath { get; set; } = string.Empty;

    public DateTime? LastModified { get; set; }

    public string? Hash { get; set; }

    public string? FileType { get; set; }
}
