using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Gremlin.GremlinData.EntityClasses
{
    public class ProductLine : IMetadata
    {
        //primary key:
        //public uint ProductLineId { get; set; }
        [Key]
        public string ProductLineCode { get; set; }

        //navigation properties:
        public List<Product> Products { get; set; }

        //standard properties:
        //Ist das hier bei einer de-facto-Enumeration wirklich nötig?
        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 ProductLineDescription { get; set; }
    }
}
