2019-12-26 17:47:33 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace RetailCrm\DeliveryModuleBundle\Model;
|
|
|
|
|
|
|
|
use JMS\Serializer\Annotation as Serializer;
|
|
|
|
|
|
|
|
class Plate
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Код печатной формы
|
2020-08-18 17:39:55 +03:00
|
|
|
*
|
2019-12-26 17:47:33 +03:00
|
|
|
* @var string
|
|
|
|
*
|
|
|
|
* @Serializer\Groups({"get", "set"})
|
|
|
|
* @Serializer\SerializedName("code")
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
*/
|
|
|
|
public $code;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Наименование печатной формы
|
2020-08-18 17:39:55 +03:00
|
|
|
*
|
2019-12-26 17:47:33 +03:00
|
|
|
* @var string
|
|
|
|
*
|
|
|
|
* @Serializer\Groups({"get", "set"})
|
|
|
|
* @Serializer\SerializedName("label")
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
*/
|
|
|
|
public $label;
|
|
|
|
|
|
|
|
public function __construct($code, $label)
|
|
|
|
{
|
|
|
|
$this->code = $code;
|
|
|
|
$this->label = $label;
|
|
|
|
}
|
|
|
|
}
|