130 lines
2.2 KiB
PHP
130 lines
2.2 KiB
PHP
<?php
|
|
|
|
class appExportAttributes extends BaseObject
|
|
{
|
|
private $id = null;
|
|
private $productCode = null;
|
|
private $productName = null;
|
|
private $attributeName = null;
|
|
private $attributeId = null;
|
|
private $variantName = null;
|
|
private $code = null;
|
|
|
|
public function isNew()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function save()
|
|
{
|
|
|
|
}
|
|
|
|
public function buildPkeyCriteria()
|
|
{
|
|
|
|
}
|
|
|
|
public function getPeer() {
|
|
return self::class . 'Peer';
|
|
}
|
|
|
|
public function setPrimaryKey($keys)
|
|
{
|
|
list($this->productCode, $this->attributeId) = $keys;
|
|
}
|
|
|
|
public function getPrimaryKeyFields($keyType = BasePeer::TYPE_FIELDNAME)
|
|
{
|
|
|
|
}
|
|
|
|
public function getPrimaryKey()
|
|
{
|
|
return array($this->productCode, $this->attributeId);
|
|
}
|
|
|
|
public function getId()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setId($id): self
|
|
{
|
|
$this->id = $id;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getProductCode()
|
|
{
|
|
return $this->productCode;
|
|
}
|
|
|
|
public function setProductCode($productCode): self
|
|
{
|
|
$this->productCode = $productCode;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getProductName()
|
|
{
|
|
return $this->productName;
|
|
}
|
|
|
|
public function setProductName($productName): self
|
|
{
|
|
$this->productName = $productName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAttributeName()
|
|
{
|
|
return $this->attributeName;
|
|
}
|
|
|
|
public function setAttributeName($attributeName): self
|
|
{
|
|
$this->attributeName = $attributeName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getAttributeId()
|
|
{
|
|
return $this->attributeId;
|
|
}
|
|
|
|
public function setAttributeId($attributeId): self
|
|
{
|
|
$this->attributeId = $attributeId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getVariantName()
|
|
{
|
|
return $this->variantName;
|
|
}
|
|
|
|
public function setVariantName($variantName): self
|
|
{
|
|
$this->variantName = $variantName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function getCode()
|
|
{
|
|
return $this->code;
|
|
}
|
|
|
|
public function setCode($code): self
|
|
{
|
|
$this->code = $code;
|
|
|
|
return $this;
|
|
}
|
|
} |