Two month of work
This commit is contained in:
1 parent
0ffbeeedff
commit
d9fd3d1ccb
158 files changed
+5637
-1512
No files matched your search
@@ -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