Snootalogue/Models/Document.cs
2020-09-15 22:31:52 +10:00

21 lines
618 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Snootalogue.Models {
public class Document {
public int ID { get; set; }
public string Filename { get; set; }
public string Hash { get; set; }
public long Size { get; set; }
public string Title { get; set; }
public List<string> Authors { get; set; }
public string Category { get; set; }
[Display(Name = "Release Date")]
public DateTime DateAdded { get; set; }
public List<string> Tags { get; set; }
public Boolean Read { get; set; }
}
}