36 lines
625 B
PHP
36 lines
625 B
PHP
<?php
|
|
|
|
namespace App\Models\Contracts;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class BattleContract extends Model
|
|
{
|
|
// Table Name
|
|
protected $table = 'battle_contracts';
|
|
|
|
//Primary Key
|
|
public $primaryKey = 'id';
|
|
|
|
// Timestamps
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* The attributes that are mass assignable
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'creator_id',
|
|
'creator_name',
|
|
'party_id',
|
|
'party_name',
|
|
'length',
|
|
'price',
|
|
'terms_conditions',
|
|
'stipulations',
|
|
'deliverables',
|
|
'validity',
|
|
];
|
|
}
|