using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Data.SeaHavenIndustries { public class VendorCompany : FullAuditEntity { public string Name { get; set; } = string.Empty; public string NormalizedName { get; set; } = string.Empty; public string? CompanyPhone { get; set; } public string? Email { get; set; } public string? Address { get; set; } public string? City { get; set; } public string? State { get; set; } public string? Zip { get; set; } public string? GoogleMapsUrl { get; set; } public string? Notes { get; set; } // SH-278: optional dispatcher territory (0 or 1 per company), admin-assigned. public int? AreaId { get; set; } [ForeignKey(nameof(AreaId))] public Area? Area { get; set; } [Timestamp] public byte[]? RowVersion { get; set; } public ICollection? Vendors { get; set; } } }