root / hci / trunk / eneraptor-web-app / grails-app / domain / com / eneraptor / hci / DeviceInfo.groovy @ 3
History | View | Annotate | Download (322 Bytes)
1 |
package com.eneraptor.hci
|
---|---|
2 |
|
3 |
class DeviceInfo { |
4 |
|
5 |
String deviceId
|
6 |
String friendlyName
|
7 |
String description
|
8 |
String iconPath
|
9 |
|
10 |
static constraints = {
|
11 |
deviceId(blank: false, unique: true) |
12 |
friendlyName(blank: false, maxSize: 64) |
13 |
description(nullable: true, maxSize: 128) |
14 |
iconPath(nullable: true) |
15 |
} |
16 |
} |