using Marco.Pms.Model.Projects; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Marco.Pms.Model.Entitlements { public class FeaturePermission { public Guid Id { get; set; } // Unique identifier for the permission public Guid FeatureId { get; set; } // Foreign key to Feature [ForeignKey("FeatureId")] [ValidateNever] public Feature Feature { get; set; } public string Name { get; set; } // Feature name public string Description { get; set; } // Feature description public bool IsEnabled { get; set; } // Whether the feature is enabled for this role } }