Class Module
- Namespace
- KadicAuth.Domain.Entities
- Assembly
- KadicAuth.Domain.dll
- Inheritance
-
object
Module
Constructors
Module(Guid, string, string, string?)
public Module(Guid id, string name, string moduleKey, string? description = null)
Parameters
id Guid
name string
moduleKey string
description string
Properties
CanBeAssignedManually
public bool CanBeAssignedManually { get; }
Property Value
- bool
CreatedAt
public DateTime CreatedAt { get; }
Property Value
- DateTime
Description
public string? Description { get; }
Property Value
- string
Id
Property Value
- Guid
IsActive
public bool IsActive { get; }
Property Value
- bool
IsCommercial
public bool IsCommercial { get; }
Property Value
- bool
IsSystem
public bool IsSystem { get; }
Property Value
- bool
IsVisible
public bool IsVisible { get; }
Property Value
- bool
ModuleKey
public string ModuleKey { get; }
Property Value
- string
Name
public string Name { get; }
Property Value
- string
SubModules
public ICollection<SubModule> SubModules { get; set; }
Property Value
- ICollection<SubModule>
UpdatedAt
public DateTime? UpdatedAt { get; }
Property Value
- DateTime?
Methods
Activate()
Deactivate()
SetAsSystemModule()
public void SetAsSystemModule()
Update(string, string?)
public void Update(string name, string? description)
Parameters
name string
description string