using System; namespace Oqtane.Models { /// /// Describes a Security Role in Oqtane. /// public class Role : IAuditable { /// /// Primary ID /// public int RoleId { get; set; } /// /// Reference to a if applicable. /// public int? SiteId { get; set; } /// /// Role name to show in Admin dialogs. /// public string Name { get; set; } /// /// Brief description for Admin dialogs. /// public string Description { get; set; } /// /// Determines if users automatically get assigned to this role. /// public bool IsAutoAssigned { get; set; } public bool IsSystem { get; set; } #region IAuditable Properties /// public string CreatedBy { get; set; } /// public DateTime CreatedOn { get; set; } /// public string ModifiedBy { get; set; } /// public DateTime ModifiedOn { get; set; } #endregion } }