using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; namespace Marco.Pms.Model.Entitlements { public class ActivityMaster { public int Id { get; set; } public string? ActivityName { get; set; } public string? UnitOfMeasurement { get; set; } [DisplayName("TenantId")] public int TenantId { get; set; } [ValidateNever] [ForeignKey(nameof(TenantId))] public Tenant? Tenant { get; set; } public bool IsActive { get; set; } = true; } }