source: trunk/grails-app/domain/TaskProcedure.groovy @ 706

Last change on this file since 706 was 131, checked in by gav, 16 years ago

Reconfigure Planned Maintenance again, now Preventative Maintenance, TaskProcedure? and MaintenanceAction?

File size: 372 bytes
Line 
1class TaskProcedure {
2
3    String name
4    String description = ""
5    Boolean isActive = true
6
7    static hasMany = [tasks: Task, maintenanceActions: MaintenanceAction]
8
9//     static belongsTo = []
10
11    static constraints = {
12        name(maxSize:75,unique:true,blank:false)
13        description(maxSize:100)
14    }
15
16    String toString() {
17        "${this.name}"
18    }
19}
Note: See TracBrowser for help on using the repository browser.