Class PostService

java.lang.Object
com.needleandstitch.pavuk.model.PostService

@Entity public class PostService extends Object
An entity class for post service.

This class serves as a model for the post service table in the database.

Since:
15.12.2024
Version:
1.0.0
Author:
Needle & Stitch
  • Constructor Details

    • PostService

      public PostService()
      Default constructor.
    • PostService

      public PostService(String name)
  • Method Details

    • getId

      public Long getId()
      Gets the unique identifier for the post service.
      Returns:
      The post service ID
    • setId

      public void setId(Long id)
      Sets the unique identifier for the post service.
      Parameters:
      id - The post service ID
    • getName

      public String getName()
      Gets the name of the post service.
      Returns:
      The name of the post service
    • setName

      public void setName(String name)
      Sets the name of the post service.
      Parameters:
      name - The name of the post service