Changeset View
Changeset View
Standalone View
Standalone View
src/app/Plan.php
Show All 28 Lines | |||||
class Plan extends Model | class Plan extends Model | ||||
{ | { | ||||
use BelongsToTenantTrait; | use BelongsToTenantTrait; | ||||
use HasTranslations; | use HasTranslations; | ||||
use UuidStrKeyTrait; | use UuidStrKeyTrait; | ||||
public $timestamps = false; | public $timestamps = false; | ||||
/** @var string[] The attributes that are mass assignable */ | |||||
protected $fillable = [ | protected $fillable = [ | ||||
'title', | 'title', | ||||
'name', | 'name', | ||||
'description', | 'description', | ||||
// a start and end datetime for this promotion | // a start and end datetime for this promotion | ||||
'promo_from', | 'promo_from', | ||||
'promo_to', | 'promo_to', | ||||
// discounts start at this quantity | // discounts start at this quantity | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |