2 usingPackage ('models/foo');
3 usingPackage ('models/foo/fields');
5 class dummyTable
extends fooEntityA
{
6 protected $_name = 'dummy';
8 public function __construct () {
9 $this->id
= new fooFieldInteger('id');
10 $this->id
->setAutoIncrement (true);
12 $this->payload
= new fooFieldVarChar ('payload');
13 $this->timestamp
= new fooFieldDateTime ('ts');
15 $this->setPayload(2); // this is used later in the testGetter - if you modify here, modify the fooEntityTest
17 $this->setPrimaryKey ($this->id
);