<?php namespace App\Models;


use Illuminate\Database\Eloquent\Model;


class storeextension extends Central  {
	
	protected $table = 'stores';
	protected $primaryKey = 'id';
	public $module = 'storeextension';
	
	protected $guarded = [];
	public $timestamps = false;



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

	public static function querySelect(  ){
		
		return " SELECT id,name,domain_name,sweet_store_id,sweet_data,ext_info,checkout_url FROM stores ";
	}	

	public static function queryWhere(  ){
		
		return " WHERE LENGTH(sweet_store_id) > 1 ";
	}
	
	public static function queryGroup(){
		return "  ";
	}
	

}
