source: trunk/src/grails-app/domain/TypeOfModification.groovy @ 19

Last change on this file since 19 was 19, checked in by tuxta, 15 years ago

Set up BootStrap? and tweaked Domain classes

File size: 286 bytes
Line 
1class TypeOfModification {
2    String name
3    String description
4    boolean isActive
5
6    static hasMany = [modifications : Modification]
7
8    static constraints = {
9        name()
10        description()
11        isActive()
12    }
13
14    String toString() {
15        "${this.name}"
16    }
17}
Note: See TracBrowser for help on using the repository browser.