The category object
Category
Parameter | Data type | Default | Description |
---|---|---|---|
id | int | The ID of the category | |
name | string | The name of the category | |
parent | int | NULL | If NULL the category is a top category, if not NULL then the category is a sub category of the category with ID=parent |
created_at | datetime | ||
updated_at | datetime |