*/ protected $fillable = [ 'nama_lengkap', 'alamat', 'tgl_lahir', 'nama_wali', 'no_telp_wali', 'peran', 'email', 'password', 'usia', 'jenis_kelamin', 'jenjang_pendidikan', ]; /** * The attributes that should be hidden for serialization. * * @var array */ protected $hidden = [ 'password', 'remember_token', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'email_verified_at' => 'datetime', ]; public function progresses() { return $this->hasMany(Progress::class); } }