Ignore:
Timestamp:
Feb 23, 2010, 10:14:19 PM (15 years ago)
Author:
gav
Message:

Add estimatedUnitPrice to InventoryItem.
Change InventoryItem to use serviced controller and shared messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/InventoryItem.groovy

    r182 r405  
    99    String description = ""
    1010    String manufacturersPartNumber
     11    BigDecimal estimatedUnitPriceAmount
     12    Currency estimatedUnitPriceCurrency
    1113    String suppliersPartNumber
    1214    Integer unitsInStock = 0
     
    3638        unitsInStock(min:0)
    3739        unitOfMeasure()
     40        estimatedUnitPriceAmount(nullable:true, max: new BigDecimal(999999999999))
     41        estimatedUnitPriceCurrency(nullable:true)
    3842        reorderPoint()
    3943        enableReorder()
Note: See TracChangeset for help on using the changeset viewer.