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 ApplicationRoleIds { get; set; } = new List(); public List PermissionIds { get; set; } = new List(); public List ProjectIds { get; set; } = new List(); } }