package com.petshop.backend.dto.cart;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

public class AddToCartRequest {

    @NotNull
    private Long prodId;

    @NotNull
    private Long storeId;

    @NotNull
    @Min(1)
    private Integer quantity;

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

    public Long getStoreId() { 

        return storeId; 
    }

    public void setStoreId(Long storeId) {
        this.storeId = storeId;
    }

    public Integer getQuantity() {
        
        return quantity;
    }
    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }
}
