using System; using System.ComponentModel.DataAnnotations.Schema; namespace Data.SeaHavenIndustries { public class FollowUps : FullAuditEntity { public string Reason { get; set; } = null!; public DateTime ScheduleDate { get; set; } public TimeSpan ScheduleStartTime { get; set; } public string Status { get; set; } = "Open"; // Open | Completed | Cancelled public int? EmployeeId { get; set; } public int? WorkOrderId { get; set; } public int? AccountId { get; set; } public int? LocationId { get; set; } [ForeignKey(nameof(EmployeeId))] public Employee? Employee { get; set; } [ForeignKey(nameof(WorkOrderId))] public WorkOrder? WorkOrder { get; set; } [ForeignKey(nameof(AccountId))] public Accounts? Account { get; set; } [ForeignKey(nameof(LocationId))] public Locations? Location { get; set; } } }