<?php

namespace App\Models\fcmodels;

use Illuminate\Database\Eloquent\Model;

class Organizationshortcode extends Model
{
    protected $primaryKey = 'shortcode_id ';
    protected $table = 'organization_shortcode';
  
    protected $fillable = [
        'shortcode_id',
        'shortcode',
        'status',
        'organization_id'
    ];    
    //
    //group<>Org relationship
    public function shortcodeOrg()
    {
        return $this->belongsTo(Organization::class,'organization_id');
    }
}
