v2board/app/Models/Stat.php

17 lines
305 B
PHP
Raw Normal View History

2020-01-02 21:39:52 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
2023-05-03 15:37:19 +08:00
class Stat extends Model
2020-01-02 21:39:52 +08:00
{
2023-05-03 15:37:19 +08:00
protected $table = 'v2_stat';
2020-01-02 21:39:52 +08:00
protected $dateFormat = 'U';
protected $guarded = ['id'];
2021-08-01 22:56:11 +08:00
protected $casts = [
'created_at' => 'timestamp',
'updated_at' => 'timestamp'
];
2020-01-02 21:39:52 +08:00
}