public function messageStates() { return $this->hasMany(EloquentBase::modelPath('MessageState'))->orderBy('updated_at', 'desc'); }
public function message() { return $this->belongsTo(EloquentBase::modelPath('Message')); }
public function messageStates() { return $this->hasMany(EloquentBase::modelPath('MessageState'))->orderBy('updated_at', 'desc'); }
public function message() { return $this->belongsTo(EloquentBase::modelPath('Message')); }