Changeset 175 for trunk/grails-app/domain/InventoryLocation.groovy
- Timestamp:
- Oct 29, 2009, 8:30:58 PM (16 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/InventoryLocation.groovy
r162 r175 1 class StoreLocation {1 class InventoryLocation { 2 2 3 3 InventoryStore inventoryStore 4 String bin4 String name 5 5 Boolean isActive = true 6 6 7 static hasMany = [ storedItems: StoredItem]7 static hasMany = [inventoryItems: InventoryItem] 8 8 9 static belongsTo = [InventoryStore]9 // static belongsTo = [InventoryStore] 10 10 11 11 static constraints = { 12 bin(maxSize:50)12 name(maxSize:50) 13 13 } 14 14 15 15 String toString() { 16 "${this. bin}"16 "${this.name}" 17 17 } 18 18 }
Note: See TracChangeset
for help on using the changeset viewer.