Пример #1
0
 public function user()
 {
     return belongsTo('App\\Models\\User', 'owner');
 }
Пример #2
0
 public function order()
 {
     return $this - belongsTo(User::class);
 }
 /**
  * A keyword belongs to an emoji.
  *
  * @return Illuminate\Database\Eloquent\Relations\BelongsTo
  */
 public function emojis()
 {
     return belongsTo('Stacey\\Emoji\\Model\\User', 'emoji_id');
 }
Пример #4
0
 public function owner()
 {
     return belongsTo('ImagesManager\\User');
 }
Пример #5
0
 public function album()
 {
     return belongsTo('ImagesManager\\Album');
 }
Пример #6
0
 public function cadastro()
 {
     return belongsTo('NFe\\Entities\\Geral\\Cadastro', 'idCadastro', 'idCadastro');
 }
Пример #7
0
 public function group()
 {
     return belongsTo('App\\Models\\Group', 'group_id');
 }
Пример #8
0
 public function renter()
 {
     return $this - belongsTo('app\\Renter');
 }
Пример #9
0
 /**
  * A task is owned by a user.
  *
  * @return \Illuminate\Database\Eloquent\Retlations\BelongsTo
  */
 public function user()
 {
     return $this - belongsTo('App\\User');
 }
Пример #10
0
 public function ppk()
 {
     return belongsTo('App\\Ppk');
 }