<?php

use FactoryGirl\Factory as FactoryGirl;

return array(
  'class' => 'UserLoginSession',
  'attributes' => array(
    'login_at' => new CDbExpression('NOW() - INTERVAL 2 HOUR'),
    'logout_at' => new CDbExpression('NOW()'),
  ),
  'open' => array(
    'login_at' => new CDbExpression('NOW() - INTERVAL 2 HOUR'),
    'logout_at' => null,
  ),
);

