Created
January 16, 2012 15:51
-
-
Save EdZilla/1621477 to your computer and use it in GitHub Desktop.
Simple Grails Domain Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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