✏️ 正在编辑: ShopGroup.php
路径:
/home/bpioifn/www/pigmentse/src/PrestaShopBundle/Entity/ShopGroup.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * 2007-2019 PrestaShop and Contributors * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://www.prestashop.com for more information. * * @author PrestaShop SA <contact@prestashop.com> * @copyright 2007-2019 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ namespace PrestaShopBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * ShopGroup. * * @ORM\Table() * @ORM\Entity(repositoryClass="PrestaShopBundle\Entity\Repository\ShopGroupRepository") */ class ShopGroup { /** * @var int * * @ORM\Id * @ORM\Column(name="id_shop_group", type="integer") * @ORM\GeneratedValue(strategy="AUTO") */ private $id; /** * @var string * * @ORM\Column(name="name", type="string", length=64) */ private $name; /** * @var bool * * @ORM\Column(name="share_customer", type="boolean") */ private $shareCustomer; /** * @var bool * * @ORM\Column(name="share_order", type="boolean") */ private $shareOrder; /** * @var bool * * @ORM\Column(name="share_stock", type="boolean") */ private $shareStock; /** * @var bool * * @ORM\Column(name="active", type="boolean") */ private $active; /** * @var bool * * @ORM\Column(name="deleted", type="boolean") */ private $deleted; /** * Get id. * * @return int */ public function getId() { return $this->id; } /** * Set name. * * @param string $name * * @return ShopGroup */ public function setName($name) { $this->name = $name; return $this; } /** * Get name. * * @return string */ public function getName() { return $this->name; } /** * Set shareCustomer. * * @param bool $shareCustomer * * @return ShopGroup */ public function setShareCustomer($shareCustomer) { $this->shareCustomer = $shareCustomer; return $this; } /** * Get shareCustomer. * * @return bool */ public function getShareCustomer() { return $this->shareCustomer; } /** * Set shareOrder. * * @param bool $shareOrder * * @return ShopGroup */ public function setShareOrder($shareOrder) { $this->shareOrder = $shareOrder; return $this; } /** * Get shareOrder. * * @return bool */ public function getShareOrder() { return $this->shareOrder; } /** * Set shareStock. * * @param bool $shareStock * * @return ShopGroup */ public function setShareStock($shareStock) { $this->shareStock = $shareStock; return $this; } /** * Get shareStock. * * @return bool */ public function getShareStock() { return $this->shareStock; } /** * Set active. * * @param bool $active * * @return ShopGroup */ public function setActive($active) { $this->active = $active; return $this; } /** * Get active. * * @return bool */ public function getActive() { return $this->active; } /** * Set deleted. * * @param bool $deleted * * @return ShopGroup */ public function setDeleted($deleted) { $this->deleted = $deleted; return $this; } /** * Get deleted. * * @return bool */ public function getDeleted() { return $this->deleted; } }
💾 保存文件
← 返回文件管理器