Domain Model
Vendor Quote Line
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string.uuid | Yes | — | Id |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
| vendorQuoteId | string | Yes | — | ID of the associated vendor quote |
| lineType | enum(material, labor, recurring, subcontract, other) | Yes | — | Line type |
| productId | unknown | Yes | — | ID of the associated product |
| manufacturer | unknown | Yes | — | Manufacturer |
| sku | unknown | Yes | — | Sku |
| description | string | Yes | — | Description |
| quantity | number | Yes | — | Quantity |
| unitCost | unknown | Yes | — | Unit cost |
| lineTotal | unknown | Yes | — | Line total |
| sortOrder | integer | Yes | — | Sort order |
| workspaceId | string | Yes | — | ID of the associated workspace |
| visibilityMode | unknown | Yes | — | Visibility mode |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| vendorQuoteId | string | Yes | — | ID of the associated vendor quote |
| lineType | enum(material, labor, recurring, subcontract, other) | Yes | — | Line type |
| productId | unknown | No | — | ID of the associated product |
| manufacturer | unknown | No | — | Manufacturer |
| sku | unknown | No | — | Sku |
| description | string | Yes | — | Description |
| quantity | number | Yes | — | Quantity |
| unitCost | unknown | No | — | Unit cost |
| lineTotal | unknown | No | — | Line total |
| sortOrder | integer | Yes | 0 | Sort order |
| workspaceId | string | No | — | ID of the associated workspace |
| visibilityMode | unknown | No | — | Visibility mode |
Update Schema
All fields are optional when updating:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| lineType | enum(material, labor, recurring, subcontract, other) | No | — | Line type |
| productId | unknown | No | — | ID of the associated product |
| manufacturer | unknown | No | — | Manufacturer |
| sku | unknown | No | — | Sku |
| description | string | No | — | Description |
| quantity | number | No | — | Quantity |
| unitCost | unknown | No | — | Unit cost |
| lineTotal | unknown | No | — | Line total |
| sortOrder | integer | No | — | Sort order |