v2board/app/Models/InviteCode.php

16 lines
285 B
PHP
Raw Normal View History

2019-10-29 15:33:36 +08:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class InviteCode extends Model
{
protected $table = 'v2_invite_code';
protected $dateFormat = 'U';
2021-08-01 22:56:11 +08:00
protected $casts = [
'created_at' => 'timestamp',
'updated_at' => 'timestamp'
];
2019-10-29 15:33:36 +08:00
}