Class Category
java.lang.Object
com.needleandstitch.pavuk.model.Category
An entity class for clothing item category.
This class serves as a model for the category table in the database.
- Since:
- 15.12.2024
- Version:
- 1.0.0
- Author:
- Needle & Stitch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Category
public Category()Default constructor. -
Category
Constructor for creating a category with a name.- Parameters:
name
- The name of the category
-
-
Method Details
-
getId
-
setId
Sets the unique identifier for the category.- Parameters:
id
- The category ID to set
-
getName
-
setName
Sets the name of the category.- Parameters:
name
- The category name to set
-