source: trunk/grails-app/domain/TaskModificationType.groovy

Last change on this file was 116, checked in by gav, 16 years ago

First commit of Inventory domain, including domain-classes, controllers, views and bootstrap. Also double check/adjust as required security extends in controllers.

File size: 334 bytes
RevLine 
[93]1class TaskModificationType {
[66]2    String name
3    String description = ""
4    boolean isActive = true
5
[93]6    static hasMany = [taskModifications : TaskModification]
[66]7
8    static constraints = {
[116]9        name(maxSize:50,unique:true,blank:false)
10        description(maxSize:100)
[66]11    }
12
13    String toString() {
14        "${this.name}"
15    }
16}
Note: See TracBrowser for help on using the repository browser.