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/MaintenancePolicy.groovy

    r122 r268  
    55    boolean isActive = true
    66
    7     static hasMany = [maintenanceActions: MaintenanceAction]
     7//     static hasMany = [maintenanceActions: MaintenanceAction]
    88
    99//     static belongsTo = []
    1010
    11 //     static constraints = {
    12 //     }
     11    static constraints = {
     12        name(maxSize:50, unique:true, blank:false)
     13        description(maxSize:100)
     14        isActive()
     15    }
    1316
    1417    String toString() {
Note: See TracChangeset for help on using the changeset viewer.