mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 21:33:54 +00:00
* feat(vendors): add directory filters and details API * fix(vendors): preserve omitted status * fix(vendors): align facet filtering * fix(vendors): address directory review findings
24 lines
875 B
C#
24 lines
875 B
C#
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;
|
|
[NotMapped]
|
|
public int TotalJobs { get; set; }
|
|
public ICollection<Dispatch>? Dispatches { get; set; }
|
|
}
|
|
}
|