Creado apartir del commit b888de6c92056de294456f581a56e25e734d4ab7 de develop
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user