ldc-web/app/Models/ServiceAccount.php
2022-12-22 10:36:32 +01:00

28 lines
495 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ServiceAccount extends Model
{
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'account' => 'encrypted',
'password' => 'encrypted',
'url' => 'encrypted',
];
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'account', 'password', 'url'
];
}