Class RedbRole

Assembly: redb.Core.dll

REDB role entity with direct data storage.
Maps to _roles table in PostgreSQL.

public class RedbRole : IRedbRole

Inheritance

ObjectRedbRole

Implements

Properties

Id

Unique role identifier.

[JsonPropertyName("id")]
public long Id { get; set; }

IdConfiguration

Configuration object ID (optional).

[JsonPropertyName("id_configuration")]
public long? IdConfiguration { get; set; }

Name

Role name.

[JsonPropertyName("name")]
public string Name { get; set; }

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Constructors

RedbRole()

Default constructor for deserialization and mapping.

RedbRole(string)

Constructor with name.