first commit
This commit is contained in:
commit
405df0a122
3083 changed files with 69203 additions and 0 deletions
47
dev/Models/SalutationTranslation.php
Normal file
47
dev/Models/SalutationTranslation.php
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class SalutationTranslation
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $lang
|
||||
* @property Salutation $salutation
|
||||
* @package App\Models
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|SalutationTranslation newModelQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|SalutationTranslation newQuery()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|SalutationTranslation query()
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|SalutationTranslation whereId($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|SalutationTranslation whereLang($value)
|
||||
* @method static \Illuminate\Database\Eloquent\Builder|SalutationTranslation whereName($value)
|
||||
* @mixin \Eloquent
|
||||
*/
|
||||
class SalutationTranslation extends Model
|
||||
{
|
||||
protected $table = 'salutation_translation';
|
||||
public $incrementing = false;
|
||||
public $timestamps = false;
|
||||
|
||||
protected $casts = [
|
||||
'id' => 'int'
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'id',
|
||||
'name',
|
||||
'lang'
|
||||
];
|
||||
|
||||
public function salutation()
|
||||
{
|
||||
return $this->belongsTo(Salutation::class, 'id');
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue