feat: promotions added
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Promotion extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'type', 'title', 'subtitle', 'image', 'action_text',
|
||||
'url_myket', 'url_bazzar', 'url_google_play', 'url_site',
|
||||
'is_active', 'priority', 'start_at', 'end_at'
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'is_active' => 'boolean',
|
||||
'start_at' => 'datetime',
|
||||
'end_at' => 'datetime'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user