Changeset 754 for branches/features/taskProcedureRework/grails-app/domain
- Timestamp:
- Jan 25, 2011, 6:41:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/domain/TaskProcedure.groovy
r131 r754 1 1 class TaskProcedure { 2 3 String name4 String description = ""5 Boolean isActive = true6 2 7 3 static hasMany = [tasks: Task, maintenanceActions: MaintenanceAction] … … 10 6 11 7 static constraints = { 12 name(maxSize:75,unique:true,blank:false)13 description(maxSize:100)14 8 } 15 9 16 10 String toString() { 17 "${this. name}"11 "${this.id}" 18 12 } 19 13 }
Note: See TracChangeset
for help on using the changeset viewer.