26 lines
465 B
PHP
26 lines
465 B
PHP
<?php
|
|
|
|
namespace App\Models\Auth;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class DingTalkOAuthState extends Model
|
|
{
|
|
protected $table = 'dingtalk_oauth_states';
|
|
|
|
protected $fillable = [
|
|
'state_hash',
|
|
'binding_token_hash',
|
|
'union_id',
|
|
'open_id',
|
|
'nickname',
|
|
'expires_at',
|
|
'consumed_at',
|
|
];
|
|
|
|
protected $casts = [
|
|
'expires_at' => 'datetime',
|
|
'consumed_at' => 'datetime',
|
|
];
|
|
}
|