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

namespace Gremlin.GremlinData.EntityClasses
{
    public class SubMarket : IMetadata
    {
        //primary key:
        //public uint SubMarketId { get; set; }
        [Key]
        public string SubMarketCode { get; set; }

        //navigation properties:
        public IList<Account> Accounts { get; set; }

        //class properties:
        public string SubMarketDescription { get; set; }

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