Changeset View
Changeset View
Standalone View
Standalone View
src/app/Discount.php
<?php | <?php | ||||
namespace App; | namespace App; | ||||
use Illuminate\Database\Eloquent\Model; | use Illuminate\Database\Eloquent\Model; | ||||
use Spatie\Translatable\HasTranslations; | use Spatie\Translatable\HasTranslations; | ||||
/** | /** | ||||
* The eloquent definition of a Discount. | * The eloquent definition of a Discount. | ||||
* | |||||
* @property bool $active | |||||
* @property string $code | |||||
* @property string $description | |||||
* @property int $discount | |||||
* @property int $tenant_id | |||||
*/ | */ | ||||
class Discount extends Model | class Discount extends Model | ||||
{ | { | ||||
use HasTranslations; | use HasTranslations; | ||||
public $incrementing = false; | public $incrementing = false; | ||||
protected $keyType = 'string'; | protected $keyType = 'string'; | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |