v2board/app/Models/Ticket.php

17 lines
309 B
PHP
Raw Normal View History

2019-12-12 19:47:32 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Ticket extends Model
{
protected $table = 'v2_ticket';
protected $dateFormat = 'U';
protected $guarded = ['id'];
2021-08-01 22:56:11 +08:00
protected $casts = [
'created_at' => 'timestamp',
'updated_at' => 'timestamp'
];
2019-12-12 19:47:32 +08:00
}