BookStack/app/Api/ApiToken.php

12 lines
225 B
PHP

<?php namespace BookStack\Api;
use Illuminate\Database\Eloquent\Model;
class ApiToken extends Model
{
protected $fillable = ['name', 'expires_at'];
protected $casts = [
'expires_at' => 'date:Y-m-d'
];
}