getMemento not returning correctly with new entity and setters.

Description

I'm just getting my feet wet with Quick and I've run into an issue with running `getMemento()` in my Quick entities. Whenever I run `getMemento()` I just get a struct containing all of the entity keys, but all of the values are empty strings.

Hers'a sample entity I created:
```
component
extends="quick.models.BaseEntity"
accessors="true"
{

// Properties
property name="id";
property name="firstName";
property name="lastName";

// ORM
variables._key = "id";

/**

  • Constructor
    */
    User function init(){


super.init();

return this;
}

}
```

Here's my handler where I get a new instance of the `user` entity and populate it with some data:
```
component{

function test( event, rc, prc ) {

// get a new instance of "user"
prc.user = getInstance( "User" );

// set some data
prc.user.setFirstName( "Dave" );
prc.user.setLastName( "Levin" );

// dump out some data using the entity getters
writeDump(
var = {
"firstName" : prc.user.getFirstName(),
"lastName" : prc.user.getLastName()
},
label = "Old Fashioned Getters"
);

// dump out some data using the Quick's getMemento() method
writeDump(
var = prc.user.getMemento(),
label = "Quick's GetMemento()"
);

return "done";

}

}
```

When I execute the handler, this is the result I get:
https://i.imgur.com/e7Dkh4R.png

As you can see, I can retrieve data through the entity getters, but running `getMemento()` just returns a blank struct with just the keys.

Am I doing this wrong? I assume `getMemento()` would work similarly to Mementifier.

Environment

None

Status

Assignee

Unassigned

Reporter

Eric Peterson

Labels

None

Priority

Major
Configure