|
Last change
on this file since 117 was
116,
checked in by gav, 17 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:
251 bytes
|
| Line | |
|---|
| 1 | class Asset { |
|---|
| 2 | String name |
|---|
| 3 | String description = "" |
|---|
| 4 | boolean isActive = true |
|---|
| 5 | |
|---|
| 6 | // static hasMany = [] |
|---|
| 7 | // |
|---|
| 8 | // static belongsTo = [] |
|---|
| 9 | // |
|---|
| 10 | // static constraints = { |
|---|
| 11 | // |
|---|
| 12 | // } |
|---|
| 13 | |
|---|
| 14 | String toString() { |
|---|
| 15 | "${this.name}" |
|---|
| 16 | } |
|---|
| 17 | } |
|---|
| 18 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.