Ignore:
Timestamp:
Jan 14, 2010, 10:51:03 PM (14 years ago)
Author:
gav
Message:

Refactor classes for asset tree refinement.
Regenerate views and controllers to suite.

File:
1 edited

Legend:

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

    r163 r268  
    33    String name
    44    String description = ""
    5     String costCode = ""
    65    Boolean isActive = true
    76
    8     static hasMany = [inventoryStores: InventoryStore, systemSections: SystemSection]
     7//     static hasMany = [inventoryStores: InventoryStore, systemSections: SystemSection]
     8    static hasMany = [sections: Section,
     9                                siteExtendedAttributes: SiteExtendedAttribute]
    910
    1011//     static belongsTo = []
    1112
    1213    static constraints = {
    13         name(maxSize:50,unique:true,blank:false)
     14        name(maxSize:50, unique:true, blank:false)
    1415        description(maxSize:100)
     16        isActive()
    1517    }
    1618
Note: See TracChangeset for help on using the changeset viewer.