Changeset 19 for trunk/src/grails-app/domain/Person.groovy
- Timestamp:
- Nov 25, 2008, 3:58:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/domain/Person.groovy
r18 r19 17 17 firstName() 18 18 lastName() 19 employeeID( )19 employeeID(blank:true, nullable:true) 20 20 } 21 21 22 22 //Overriding the default toString method 23 String toString() {"${this.firstName} :"{this.lastName}}23 String toString() {"${this.firstName} ${this.lastName}"} 24 24 }
Note: See TracChangeset
for help on using the changeset viewer.