mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 19:50:40 -05:00
add: model docblocks
- this resolves some larastan property issues but in return has revealed quite a few issues with our castings and such. baseline has been regenerated so we can work through them. The properties in docblocks are in order and match everything in DB schema wise.
This commit is contained in:
@@ -7,6 +7,24 @@ use Illuminate\Database\Eloquent\Builder;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* App\Models\Ticket.
|
||||
*
|
||||
* @property int $id
|
||||
* @property int $user_id
|
||||
* @property int $category_id
|
||||
* @property int $priority_id
|
||||
* @property int|null $staff_id
|
||||
* @property int|null $user_read
|
||||
* @property int|null $staff_read
|
||||
* @property string $subject
|
||||
* @property string $body
|
||||
* @property \Illuminate\Support\Carbon|null $closed_at
|
||||
* @property \Illuminate\Support\Carbon|null $reminded_at
|
||||
* @property \Illuminate\Support\Carbon|null $created_at
|
||||
* @property \Illuminate\Support\Carbon|null $updated_at
|
||||
* @property string|null $deleted_at
|
||||
*/
|
||||
class Ticket extends Model
|
||||
{
|
||||
use Auditable;
|
||||
|
||||
Reference in New Issue
Block a user