29 lines
571 B
PHP
29 lines
571 B
PHP
<?php
|
|
namespace Contabilidad\Model\Tipo;
|
|
|
|
use ProVM\Alias\Model;
|
|
|
|
class Transaccion extends Model
|
|
{
|
|
protected string $nombre;
|
|
public function setNombre(string $nombre): Transaccion
|
|
{
|
|
$this->nombre = $nombre;
|
|
return $this;
|
|
}
|
|
public function getNombre(): string
|
|
{
|
|
return $this->nombre;
|
|
}
|
|
protected string $color;
|
|
public function setColor(string $color): Transaccion
|
|
{
|
|
$this->color = $color;
|
|
return $this;
|
|
}
|
|
public function getColor(): string
|
|
{
|
|
return $this->color;
|
|
}
|
|
}
|