using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System; namespace DTS.Common.Interface.Groups { /// /// Interface describing a Group in the Db /// public interface IGroupDbRecord { [Key] [Column("Id")] /// /// The id/key of the Group record in the db /// int Id { get; set; } [Column("SerialNumber")] string SerialNumber { get; set; } [Column("Picture")] string Picture { get; set; } [Column("DisplayName")] string DisplayName { get; set; } [Column("Description")] string Description { get; set; } [Column("Embedded")] bool Embedded { get; set; } [Column("LastModified")] DateTime LastModified { get; set; } [Column("LastModifiedBy")] string LastModifiedBy { get; set; } [Column("StaticGroupId")] int? StaticGroupId { get; set; } [Column("ExtraProperties")] string ExtraProperties { get; set; } } }