Files
adas-core/adas-core.Domain/Models/MongoModels/Authorizations.cs
T

25 lines
594 B
C#

using MongoDB.Bson;
namespace adas_core.Domain.Models.MongoModels;
public class Authorization
{
public ObjectId Id { get; set; }
public ObjectId UserId { get; set; }
public string? Rol { get; set; } = string.Empty;
public string? DisplayId { get; set; } = string.Empty;
public string? UnitId { get; set; } = null;
public bool PanelAuthorization { get; set; }
public bool CanUpdate { get; set; } = true;
#region NotMapped
public Unit? Unit { get; set; }
public Display? Display { get; set; }
public User? User { get; set; }
#endregion
}