Business.php
725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/1/17
* Time: 10:38
*/
namespace App\Modules\Models\Business;
use App\Modules\Models\Business\Traits\Attribute\BusinessAttribute;
use App\Modules\Models\Business\Traits\Relationship\BusinessRelationship;
use Illuminate\Foundation\Auth\User as Authenticatable;
class Business extends Authenticatable
{
use BusinessAttribute, BusinessRelationship;
protected $table = 'business';
protected $fillable = ['business_name', 'phone','selected_spot_id'];
/**
* Get the relationships for the entity.
*
* @return array
*/
/**
* Get the relationships for the entity.
*
* @return array
*/
}