<?php
namespace App\Entity\System;
use Doctrine\ORM\Mapping as ORM;
/**
* @deprecated use constants or parameters instead
*
* @ORM\Entity(repositoryClass="App\Repository\System\ConfigurationRepository")
*
* @ORM\Table(name="ps_configuration",
* indexes={@ORM\Index(name="name", columns={"name"})}
* )
*/
class Configuration
{
public const WIRE_TRANSFER_DATA = '{"entidad":"Banco Santander","cuenta":"0049 4606 79 2616276072","iban":"ES35 0049 4606 7926 1627 6072","bic / swift":"BSCHESMMXXX"}';
/**
* @var int
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*
* @ORM\Column(type="integer", name="id_configuration", options={"unsigned": true})
*/
private $id;
/**
* @var string
*
* @ORM\Column(type="string", length=32)
*/
private $name;
/**
* @var string|null
*
* @ORM\Column(type="text", nullable=true)
*/
private $value;
/**
* @return int
*/
public function getId(): int
{
return $this->id;
}
/**
* @param int $id
*
* @return Configuration
*/
public function setId(int $id): Configuration
{
$this->id = $id;
return $this;
}
/**
* @return string
*/
public function getName(): string
{
return $this->name;
}
/**
* @param string $name
*
* @return Configuration
*/
public function setName(string $name): Configuration
{
$this->name = $name;
return $this;
}
/**
* @return string|null
*/
public function getValue(): ?string
{
return $this->value;
}
/**
* @param string|null $value
*
* @return Configuration
*/
public function setValue(?string $value): Configuration
{
$this->value = $value;
return $this;
}
}