gruene-seele/app/Models/LeadType.php
2025-04-01 10:39:21 +02:00

43 lines
1.1 KiB
PHP

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class LeadType
*
* @property int $id
* @property string $name
* @property bool $active
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|LeadType newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|LeadType newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|LeadType query()
* @method static \Illuminate\Database\Eloquent\Builder|LeadType whereActive($value)
* @method static \Illuminate\Database\Eloquent\Builder|LeadType whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|LeadType whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|LeadType whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|LeadType whereUpdatedAt($value)
* @mixin \Eloquent
*/
class LeadType extends Model
{
protected $table = 'lead_type';
protected $casts = [
'active' => 'bool'
];
protected $fillable = [
'name',
'active'
];
}