<?php
namespace App\Entity;
use App\Repository\ProductRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ProductRepository::class)
*/
class Product
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $title;
/**
* @ORM\Column(type="string", length=255)
*/
private $path;
/**
* @ORM\Column(type="text")
*/
private $description;
/**
* @ORM\Column(type="text")
*/
private $styledescription;
/**
* @ORM\Column(type="integer")
*/
private $brand;
/**
* @ORM\Column(type="integer")
*/
private $globalcategory;
/**
* @ORM\Column(type="integer")
*/
private $productcategory;
/**
* @ORM\Column(type="integer")
*/
private $style;
/**
* @ORM\Column(type="string", length=255)
*/
private $type;
/**
* @ORM\Column(type="integer")
*/
private $quantity;
/**
* @ORM\Column(type="integer")
*/
private $productcount;
/**
* @ORM\Column(type="float")
*/
private $price;
/**
* @ORM\Column(type="float")
*/
private $tax;
/**
* @ORM\Column(type="float")
*/
private $discount;
/**
* @ORM\Column(type="float")
*/
private $total;
/**
* @ORM\Column(type="datetime")
*/
private $created;
/**
* @ORM\Column(type="datetime")
*/
private $updated;
/**
* @ORM\Column(type="integer")
*/
private $createdBy;
/**
* @ORM\Column(type="datetime")
*/
private $access;
/**
* @ORM\Column(type="integer")
*/
private $totalcount;
/**
* @ORM\Column(type="string", length=255)
*/
private $stage;
/**
* @ORM\Column(type="boolean")
*/
private $status;
public function getId(): ?int
{
return $this->id;
}
public function getTitle(): ?string
{
return $this->title;
}
public function setTitle(string $title): self
{
$this->title = $title;
return $this;
}
public function getPath(): ?string
{
return $this->path;
}
public function setPath(string $path): self
{
$this->path = $path;
return $this;
}
public function getDescription(): ?string
{
return $this->description;
}
public function setDescription(string $description): self
{
$this->description = $description;
return $this;
}
public function getStyledescription(): ?string
{
return $this->styledescription;
}
public function setStyledescription(string $styledescription): self
{
$this->styledescription = $styledescription;
return $this;
}
public function getBrand(): ?int
{
return $this->brand;
}
public function setBrand(int $brand): self
{
$this->brand = $brand;
return $this;
}
public function getGlobalcategory(): ?int
{
return $this->globalcategory;
}
public function setGlobalcategory(int $globalcategory): self
{
$this->globalcategory = $globalcategory;
return $this;
}
public function getProductcategory(): ?int
{
return $this->productcategory;
}
public function setProductcategory(int $productcategory): self
{
$this->productcategory = $productcategory;
return $this;
}
public function getStyle(): ?int
{
return $this->style;
}
public function setStyle(int $style): self
{
$this->style = $style;
return $this;
}
public function getType(): ?string
{
return $this->type;
}
public function setType(string $type): self
{
$this->type = $type;
return $this;
}
public function getQuantity(): ?int
{
return $this->quantity;
}
public function setQuantity(int $quantity): self
{
$this->quantity = $quantity;
return $this;
}
public function getProductcount(): ?int
{
return $this->productcount;
}
public function setProductcount(int $productcount): self
{
$this->productcount = $productcount;
return $this;
}
public function getPrice(): ?float
{
return $this->price;
}
public function setPrice(float $price): self
{
$this->price = $price;
return $this;
}
public function getTax(): ?float
{
return $this->tax;
}
public function setTax(float $tax): self
{
$this->tax = $tax;
return $this;
}
public function getDiscount(): ?float
{
return $this->discount;
}
public function setDiscount(float $discount): self
{
$this->discount = $discount;
return $this;
}
public function getTotal(): ?float
{
return $this->total;
}
public function setTotal(float $total): self
{
$this->total = $total;
return $this;
}
public function getCreated(): ?\DateTimeInterface
{
return $this->created;
}
public function setCreated(\DateTimeInterface $created): self
{
$this->created = $created;
return $this;
}
public function getUpdated(): ?\DateTimeInterface
{
return $this->updated;
}
public function setUpdated(\DateTimeInterface $updated): self
{
$this->updated = $updated;
return $this;
}
public function getCreatedBy(): ?int
{
return $this->createdBy;
}
public function setCreatedBy(int $createdBy): self
{
$this->createdBy = $createdBy;
return $this;
}
public function getAccess(): ?\DateTimeInterface
{
return $this->access;
}
public function setAccess(\DateTimeInterface $access): self
{
$this->access = $access;
return $this;
}
public function getTotalcount(): ?int
{
return $this->totalcount;
}
public function setTotalcount(int $totalcount): self
{
$this->totalcount = $totalcount;
return $this;
}
public function getStage(): ?string
{
return $this->stage;
}
public function setStage(string $stage): self
{
$this->stage = $stage;
return $this;
}
public function getStatus(): ?bool
{
return $this->status;
}
public function setStatus(bool $status): self
{
$this->status = $status;
return $this;
}
}