<?php

namespace App\Models\Entity;

/**
 * @Entity @Table(name="stock")
 **/

class StockDb implements \JsonSerializable{
  /**
   * @Id @Column(type="integer")
   * @GeneratedValue(strategy="AUTO")
   */
  private $id;

  /**
   * @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 $quantityFabric;

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

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

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

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

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

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

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

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

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

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

  function getQuantityFabric(){
    return $this->quantityFabric;
  }

  function getQuantitySeller(){
    return $this->quantitySeller;
  }

  function getAcreSergio(){
    return $this->acreSergio;
  }

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

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

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

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

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

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

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

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

  function setQuantityFabric($quantityFabric) {
      $this->quantityFabric = $quantityFabric;
      return $this;
  }

  function setQuantitySeller($quantitySeller) {
      $this->quantitySeller = $quantitySeller;
      return $this;
  }

  function setAcreSergio($acreSergio) {
      $this->acreSergio = $acreSergio;
      return $this;
  }

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