<?php
namespace App\Entity;
use App\Repository\ProductVariationRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ProductVariationRepository::class)
*/
class ProductVariation
{
/**
* @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 $sku;
/**
* @ORM\Column(type="integer")
*/
private $color;
/**
* @ORM\Column(type="integer")
*/
private $size;
/**
* @ORM\Column(type="float")
*/
private $actualPrice;
/**
* @ORM\Column(type="float")
*/
private $price;
/**
* @ORM\Column(type="float")
*/
private $tax;
/**
* @ORM\Column(type="float")
*/
private $total;
/**
* @ORM\Column(type="datetime")
*/
private $created;
/**
* @ORM\Column(type="datetime")
*/
private $updated;
/**
* @ORM\Column(type="integer")
*/
private $productId;
/**
* @ORM\Column(type="integer")
*/
private $createdBy;
/**
* @ORM\Column(type="datetime")
*/
private $access;
/**
* @ORM\Column(type="integer")
*/
private $totalcount;
/**
* @ORM\Column(type="integer")
*/
private $stock;
/**
* @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 getSku(): ?string
{
return $this->sku;
}
public function setSku(string $sku): self
{
$this->sku = $sku;
return $this;
}
public function getColor(): ?int
{
return $this->color;
}
public function setColor(int $color): self
{
$this->color = $color;
return $this;
}
public function getSize(): ?int
{
return $this->size;
}
public function setSize(int $size): self
{
$this->size = $size;
return $this;
}
public function getActualPrice(): ?float
{
return $this->actualPrice;
}
public function setActualPrice(float $actualPrice): self
{
$this->actualPrice = $actualPrice;
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 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 getProductId(): ?int
{
return $this->productId;
}
public function setProductId(int $productId): self
{
$this->productId = $productId;
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 getStock(): ?int
{
return $this->stock;
}
public function setStock(int $stock): self
{
$this->stock = $stock;
return $this;
}
public function getStatus(): ?bool
{
return $this->status;
}
public function setStatus(bool $status): self
{
$this->status = $status;
return $this;
}
}