Twigrid, Nette Database, Model