123456789101112131415161718 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Model;
- class Coupon extends Model
- {
- protected $table = 'v2_coupon';
- protected $dateFormat = 'U';
- protected $guarded = ['id'];
- protected $casts = [
- 'created_at' => 'timestamp',
- 'updated_at' => 'timestamp',
- 'limit_plan_ids' => 'array',
- 'limit_period' => 'array'
- ];
- }
|