14 lines
485 B
C#
14 lines
485 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Marco.Pms.Model.MongoDBModels
|
|
{
|
|
[BsonIgnoreExtraElements]
|
|
public class EmployeePermissionMongoDB
|
|
{
|
|
public string Id { get; set; } = string.Empty; // Employee ID
|
|
public List<string> ApplicationRoleIds { get; set; } = new List<string>();
|
|
public List<string> PermissionIds { get; set; } = new List<string>();
|
|
public List<string> ProjectIds { get; set; } = new List<string>();
|
|
}
|
|
}
|