mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
Seed an organization-wide Area catalogue (East, Central, West, California) with stable ids, add a nullable AreaId to VendorCompany, allow only Admins to change it through the roster endpoints, expose areas facet metadata and an areas[n] company-directory filter with the __unassigned__ sentinel.
15 lines
659 B
C#
15 lines
659 B
C#
namespace Data.SeaHavenIndustries
|
|
{
|
|
// SH-278: dispatcher territory catalogue for this Sea Haven deployment. Vendor
|
|
// companies carry zero or one Area by stable id; the display name is separate and
|
|
// may be renamed without changing assignments. Area is selected independently and
|
|
// is never derived from a company's State. Rows are organization-wide: vendor
|
|
// companies are not scoped to a customer Account.
|
|
public class Area
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; } = "";
|
|
public string NormalizedName { get; set; } = "";
|
|
public bool IsActive { get; set; } = true;
|
|
}
|
|
}
|