Changeset 268 for trunk/grails-app/domain/Site.groovy
- Timestamp:
- Jan 14, 2010, 10:51:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/domain/Site.groovy
r163 r268 3 3 String name 4 4 String description = "" 5 String costCode = ""6 5 Boolean isActive = true 7 6 8 static hasMany = [inventoryStores: InventoryStore, systemSections: SystemSection] 7 // static hasMany = [inventoryStores: InventoryStore, systemSections: SystemSection] 8 static hasMany = [sections: Section, 9 siteExtendedAttributes: SiteExtendedAttribute] 9 10 10 11 // static belongsTo = [] 11 12 12 13 static constraints = { 13 name(maxSize:50, unique:true,blank:false)14 name(maxSize:50, unique:true, blank:false) 14 15 description(maxSize:100) 16 isActive() 15 17 } 16 18
Note: See TracChangeset
for help on using the changeset viewer.