| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace ThurData\Servers\KerioEmail\App\Models\Whmcs;
- use \Illuminate\Database\Eloquent\model as EloquentModel;
- use ThurData\Servers\KerioEmail\Core\Models\Whmcs\ProductConfigOption;
- /**
- * Description of ProductConfigGroups
- *
- * @author Mateusz Pawłowski <mateusz.pa@moduelsgarden.com>
- *
- * @property int $id
- * @property string $name
- * @property string $description
- */
- class ProductConfigGroups extends EloquentModel
- {
- /**
- * Table name
- *
- * @var string
- */
- protected $table = 'tblproductconfiggroups';
- /**
- * Indicates if the model should be timestamped.
- *
- * @var bool
- */
- public $timestamps = false;
- public function options()
- {
- return $this->hasMany(ProductConfigOption::class, 'gid', 'id');
- }
- }
|