File: /home/xedaptot/ai.naniguide.com/app/Model/SegmentCondition.php
<?php
/**
* SegmentCondition class.
*
* Model class for segment filter options
*
* LICENSE: This product includes software developed at
* the Acelle Co., Ltd. (http://acellemail.com/).
*
* @category MVC Model
*
* @author N. Pham <[email protected]>
* @author L. Pham <[email protected]>
* @copyright Acelle Co., Ltd
* @license Acelle Co., Ltd
*
* @version 1.0
*
* @link http://acellemail.com
*/
namespace App\Model;
use Illuminate\Database\Eloquent\Model;
use App\Library\Traits\HasUid;
class SegmentCondition extends Model
{
use HasUid;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'field_id', 'operator', 'value',
];
public function field()
{
return $this->belongsTo('App\Model\Field');
}
}