<?php

namespace App\Models\Entity\Admin;

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

 class ClientSeller implements \JsonSerializable{

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

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

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

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

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

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

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

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

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

   function getWarehouseId(){
     return $this->warehouseId;
   }

   function getDockId(){
     return $this->dockId;
   }

   function getName(){
     return $this->name;
   }

   function getCnpj(){
     return $this->cnpj;
   }

   function getAccountNumber(){
     return $this->accountNumber;
   }

   function getBank(){
     return $this->bank;
   }

   function getAccountType(){
     return $this->accountType;
   }

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

   function setWarehouseId($warehouseId) {
       $this->warehouseId = $warehouseId;
       return $this;
   }

   function setDockId($dockId) {
       $this->dockId = $dockId;
       return $this;
   }

   function setName($name) {
       $this->name = $name;
       return $this;
   }

   function setCnpj($cnpj) {
       $this->cnpj = $cnpj;
       return $this;
   }

   function setAccountName($accountNumber) {
       $this->accountNumber = $accountNumber;
       return $this;
   }

   function setBank($bank) {
       $this->bank = $bank;
       return $this;
   }

   function setAccountType($accountType) {
       $this->accountType = $accountType;
       return $this;
   }

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