Changeset 177 for trunk/grails-app/domain/InventoryMovementType.groovy
- Timestamp:
- Nov 2, 2009, 1:17:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.