/**
  * update contract comment action column to rejected
  */
 public function run()
 {
     Comment::where('action', '=', null)->update(array('action' => 'rejected'));
 }
 /**
  * Get Contract comments with pagination
  *
  * @param $perPage
  * @return Collection
  */
 public function paginate($contract_id, $perPage)
 {
     return $this->comment->with('user')->where('contract_id', $contract_id)->orderBy('created_at', 'DESC')->paginate($perPage);
 }