ldc-supportweb/app/Models/GitlabIssueLabel.php
2026-05-26 12:15:12 +02:00

38 lines
1.1 KiB
PHP

<?php
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
*/
protected $table = 'gitlab_issues_labels';
/**
* The attributes that are mass assignable.
*
* @var list<string>
*/
protected $fillable = [
'issue_id',
'label_id',
];
}