<?php

namespace App\Models\Entity;

/**
 * @Entity @Table(name="stock")
 * */
class StockDbNew implements \JsonSerializable {

    /**
     * @Id @Column(type="integer")
     * @GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @Column(length=200)
     */
    private $productIdVtex;

    /**
     * @Column(length=200)
     */
    private $skuVtex;

    /**
     * @Column(length=200)
     */
    private $nameProduct;

    /**
     * @Column(length=200)
     */
    private $sizeProduct;

    /**
     * @Column(length=200)
     */
    private $skuBhan;

    /**
     * @Column(length=200)
     */
    private $codGroup;

    /**
     * @Column(length=200)
     */
    private $ean;

    /**
     * @Column(length=200)
     */
    private $imgProduct;

    /**
     * @Column(length=200)
     */
    private $total;

    function getId() {
        return $this->id;
    }

    function setId($id) {
        $this->id = $id;
        return $this;
    }

    function getProductIdVtex() {
        return $this->productIdVtex;
    }

    function setProductIdVtex($productIdVtex) {
        $this->productIdVtex = $productIdVtex;
        return $this;
    }

    function getSkuVtex() {
        return $this->skuVtex;
    }

    function setSkuVtex($skuVtex) {
        $this->skuVtex = $skuVtex;
        return $this;
    }

    function getNameProduct() {
        return $this->nameProduct;
    }

    function setNameProduct($nameProduct) {
        $this->nameProduct = $nameProduct;
        return $this;
    }

    function getSizeProduct() {
        return $this->sizeProduct;
    }

    function setSizeProduct($sizeProduct) {
        $this->sizeProduct = $sizeProduct;
        return $this;
    }

    function getSkuBhan() {
        return $this->skuBhan;
    }

    function setSkuBhan($skuBhan) {
        $this->skuBhan = $skuBhan;
        return $this;
    }

    function getCodGroup() {
        return $this->codGroup;
    }

    function setCodGroup($codGroup) {
        $this->codGroup = $codGroup;
        return $this;
    }

    function getEan() {
        return $this->ean;
    }

    function setEan($ean) {
        $this->ean = $ean;
        return $this;
    }

    function getImgProduct() {
        return $this->imgProduct;
    }

    function setImgProduct($imgProduct) {
        $this->imgProduct = $imgProduct;
        return $this;
    }

    function getTotal() {
        return $this->total;
    }

    function setTotal($total) {
        $this->total = $total;
        return $this;
    }

    public function jsonSerialize() {
        return get_object_vars($this);
    }

}
