| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Database\Eloquent\Model;
- /**
- * @property int $id
- * @property \Carbon\Carbon $created_at
- * @property \Carbon\Carbon $updated_at
- */
- class PaymentMethod extends Model
- {
- use HasFactory;
- protected $table = 'payment_methods';
- protected $guarded = [
- 'id', // Add more fields that shouldn't be edited here
- ];
- protected $casts = [
- 'created_at' => 'datetime',
- 'updated_at' => 'datetime',
- // Add your casts here (e.g., 'is_active' => 'boolean')
- ];
- // Relationships
- // Business Logic Methods
- // Custom Finders
- // Query Scopes
- }
|