forked from kol/BlogMatch
50 lines
888 B
PHP
50 lines
888 B
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
* Date: Sat, 28 Jul 2018 18:02:51 +0000.
|
|
*/
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model as Eloquent;
|
|
|
|
/**
|
|
* Class ProofReading
|
|
*
|
|
* @property string $ID
|
|
* @property \Carbon\Carbon $deliveryDate
|
|
* @property string $manuscriptUrl
|
|
* @property string $suggestions
|
|
* @property \Carbon\Carbon $replyTime
|
|
* @property string $description
|
|
*
|
|
* @property \App\Commissioned $commissioned
|
|
*
|
|
* @package App
|
|
*/
|
|
class ProofReading extends Eloquent
|
|
{
|
|
protected $connection = 'mysql';
|
|
protected $table = 'ProofReading';
|
|
public $incrementing = false;
|
|
public $timestamps = false;
|
|
|
|
protected $dates = [
|
|
'deliveryDate',
|
|
'replyTime'
|
|
];
|
|
|
|
protected $fillable = [
|
|
'manuscriptUrl',
|
|
'suggestions',
|
|
'replyTime',
|
|
'description'
|
|
];
|
|
|
|
public function commissioned()
|
|
{
|
|
return $this->belongsTo(\App\Commissioned::class, 'ID');
|
|
}
|
|
}
|