<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Coupon extends Model
{
    use HasFactory;

    // Define the fillable properties for mass assignment
    protected $fillable = [
        'coupon_code',
        'discount',
        'discount_type',
        'usage_limit',
        'apply_coupon_on_product',
        'minimum_value',
        'upto_value',
        'coupon_functionality',
        'start_date',
        'end_date',
        'status',
    ];
    
    // You can add any additional methods or relationships as needed
}
