source: trunk/grails-app/domain/AssetType.groovy @ 118

Last change on this file since 118 was 118, checked in by gav, 15 years ago

First commit of Asset domain, including domain-classes, controllers, views and bootstrap.

File size: 341 bytes
Line 
1class AssetType {
2    SystemSection systemSection
3    LifePlan lifeplan
4    String name
5    String description = ""
6    boolean isActive = true
7
8    static hasMany = [assets: Asset, assemblies: Assembly]
9//
10//     static belongsTo = []
11//
12//     static constraints = {
13//
14//     }
15
16    String toString() {
17        "${this.name}"
18    }
19}
20
Note: See TracBrowser for help on using the repository browser.