Changeset 164 for trunk/grails-app/domain/Department.groovy
- Timestamp:
- Oct 23, 2009, 9:49:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Department.groovy
r162 r164 6 6 boolean isActive = true 7 7 8 static hasMany = [systemSections: SystemSection ]8 static hasMany = [systemSections: SystemSection, persons: Person] 9 9 10 10 // static belongsTo = [] 11 11 12 // static constraints = { 13 // 14 // } 12 static constraints = { 13 name() 14 description() 15 costCode() 16 isActive() 17 } 15 18 16 19 String toString() {
Note: See TracChangeset
for help on using the changeset viewer.