using Marco.Pms.Model.Entitlements;
using Marco.Pms.Model.Master;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using System.ComponentModel.DataAnnotations.Schema;

namespace Marco.Pms.Model.Expenses.Masters
{
    public class StatusPermissionMapping
    {
        public Guid Id { get; set; }
        public Guid StatusId { get; set; }

        [ValidateNever]
        [ForeignKey("StatusId")]
        public ExpensesStatusMaster? Status { get; set; }
        public Guid PermissionId { get; set; }

        [ValidateNever]
        [ForeignKey("PermissionId")]
        public FeaturePermission? Permission { get; set; }
    }
}
