class SubAssembly {

    Assembly assembly

    String name
    String description = ""
    boolean isActive = true

    static hasMany = [componentItems: ComponentItem,
                                    maintenanceActions: MaintenanceAction]

    static belongsTo = [Assembly]

//     static constraints = {
// 
//     }

    String toString() {
        "${this.name}"
    }
}

