contract system before testing
This commit is contained in:
@@ -21,6 +21,7 @@ class AcceptedBid extends Model
|
||||
'contract_id',
|
||||
'bid_id',
|
||||
'bid_amount',
|
||||
'notes',
|
||||
];
|
||||
|
||||
public function Contract() {
|
||||
|
||||
@@ -20,7 +20,10 @@ class Bid extends Model
|
||||
protected $fillable = [
|
||||
'contract_id',
|
||||
'bid_amount',
|
||||
'accepted',
|
||||
'character_name',
|
||||
'character_id',
|
||||
'corporation_name',
|
||||
'corporation_id',
|
||||
];
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
@@ -21,6 +21,8 @@ class Contract extends Model
|
||||
'title',
|
||||
'end_date',
|
||||
'body',
|
||||
'final_cost',
|
||||
'finished',
|
||||
];
|
||||
|
||||
//One-to-Many relationship for the bids on a contract
|
||||
|
||||
Reference in New Issue
Block a user