using System.ComponentModel.DataAnnotations.Schema; using Marco.Pms.Model.Employees; using Marco.Pms.Model.Utilities; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; namespace Marco.Pms.Model.Directory { public class ContactNote : TenantRelation { public Guid Id { get; set; } public string Note { get; set; } = string.Empty; public Guid CreatedById { get; set; } [ValidateNever] [ForeignKey("CreatedById")] public Employee? Createdby { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public Guid ContactId { get; set; } [ValidateNever] [ForeignKey("ContactId")] public Contact? Contact { get; set; } public bool IsActive { get; set; } = true; } }