Files
Atomcms-edit/app/Models/Shop/WebsiteShopVoucher.php
T
2026-05-09 17:32:17 +02:00

24 lines
621 B
PHP
Executable File

<?php
declare(strict_types=1);
namespace App\Models\Shop;
use Illuminate\Database\Eloquent\Model;
/**
* @method static \Illuminate\Database\Eloquent\Builder<static>|WebsiteShopVoucher where($column, $operator = null, $value = null)
* @method static \Illuminate\Database\Eloquent\Builder<static>|WebsiteShopVoucher first()
*/
class WebsiteShopVoucher extends Model
{
#[\Override]
protected $guarded = ['id', 'created_at', 'updated_at', 'code', 'amount', 'max_uses', 'expires_at'];
/** @var array<string, string> */
#[\Override]
protected $casts = [
'expires_at' => 'datetime',
];
}