proto.api.CityPackageCarModelEnt
*/
class CityPackageCarModelEnt extends \Google\Protobuf\Internal\Message
{
/**
* 车型信息
*
* Generated from protobuf field .proto.api.CarModelEnt car_model_info = 1;
*/
protected $car_model_info = null;
/**
* 所属门店信息
*
* Generated from protobuf field .proto.api.EntAdmin shop_info = 2;
*/
protected $shop_info = null;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type \Proto\Api\CarModelEnt $car_model_info
* 车型信息
* @type \Proto\Api\EntAdmin $shop_info
* 所属门店信息
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Api\EntCarModel::initOnce();
parent::__construct($data);
}
/**
* 车型信息
*
* Generated from protobuf field .proto.api.CarModelEnt car_model_info = 1;
* @return \Proto\Api\CarModelEnt|null
*/
public function getCarModelInfo()
{
return $this->car_model_info;
}
public function hasCarModelInfo()
{
return isset($this->car_model_info);
}
public function clearCarModelInfo()
{
unset($this->car_model_info);
}
/**
* 车型信息
*
* Generated from protobuf field .proto.api.CarModelEnt car_model_info = 1;
* @param \Proto\Api\CarModelEnt $var
* @return $this
*/
public function setCarModelInfo($var)
{
GPBUtil::checkMessage($var, \Proto\Api\CarModelEnt::class);
$this->car_model_info = $var;
return $this;
}
/**
* 所属门店信息
*
* Generated from protobuf field .proto.api.EntAdmin shop_info = 2;
* @return \Proto\Api\EntAdmin|null
*/
public function getShopInfo()
{
return $this->shop_info;
}
public function hasShopInfo()
{
return isset($this->shop_info);
}
public function clearShopInfo()
{
unset($this->shop_info);
}
/**
* 所属门店信息
*
* Generated from protobuf field .proto.api.EntAdmin shop_info = 2;
* @param \Proto\Api\EntAdmin $var
* @return $this
*/
public function setShopInfo($var)
{
GPBUtil::checkMessage($var, \Proto\Api\EntAdmin::class);
$this->shop_info = $var;
return $this;
}
}