47 lines
1.1 KiB
C#
47 lines
1.1 KiB
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using System;
|
|||
|
|
|
|||
|
|
namespace DTS.Common.Interface.Groups
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Interface describing a Group in the Db
|
|||
|
|
/// </summary>
|
|||
|
|
public interface IGroupDbRecord
|
|||
|
|
{
|
|||
|
|
[Key]
|
|||
|
|
[Column("Id")]
|
|||
|
|
/// <summary>
|
|||
|
|
/// The id/key of the Group record in the db
|
|||
|
|
/// </summary>
|
|||
|
|
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; }
|
|||
|
|
}
|
|||
|
|
}
|