v2board/app/Models/Notice.php

18 lines
336 B
PHP
Raw Permalink Normal View History

2019-12-12 13:45:46 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Notice extends Model
{
protected $table = 'v2_notice';
protected $dateFormat = 'U';
protected $guarded = ['id'];
2021-08-01 22:56:11 +08:00
protected $casts = [
'created_at' => 'timestamp',
2022-04-15 02:45:52 +08:00
'updated_at' => 'timestamp',
'tags' => 'array'
2021-08-01 22:56:11 +08:00
];
2019-12-12 13:45:46 +08:00
}