Changeset 268 for trunk/grails-app/domain/MaintenancePolicy.groovy
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/MaintenancePolicy.groovy
r122 r268 5 5 boolean isActive = true 6 6 7 static hasMany = [maintenanceActions: MaintenanceAction]7 // static hasMany = [maintenanceActions: MaintenanceAction] 8 8 9 9 // static belongsTo = [] 10 10 11 // static constraints = { 12 // } 11 static constraints = { 12 name(maxSize:50, unique:true, blank:false) 13 description(maxSize:100) 14 isActive() 15 } 13 16 14 17 String toString() {
Note: See TracChangeset
for help on using the changeset viewer.