42 lines
1.1 KiB
PHP
42 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @property int $id
|
|
* @property string $title Milestone title
|
|
* @property string $url Gitlab URL
|
|
* @property int $is_closed Gitlab milestone status
|
|
* @property int $gitlab_id Gitlab milestone id
|
|
* @property int $gitlab_iid Gitlab milestone iid in project
|
|
* @property int $gitlab_project_id Gitlab project id
|
|
* @property string $g_created_at Gitlab milestone created at
|
|
* @property string $g_updated_at Gitlab milestone updated at
|
|
* @property string|null $g_start_date Gitlab milestone start date
|
|
* @property string|null $g_due_date Gitlab milestone due date
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
* @mixin \Eloquent
|
|
*/
|
|
class GitlabMilestones extends Model
|
|
{
|
|
/**
|
|
* Fillable array model
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'title',
|
|
'url',
|
|
'is_closed',
|
|
'gitlab_id',
|
|
'gitlab_iid',
|
|
'gitlab_project_id',
|
|
'g_created_at',
|
|
'g_updated_at',
|
|
'g_start_date',
|
|
'g_due_date'
|
|
];
|
|
}
|