using System.ComponentModel.DataAnnotations.Schema; namespace Data.SeaHavenIndustries { public class Vendor : FullAuditEntity { public string? CompanyName { get; set; } public string? ContactName { get; set; } public string? Email { get; set; } public string? Phone { get; set; } public string? CompanyPhone { get; set; } public string? Address { get; set; } public string? City { get; set; } public string? State { get; set; } public string? Zip { get; set; } public string? TradeSpecialties { get; set; } public string? GoogleMapsUrl { get; set; } public string? Notes { get; set; } public bool IsActive { get; set; } = true; public string? PreferredContact { get; set; } public string AvailabilityStatus { get; set; } = "Unknown"; public DateTime? AvailabilityUpdatedAt { get; set; } public int? CompanyId { get; set; } [ForeignKey(nameof(CompanyId))] public virtual VendorCompany? Company { get; set; } [NotMapped] public int TotalJobs { get; set; } public ICollection? Dispatches { get; set; } public ICollection? AuditLogs { get; set; } public ICollection? SitePreferences { get; set; } } }