v2board/app/Models/Notice.php
2022-04-15 02:45:52 +08:00

18 lines
336 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Notice extends Model
{
protected $table = 'v2_notice';
protected $dateFormat = 'U';
protected $guarded = ['id'];
protected $casts = [
'created_at' => 'timestamp',
'updated_at' => 'timestamp',
'tags' => 'array'
];
}