Like Model
The Like
class represents a like action on a post or comment. It captures essential information such as the unique identifier, creation and update timestamps, and the user who performed the like action. Below are the details of the Like
model:
Properties
Variable | Type | Description | Optional |
---|---|---|---|
id | String | The unique identifier of the like action. | |
createdAt | int | The timestamp indicating when the like was created. | |
updatedAt | int | The timestamp indicating when the like was last updated. | |
userId | String | The unique identifier of the user who performed the like action. |