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