<?php

namespace App\Models;

class storecontents extends Central
{
    protected $table = 'store_contents';
    protected $primaryKey = 'id';
    protected $guarded = [];

    public $module = 'store_contents';

    public function __construct()
    {
        parent::__construct();
    }

    public static function querySelect()
    {
        return "  SELECT stores.* FROM stores  ";
    }

    public static function queryWhere()
    {
        return "  WHERE stores.id IS NOT NULL ";
    }

    public static function queryGroup()
    {
        return "  ";
    }

    public function store()
    {
        return $this->belongsTo('Yajny\Models\Store', 'store_id', 'id')->withoutGlobalScopes();
    }
}