Last change
on this file since 963 was
431,
checked in by gav, 15 years ago
|
Add ProductionReference.
Add ProductionManager and ProductionUser roles.
Update immediate callout help definitions, roll errors into one ul.
Add help definitions for resolved and unresolved.
|
File size:
351 bytes
|
Rev | Line | |
---|
[431] | 1 | class ProductionReference { |
---|
| 2 | |
---|
| 3 | String name |
---|
| 4 | String description = "" |
---|
| 5 | Boolean isActive = true |
---|
| 6 | |
---|
| 7 | // static hasMany = [] |
---|
| 8 | |
---|
| 9 | // static belongsTo = [] |
---|
| 10 | |
---|
| 11 | static constraints = { |
---|
| 12 | name(maxSize:50, unique:true, blank:false) |
---|
| 13 | description(maxSize:75) |
---|
| 14 | isActive() |
---|
| 15 | } |
---|
| 16 | |
---|
| 17 | String toString() { |
---|
| 18 | "${this.name}" |
---|
| 19 | } |
---|
| 20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.