Path: redb/redb.Core/Models/Contracts/IRedbUser.cs Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Core/Models/Contracts/IRedbUser.cs ---- using System; namespace redb.Core.Models.Contracts { /// /// REDB user interface /// Represents system user with his basic properties /// public interface IRedbUser { /// /// Unique user identifier /// long Id { get; } /// /// User login (unique) /// string Login { get; } /// /// User name /// string Name { get; } /// /// User password (hashed) /// string Password { get; } /// /// Is user active /// bool Enabled { get; } /// /// User registration date /// DateTimeOffset DateRegister { get; } /// /// Dismissal date (if null - user is active) /// DateTimeOffset? DateDismiss { get; } /// /// User phone (optional) /// string? Phone { get; } /// /// User email (optional) /// string? Email { get; } /// /// Additional user key (optional) /// Can be used for external integrations or additional identification /// long? Key { get; } /// /// User integer code (optional) /// Can be used for categorization, access groups or external systems /// long? CodeInt { get; } /// /// User string code (optional) /// Can be used for department codes, branches or special labels /// string? CodeString { get; } /// /// User GUID code (optional) /// Can be used for unique identification in distributed systems /// Guid? CodeGuid { get; } /// /// User note or comment (optional) /// May contain additional information, instructions or notes /// string? Note { get; } /// /// User hash for data integrity check (optional) /// Generated automatically based on user basic properties /// Guid? Hash { get; } } }