Skip to main content

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

VariableTypeDescriptionOptional
idStringThe unique identifier of the like action.
createdAtintThe timestamp indicating when the like was created.
updatedAtintThe timestamp indicating when the like was last updated.
userIdStringThe unique identifier of the user who performed the like action.