<?php

namespace Velis\Model\DataObject;

use Velis\Model\DataObject;
use Velis\App;

/**
 * Class SnowflakeEntity
 * @package Velis\Model\DataObject
 * @author Olek Procki <olo@velis.pl>
 */
abstract class SnowflakeEntity extends DataObject
{

    protected static $_db;

    /**
     * Initialize database handle
     */
    public static function init()
    {
        self::$_db = App::$di['snowflake'];
    }
}
