| Total Complexity | 3 | 
| Total Lines | 23 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class Comment extends Model  | 
            ||
| 9 | { | 
            ||
| 10 | const STATUS_ENABLE = 1;  | 
            ||
| 11 | const STATUS_DISABLE = 0;  | 
            ||
| 12 | |||
| 13 | const ADMIN_YES = 1;  | 
            ||
| 14 | const ADMIN_NO = 0;  | 
            ||
| 15 | |||
| 16 | protected $guarded = [];  | 
            ||
| 17 | |||
| 18 | public function user()  | 
            ||
| 19 |     { | 
            ||
| 20 |         return $this->belongsTo('App\Model\Admin\User', 'user_id'); | 
            ||
| 21 | }  | 
            ||
| 22 | |||
| 23 | public function replyUser()  | 
            ||
| 24 |     { | 
            ||
| 25 |         return $this->belongsTo('App\Model\Admin\User', 'reply_user_id'); | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 28 | public function entity()  | 
            ||
| 31 | }  | 
            ||
| 32 | }  | 
            ||
| 33 |