<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LockerType extends Model
{
    protected $table = 'locker_types';
    protected $primaryKey = 'Lk_Id';
    public $timestamps = true;

    protected $fillable = [
        'Locker_Desc',
        'SocId',
    ];

    public function society()
    {
        return $this->belongsTo(SocietyMaster::class, 'SocId', 'SocId');
    }
}
