using System;

namespace Gremlin.GremlinData.EntityClasses
{
    public class CustomDescription : IMetadata
    {
        //primary key:
        public uint CustomDescriptionId { get; set; }
        //use composite key PN + Opt instead?

        //foreign keys:
        public uint ProductId { get; set; }
        public uint AccountId { get; set; }

        //navigation properties:
        public Product Product { get; set; }
        public Account Supplier { get; set; }

        //standard properties:
        public DateTime DataCreationDate { get; set; }
        public DateTime DataModificationDate { get; set; }
        public DateTime DataValidFrom { get; set; }
        public DateTime DataValidUntil { get; set; }
        public string DataModificationByUser { get; set; }
        public uint DataVersionNumber { get; set; }
        public string DataVersionComment { get; set; }
        public string DataStatus { get; set; }

        //class properties:
        public string ProductNumber { get; set; }
        public string OptionNumber { get; set; }
        public string Heading { get; set; }
        public string DescriptionText { get; set; }
        public string CoverletterText { get; set; }
        public string Notes { get; set; }    //Hinweise, Tipps, Caveats, etc. für Konfiguration, Verwendung, Best Practice usw.
        
        //Agilent-Specific properties:
        //NONE


        //Constructors
        public CustomDescription()
        {
            //Product = new Product();
            //Supplier = new Account();
        }
    }
}
