Revision 66 hci/trunk/eneraptor-web-app/grails-app/domain/com/eneraptor/hci/EneGraph.groovy
EneGraph.groovy | ||
---|---|---|
15 | 15 |
int advMonthTimeFrameStart |
16 | 16 |
int advMonthTimeFrameEnd |
17 | 17 |
String deviceId |
18 |
|
|
19 |
static belongsTo = [hwSet: HardwareSet] |
|
18 | 20 |
|
19 | 21 |
static constraints = { |
20 | 22 |
|
21 |
name(blank:false, unique:true)
|
|
23 |
name(blank:false, unique:'hwSet')
|
|
22 | 24 |
type(blank:false, inList:["max","min","avg","sum"]) |
23 | 25 |
timeFrameType(blank:false, inList:["day","month","year","custom"]) |
24 | 26 |
timeFrameStart(blank:false) |
Also available in: Unified diff