Add login and Laravel Pulse
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AcceptanceLetter extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'acceptance_letters';
|
||||
|
||||
protected $fillable = [
|
||||
'nomor_surat',
|
||||
'nama_mahasiswa',
|
||||
'nomor_induk_mahasiswa',
|
||||
'program_studi_mahasiswa',
|
||||
'tahun_ajaran',
|
||||
'start_date',
|
||||
'lampiran'
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Concerns\HasUuids;
|
||||
use Illuminate\Foundation\Auth\User as Authenticatable;
|
||||
use Illuminate\Notifications\Notifiable;
|
||||
use Illuminate\Support\Str;
|
||||
|
||||
class Admin extends Authenticatable
|
||||
{
|
||||
use Notifiable, HasUuids;
|
||||
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'email',
|
||||
'password',
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'password',
|
||||
'remember_token',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'email_verified_at' => 'datetime',
|
||||
'password' => 'hashed',
|
||||
];
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CompletionLetter extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'completion_letters';
|
||||
|
||||
protected $fillable = [
|
||||
'nomor_surat',
|
||||
'nama_mahasiswa',
|
||||
'nomor_induk_mahasiswa',
|
||||
'program_studi_mahasiswa',
|
||||
'tahun_ajaran',
|
||||
'completion_date',
|
||||
'lampiran'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user