Changeset View
Changeset View
Standalone View
Standalone View
src/app/PlanPackage.php
<?php | <?php | ||||
namespace App; | namespace App; | ||||
use Illuminate\Database\Eloquent\Relations\Pivot; | use Illuminate\Database\Eloquent\Relations\Pivot; | ||||
/** | /** | ||||
* Link Packages to Plans. | * Link Packages to Plans. | ||||
* | * | ||||
* @property integer $qty_min | * @property int $discount_qty | ||||
* @property int $discount_rate | |||||
* @property string $plan_id | |||||
* @property string $package_id | |||||
* @property int $qty | |||||
* @property int $qty_max | |||||
* @property int $qty_min | |||||
* @property \App\Package $package | * @property \App\Package $package | ||||
*/ | */ | ||||
class PlanPackage extends Pivot | class PlanPackage extends Pivot | ||||
{ | { | ||||
protected $fillable = [ | protected $fillable = [ | ||||
'plan_id', | 'plan_id', | ||||
'package_id', | 'package_id', | ||||
'qty', | 'qty', | ||||
Show All 37 Lines |