1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/app/Models/TaskStatus.php

75 lines
3.0 KiB
PHP
Raw Normal View History

2020-10-20 01:01:59 +02:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com).
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
2023-01-28 23:21:40 +01:00
* @copyright Copyright (c) 2023. Invoice Ninja LLC (https://invoiceninja.com)
2020-10-20 01:01:59 +02:00
*
2021-06-16 08:58:16 +02:00
* @license https://www.elastic.co/licensing/elastic-license
2020-10-20 01:01:59 +02:00
*/
namespace App\Models;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class TaskStatus.
2023-03-08 08:33:42 +01:00
*
* @property int $id
* @property string|null $name
* @property int|null $company_id
* @property int|null $user_id
* @property int $is_deleted
* @property int|null $created_at
* @property int|null $updated_at
* @property int|null $deleted_at
* @property int|null $status_sort_order
* @property string $color
* @property int|null $status_order
* @property-read mixed $hashed_id
* @method static \Illuminate\Database\Eloquent\Builder|BaseModel company()
* @method static \Illuminate\Database\Eloquent\Builder|BaseModel exclude($columns)
* @method static \Database\Factories\TaskStatusFactory factory($count = null, $state = [])
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus filter(\App\Filters\QueryFilters $filters)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus onlyTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus query()
* @method static \Illuminate\Database\Eloquent\Builder|BaseModel scope()
2023-06-08 09:16:24 +02:00
* @method static \Illuminate\Database\Eloquent\Builder|BaseModel insert()
2023-03-08 08:33:42 +01:00
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereColor($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereCompanyId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereDeletedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereIsDeleted($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereName($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereStatusOrder($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereStatusSortOrder($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereUpdatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus whereUserId($value)
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus withTrashed()
* @method static \Illuminate\Database\Eloquent\Builder|TaskStatus withoutTrashed()
* @mixin \Eloquent
2020-10-20 01:01:59 +02:00
*/
class TaskStatus extends BaseModel
{
use SoftDeletes;
2022-01-03 02:20:03 +01:00
use Filterable;
2020-10-20 01:01:59 +02:00
/**
* @var bool
*/
public $timestamps = true;
2020-10-20 01:01:59 +02:00
/**
2023-05-18 01:12:12 +02:00
* @var array<string>
2020-10-20 01:01:59 +02:00
*/
2021-01-07 23:03:29 +01:00
protected $fillable = [
'name',
'color',
'status_order',
];
2020-10-20 01:01:59 +02:00
}