<?php
namespace App\Entity;
use App\Repository\ParametreSocieteRepository;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass=ParametreSocieteRepository::class)
*/
class ParametreSociete
{
/**
* @ORM\Id
* @ORM\GeneratedValue
* @ORM\Column(type="integer")
*/
private $id;
/**
* @ORM\Column(type="string", length=255)
*/
private $lib_societe;
/**
* @ORM\Column(type="string", length=50)
*/
private $base;
/**
* @ORM\Column(type="string", length=5)
*/
private $prefix;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
private $logo_path;
/**
* @ORM\Column(type="boolean", options={"default" : 1})
*/
private $is_active;
/**
* @ORM\Column(type="datetime", options={"default": "CURRENT_TIMESTAMP"})
*/
private $date_crea;
/**
* @ORM\Column(type="integer")
*/
private $user_crea;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $date_modif;
/**
* @ORM\Column(type="integer", nullable=true)
*/
private $user_modif;
/**
* @ORM\Column(type="string", length=255)
*/
private $theme_color;
/**
* @ORM\Column(type="string", length=255)
*/
private $background_path;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $data;
public function getId(): ?int
{
return $this->id;
}
public function getLibSociete(): ?string
{
return $this->lib_societe;
}
public function setLibSociete(string $lib_societe): self
{
$this->lib_societe = $lib_societe;
return $this;
}
public function getBase(): ?string
{
return $this->base;
}
public function setBase(string $base): self
{
$this->base = $base;
return $this;
}
public function getPrefix(): ?string
{
return $this->prefix;
}
public function setPrefix(string $prefix): self
{
$this->prefix = $prefix;
return $this;
}
public function getLogoPath(): ?string
{
return $this->logo_path;
}
public function setLogoPath(?string $logo_path): self
{
$this->logo_path = $logo_path;
return $this;
}
public function getIsActive(): ?bool
{
return $this->is_active;
}
public function setIsActive(bool $is_active): self
{
$this->is_active = $is_active;
return $this;
}
public function getDateCrea(): ?\DateTimeInterface
{
return $this->date_crea;
}
public function setDateCrea(\DateTimeInterface $date_crea): self
{
$this->date_crea = $date_crea;
return $this;
}
public function getUserCrea(): ?int
{
return $this->user_crea;
}
public function setUserCrea(int $user_crea): self
{
$this->user_crea = $user_crea;
return $this;
}
public function getDateModif(): ?\DateTimeInterface
{
return $this->date_modif;
}
public function setDateModif(?\DateTimeInterface $date_modif): self
{
$this->date_modif = $date_modif;
return $this;
}
public function getUserModif(): ?int
{
return $this->user_modif;
}
public function setUserModif(?int $user_modif): self
{
$this->user_modif = $user_modif;
return $this;
}
public function getThemeColor(): ?string
{
return $this->theme_color;
}
public function setThemeColor(string $theme_color): self
{
$this->theme_color = $theme_color;
return $this;
}
public function getBackgroundPath(): ?string
{
return $this->background_path;
}
public function setBackgroundPath(string $background_path): self
{
$this->background_path = $background_path;
return $this;
}
public function getData(): ?string
{
return $this->data;
}
public function setData(?string $data): self
{
$this->data = $data;
return $this;
}
}