Changeset 268 for trunk/grails-app/domain/Department.groovy
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Department.groovy
r164 r268 3 3 String name 4 4 String description = "" 5 String costCode = ""6 5 boolean isActive = true 7 6 8 static hasMany = [systemSections: SystemSection, persons: Person] 7 static hasMany = [sections: Section, 8 departmentExtendedAttributes: DepartmentExtendedAttribute, 9 persons: Person] 9 10 10 11 // static belongsTo = [] 11 12 12 13 static constraints = { 13 name() 14 description() 15 costCode() 14 name(maxSize:50, unique:true, blank:false) 15 description(maxSize:100) 16 16 isActive() 17 17 }
Note: See TracChangeset
for help on using the changeset viewer.