SudoSOS Back-end API / catalogue/products / Product
Class: Product ​
Extends ​
Constructors ​
Constructor ​
ts
new Product(): Product;Returns ​
Product
Inherited from ​
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
createdAt | readonly | Date | The creation date of the object. | BaseEntity.createdAt |
currentRevision | public | number | The current revision of the product. Can be null if no revision exists. | - |
deletedAt | readonly | Date | - | - |
id | readonly | number | - | BaseEntity.id |
image? | public | ProductImage | The image of the product. | - |
owner | public | User | - | - |
updatedAt | readonly | Date | The last update date of the object. | BaseEntity.updatedAt |
version | readonly | number | The current version of the object. | BaseEntity.version |