using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using System.ComponentModel.DataAnnotations.Schema; namespace Marco.Pms.Model.Entitlements { public class Feature { public Guid Id { get; set; } // Unique identifier for the feature public int ModuleId { get; set; } [ValidateNever] [ForeignKey(nameof(ModuleId))] public Module Module { get; set; } public string Name { get; set; } // Feature name public string Description { get; set; } // Feature description public bool IsActive { get; set; } public ICollection FeaturePermissions { get; set; } // Features assigned to this role } }