package com.example.petstoremobile.dtos;

import java.math.BigDecimal;

public class ProductDTO {
    private Long prodId;
    private String prodName;
    private Long categoryId;
    private String categoryName;
    private String prodDesc;
    private BigDecimal prodPrice;
    private String createdAt;
    private String updatedAt;

    public ProductDTO() {
    }

    // Constructor for create/update
    public ProductDTO(String prodName, Long categoryId, String prodDesc, BigDecimal prodPrice) {
        this.prodName = prodName;
        this.categoryId = categoryId;
        this.prodDesc = prodDesc;
        this.prodPrice = prodPrice;
    }

    public Long getProdId() {
        return prodId;
    }

    public void setProdId(Long prodId) {
        this.prodId = prodId;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getProdDesc() {
        return prodDesc;
    }

    public void setProdDesc(String prodDesc) {
        this.prodDesc = prodDesc;
    }

    public BigDecimal getProdPrice() {
        return prodPrice;
    }

    public void setProdPrice(BigDecimal prodPrice) {
        this.prodPrice = prodPrice;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }
}