for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Giansalex
* Date: 30/07/2017
* Time: 15:10
*/
namespace Greenter\Model\Sale;
use Greenter\Xml\Validator\SalePerceptionValidator;
use Symfony\Component\Validator\Constraints as Assert;
* Class SalePerception
* @package Greenter\Model\Sale
class SalePerception
{
use SalePerceptionValidator;
* @Assert\NotBlank()
* @Assert\Length(min="2", max="2")
*
* @var string
private $codReg;
* @var float
private $mtoBase;
private $mto;
private $mtoTotal;
* @return string
public function getCodReg()
return $this->codReg;
}
* @param string $codReg
* @return SalePerception
public function setCodReg($codReg)
$this->codReg = $codReg;
return $this;
* @return float
public function getMtoBase()
return $this->mtoBase;
* @param float $mtoBase
public function setMtoBase($mtoBase)
$this->mtoBase = $mtoBase;
public function getMto()
return $this->mto;
* @param float $mto
public function setMto($mto)
$this->mto = $mto;
public function getMtoTotal()
return $this->mtoTotal;
* @param float $mtoTotal
public function setMtoTotal($mtoTotal)
$this->mtoTotal = $mtoTotal;