Changeset 177 for trunk/grails-app/domain
- Timestamp:
- Nov 2, 2009, 1:17:03 PM (15 years ago)
- Location:
- trunk/grails-app/domain
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/InventoryMovement.groovy
r175 r177 8 8 Date date = new Date() 9 9 10 // static belongsTo = [ inventoryItem]10 // static belongsTo = [] 11 11 12 12 static constraints = { -
trunk/grails-app/domain/InventoryMovementType.groovy
r116 r177 2 2 String name 3 3 String description = "" 4 boolean incrementsInventory = false 4 5 boolean isActive = true 5 6 6 7 static hasMany = [inventoryMovements: InventoryMovement] 7 8 8 9 static contstraints = { 9 10 name(maxSize:50,unique:true,blank:false) 10 11 description(maxSize:100) 12 incrementsInventory() 13 isActive() 11 14 } 12 15
Note: See TracChangeset
for help on using the changeset viewer.