AuthorBuddy/Data/DocumentMetaEntity.cs
2026-05-14 12:31:35 +02:00

23 lines
536 B
C#

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; }
}