using Marco.Pms.Model.Employees; using Marco.Pms.Model.Utilities; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; using System.ComponentModel.DataAnnotations.Schema; namespace Marco.Pms.Model.ServiceProject { public class JobComment : TenantRelation { public Guid Id { get; set; } public Guid JobTicketId { get; set; } [ValidateNever] [ForeignKey("JobTicketId")] public JobTicket? JobTicket { get; set; } public string Comment { get; set; } = string.Empty; public DateTime CreatedAt { get; set; } public Guid CreatedById { get; set; } [ValidateNever] [ForeignKey("CreatedById")] public Employee? CreatedBy { get; set; } } }