ContactCategory
Stored in the contactcategories collection. createdAt and updatedAt are maintained automatically.
Returned by GET /contact-category, POST /contact-category, GET /contact-category/:id, PUT /contact-category/:id.
| Field | Type | Notes |
|---|---|---|
name | string | |
description | string | |
company | ObjectId -> Company | |
createdBy | ObjectId -> Member | |
updatedBy | ObjectId -> Member | |
_id | ObjectId | default "6a95712f932657988a91c07f" |
createdAt | date | set once |
updatedAt | date |