Guest

Untitled

By: a guest on Feb 10th, 2012  |  syntax: Groovy  |  size: 0.13 KB  |  hits: 88  |  expires: Never
download  |  raw  |  embed  |  report abuse
This paste has a previous version, view the difference. Copied
  1. static hasMany = [registrations:Registration]
  2. String toString() {
  3.     return "${name}, ${startDate.format('MM/dd/yyy')}"
  4.     }