Revision 66 hci/trunk/eneraptor-web-app/grails-app/domain/com/eneraptor/hci/DeviceInfo.groovy

View differences:

DeviceInfo.groovy
9 9
	boolean inputDevice
10 10
	boolean outputDevice
11 11
	
12
	 
12
	static belongsTo = [hwSet: HardwareSet]
13 13
	
14 14
    static constraints = {
15
		deviceId(blank: false, unique: true)
15
		deviceId(blank: false, unique: 'hwSet')
16 16
		friendlyName(blank: false, maxSize: 64)
17 17
		description(nullable: true, maxSize: 128)
18 18
		iconPath(nullable: true)

Also available in: Unified diff