source: trunk/grails-app/domain/StoreLocation.groovy @ 169

Last change on this file since 169 was 116, checked in by gav, 16 years ago

First commit of Inventory domain, including domain-classes, controllers, views and bootstrap. Also double check/adjust as required security extends in controllers.

File size: 302 bytes
Line 
1class StoreLocation {
2
3    InventoryStore inventoryStore
4    String bin
5    Boolean isActive = true
6
7    static hasMany = [storedItems: StoredItem]
8
9    static belongsTo = [InventoryStore]
10
11    static constraints = {
12        bin(maxSize:50)
13    }
14
15    String toString() {
16        "${this.bin}"
17    }
18}
Note: See TracBrowser for help on using the repository browser.