ldc-supportweb/app/Models/GitlabIssueLabel.php
2026-06-05 17:05:46 +02:00

43 lines
1.2 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Uwil\LaravelActivityLogs\Traits\HasActivityLog;
/**
* @property \Illuminate\Support\Carbon $issue_id Gitlab issue id of the relation.
* @property \Illuminate\Support\Carbon $label_id Gitlab label id of the relation.
* @property-read \Illuminate\Support\Carbon $created_at Date the gitlab issue label was created.
* @property-read \Illuminate\Support\Carbon $updated_at Date the gitlab issue label was updated.
* @property-read \Illuminate\Support\Carbon $deleted_at Date the gitlab issue label was deleted.
*/
class GitlabIssueLabel extends Model
{
use HasActivityLog;
/** @use \Illuminate\Database\Eloquent\Factories\HasFactory<\Database\Factories\GitlabIssueLabelFactory> */
use HasFactory;
/**
* The table associated with the model.
*
* @var string|null
*/
#[\Override]
protected $table = 'gitlab_issues_labels';
/**
* The attributes that are mass assignable.
*
* @var list<string>
*/
#[\Override]
protected $fillable = [
'issue_id',
'label_id',
];
}