class ComponentItem {

    SubAssembly subAssembly

    String name
    String description = ""
    boolean isActive = true

    static hasMany = [maintenanceActions: MaintenanceAction]

    static belongsTo = [SubAssembly]

//     static constraints = {
// 
//     }

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

