26 lines
733 B
C#
26 lines
733 B
C#
using Marco.Pms.Model.Entitlements;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Marco.Pms.Model.ViewModels
|
|
{
|
|
public class FeaturePermissionVM
|
|
{
|
|
public Guid Id { get; set; } // Unique identifier for the permission
|
|
|
|
|
|
public Guid FeatureId { get; set; } // Foreign key to Feature
|
|
|
|
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
|
|
|
|
}
|
|
}
|