using System.ComponentModel.DataAnnotations.Schema; namespace Data.SeaHavenIndustries { public class Addresses : FullAuditEntity { public string? AddressType { get; set; } // Billing / Shipping / Other public string? Address1 { get; set; } public string? Address2 { get; set; } public string? City { get; set; } public string? State { get; set; } public string? Zip { get; set; } public string? Country { get; set; } public string? County { get; set; } // Foreign Keys public int? AccountId { get; set; } public int? ContactId { get; set; } [ForeignKey(nameof(AccountId))] public virtual Accounts? Account { get; set; } [ForeignKey(nameof(ContactId))] public virtual Contacts? Contact { get; set; } } }