Two month of work
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
|
||||
class PipelineLane extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'position',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'position' => 'integer',
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the pipeline items for the lane
|
||||
*/
|
||||
public function items()
|
||||
{
|
||||
return $this->hasMany(PipelineItem::class);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user