Skip to content

Instantly share code, notes, and snippets.

@EdZilla
Created January 16, 2012 15:51
Show Gist options
  • Save EdZilla/1621477 to your computer and use it in GitHub Desktop.
Save EdZilla/1621477 to your computer and use it in GitHub Desktop.
Simple Grails Domain Class
package com.summitbid.coach
class Exercise extends Activity {
@Override
String toString()
{
return "Exercise: ${name}, ${description}"
}
static constraints = {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment