init
This commit is contained in:
46
Common/DTS.CommonCore/Interface/Groups/IGroupDbRecord.cs
Normal file
46
Common/DTS.CommonCore/Interface/Groups/IGroupDbRecord.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user