Revision 6 hci/trunk/eneraptor-web-app/grails-app/domain/com/eneraptor/hci/DeviceInfo.groovy
DeviceInfo.groovy | ||
---|---|---|
6 | 6 |
String friendlyName |
7 | 7 |
String description |
8 | 8 |
String iconPath |
9 |
boolean inputDevice |
|
10 |
boolean outputDevice |
|
11 |
|
|
12 |
|
|
9 | 13 |
|
10 | 14 |
static constraints = { |
11 | 15 |
deviceId(blank: false, unique: true) |
12 | 16 |
friendlyName(blank: false, maxSize: 64) |
13 | 17 |
description(nullable: true, maxSize: 128) |
14 |
iconPath(nullable: true) |
|
18 |
iconPath(nullable: true) |
|
19 |
inputDevice(blank: false) |
|
20 |
outputDevice(blank: false) |
|
15 | 21 |
} |
16 | 22 |
} |
Also available in: Unified diff