Package com.mt.ecommerce.product.entity
Class Product
java.lang.Object
com.mt.ecommerce.product.entity.Product
Entity class representing a Product in the e-commerce system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
getPrice()
getSku()
getSlug()
int
boolean
isActive()
void
setActive
(boolean active) void
setCategoryId
(UUID categoryId) void
setCreatedAt
(LocalDateTime createdAt) void
setDescription
(String description) void
void
setImageProducts
(List<ImageProduct> imageProducts) void
setModifiedAt
(LocalDateTime modifiedAt) void
setModifiedBy
(String modifiedBy) void
void
void
void
void
setStockQuantity
(int stockQuantity) void
setVendorID
(UUID vendorID)
-
Constructor Details
-
Product
public Product()
-
-
Method Details
-
getModifiedBy
-
setModifiedBy
-
getId
-
setId
-
getVendorID
-
setVendorID
-
getCategoryId
-
setCategoryId
-
getName
-
setName
-
getSlug
-
setSlug
-
getDescription
-
setDescription
-
getSku
-
setSku
-
getPrice
-
setPrice
-
getImageProducts
-
setImageProducts
-
getStockQuantity
public int getStockQuantity() -
setStockQuantity
public void setStockQuantity(int stockQuantity) -
isActive
public boolean isActive() -
setActive
public void setActive(boolean active) -
getCreatedAt
-
setCreatedAt
-
getModifiedAt
-
setModifiedAt
-