Changeset 164 for trunk/grails-app/domain
- Timestamp:
- Oct 23, 2009, 9:49:35 AM (15 years ago)
- Location:
- trunk/grails-app/domain
- Files:
-
- 2 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() { -
trunk/grails-app/domain/Person.groovy
r154 r164 8 8 9 9 static belongsTo = [Authority, PersonGroup] 10 11 Department department 10 12 11 13 String loginName … … 38 40 employeeID(blank: true, nullable:true) 39 41 description() 42 department(nullable:true) 40 43 email() 41 44 emailShow()
Note: See TracChangeset
for help on using the changeset viewer.