Ignore:
Timestamp:
Feb 22, 2010, 6:29:13 PM (15 years ago)
Author:
gav
Message:

Add address feature.

Location:
trunk/grails-app/domain
Files:
2 added
4 edited

Legend:

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

    r373 r397  
    55    boolean isActive = true
    66
    7     static hasMany = [inventoryItems: InventoryItem]
     7    static hasMany = [inventoryItems: InventoryItem, addresses: Address]
    88
    99    static belongsTo = [InventoryItem]
  • trunk/grails-app/domain/Person.groovy

    r343 r397  
    55                        taskModifications: TaskModification,
    66                        entries: Entry,
    7                         tasks: Task]
     7                        tasks: Task,
     8                        addresses: Address]
    89
    910    static belongsTo = [Authority]
  • trunk/grails-app/domain/Site.groovy

    r332 r397  
    88    static hasMany = [sections: Section,
    99                                siteExtendedAttributes: SiteExtendedAttribute,
    10                                 inventoryStores: InventoryStore]
     10                                inventoryStores: InventoryStore,
     11                                addresses: Address]
    1112
    1213//     static belongsTo = []
  • trunk/grails-app/domain/Supplier.groovy

    r373 r397  
    55    boolean isActive = true
    66
    7     static hasMany = [inventoryItems: InventoryItem]
     7    static hasMany = [inventoryItems: InventoryItem, addresses: Address]
    88
    99    static belongsTo = [InventoryItem]
Note: See TracChangeset for help on using the changeset viewer.