first commit
This commit is contained in:
commit
405df0a122
3083 changed files with 69203 additions and 0 deletions
65
dev/Models/PressReleaseImageOld.php
Normal file
65
dev/Models/PressReleaseImageOld.php
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class PressReleaseImageOld
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $title
|
||||
* @property string $description
|
||||
* @property string $image
|
||||
* @property string $copyright
|
||||
* @property int|null $press_release_id
|
||||
* @property int|null $is_preview_image
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
* @property string|null $slug
|
||||
* @property PressRelease|null $press_release
|
||||
* @package App\Models
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereCopyright($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereCreatedAt($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereDescription($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereImage($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereIsPreviewImage($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld wherePressReleaseId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereSlug($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereTitle($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImageOld whereUpdatedAt($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class PressReleaseImageOld extends Model
|
||||
{
|
||||
protected $table = 'press_release_image_old';
|
||||
|
||||
protected $casts = [
|
||||
'press_release_id' => 'int',
|
||||
'is_preview_image' => 'int'
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'description',
|
||||
'image',
|
||||
'copyright',
|
||||
'press_release_id',
|
||||
'is_preview_image',
|
||||
'slug'
|
||||
];
|
||||
|
||||
public function press_release()
|
||||
{
|
||||
return $this->belongsTo(PressRelease::class);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue