2019-12-26 17:47:33 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace RetailCrm\DeliveryModuleBundle\Model;
|
|
|
|
|
2021-05-18 09:23:45 +03:00
|
|
|
use JMS\Serializer\Annotation as Serializer;
|
|
|
|
|
2019-12-26 17:47:33 +03:00
|
|
|
class Unit
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*
|
|
|
|
* @Serializer\Groups({"get", "set"})
|
|
|
|
* @Serializer\SerializedName("code")
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
*/
|
|
|
|
public $code;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*
|
|
|
|
* @Serializer\Groups({"get", "set"})
|
|
|
|
* @Serializer\SerializedName("name")
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
*/
|
|
|
|
public $name;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*
|
|
|
|
* @Serializer\Groups({"get", "set"})
|
|
|
|
* @Serializer\SerializedName("sym")
|
|
|
|
* @Serializer\Type("string")
|
|
|
|
*/
|
|
|
|
public $sym;
|
|
|
|
}
|