contract job shell

This commit is contained in:
2019-04-27 01:06:08 -05:00
parent c9bf440ed1
commit 0945ab4ffc
4 changed files with 34 additions and 76 deletions

View File

@@ -1,42 +0,0 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class AwardContract extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}
}

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
class AwardContract implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
//
}
}

View File

@@ -1,17 +0,0 @@
<?php
namespace App\Library\Contracts;
use DB;
use App\Models\Contracts\Contract;
use App\Models\Contracts\Bid;
/**
* This class helps deal with contracts and the bidding system
*/
class Contracts {
}
?>

View File

@@ -1,17 +0,0 @@
<?php
namespace App\Models\Logistics;
use Illuminate\Database\Eloquent\Model;
class Contract extends Model
{
// Table Name
protected $table = 'logistics_contracts';
// Timestamps
public $timestamps = true;
// Primary Key
public $primaryKey = 'id';
}