Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component persistent="true" {
- property name="id" generator="native" ormtype="integer" fieldtype="id";
- property name="lastName" ormtype="string" length="255";
- property name="firstName" ormtype="string" length="255";
- property name="datePosted" ormtype="datetime";
- public void function setDatePosted(d) {
- variables.dateposted = dateFormat(arguments.d, 'mm/dd/yy');
- };
- public string function getDatePosted() {
- return variables.dateposted;
- };
- }
Add Comment
Please, Sign In to add comment