10.April 2026
This commit is contained in:
parent
a00c42e770
commit
f58c709945
208 changed files with 19280 additions and 2914 deletions
30
app/Models/AboChartSnapshot.php
Normal file
30
app/Models/AboChartSnapshot.php
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AboChartSnapshot extends Model
|
||||
{
|
||||
protected $table = 'abo_chart_snapshots';
|
||||
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'scope',
|
||||
'year',
|
||||
'month',
|
||||
'count',
|
||||
'calculated_at',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'user_id' => 'int',
|
||||
'year' => 'int',
|
||||
'month' => 'int',
|
||||
'count' => 'int',
|
||||
'calculated_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue