<?php

namespace Modules\Lpj\Models;

use Illuminate\Database\Eloquent\Model;
use Modules\Lpj\Database\Factories\JenisPenilaianFactory;
use Modules\Lpj\Models\Penilaian;
class JenisPenilaian extends Base
{

    /**
     * The attributes that are mass assignable.
     */
    protected $table = 'jenis_penilaian';

    protected $fillable = [
        'code', 'name', 'status', 'authorized_status', 'authorized_at', 'authorized_by',
        'created_at', 'created_by', 'updated_at', 'updated_by', 'deleted_at', 'deleted_by'
    ];

    public function penilaian(){
        return $this->hasMany(Penilaian::class , 'jenis_penilaian_id', 'id');
    }

}
