﻿namespace ODataSamples.DataModel
{
    using System.ComponentModel.DataAnnotations.Schema;

    public class Document
    {
        public Document()
        {
        }

        public Document(Document d)
        {
            ID = d.ID;
            Name = d.Name;
            Content = d.Content;
        }

        public int ID { get; set; }

        public string Name { get; set; }

        public string Content { get; set; }

        [NotMapped]
        public double Score { get; set; }
    }
}