app.vendor_class_entitlements
TableRow level security on
What a vendor class may use on site, one row per module (Advance, Access, Credentials, Parking and so on): the org's editable copy of the Standard Library vendor entitlements, or its own.
Primary key: id
| Column | Type | Nullable | Description |
|---|---|---|---|
| id | uuid | No | Primary key, UUID v7. |
| org_id | uuid | No | Owning org, derived from app.vendor_classes on insert; never accepted from the caller and never changed.References app.organizations.id |
| vendor_class_id | uuid | No | Vendor class the entitlement belongs to.References app.vendor_classes.id |
| module | text | No | Module or on-site service the entitlement covers, such as Parking. |
| is_permitted | boolean | No | True when the class may use the module. |
| std_vendor_entitlement_id | text | Yes | Standard Library entitlement the row was copied from (xpms.std_vendor_entitlement); NULL for the org's own.References xpms.std_vendor_entitlement.record_id |
| deleted_at | timestamp with time zone | Yes | Soft delete time. A row with deleted_at set is ignored by every access helper. |
| created_at | timestamp with time zone | No | When the row was inserted. Set by the database. |
| created_by | uuid | Yes | Person who inserted the row, or null for a platform process. Set by the database.References app.people.id |
| updated_at | timestamp with time zone | No | When the row last changed. Set by the database. |
| updated_by | uuid | Yes | Person who last changed the row, or null for a platform process. Set by the database.References app.people.id |