class Asset {

    SystemSection systemSection
    AssetType assetType

    String name
    String description = ""
    boolean isActive = true

    static hasMany = [maintenanceActions: MaintenanceAction]

    static belongsTo = [SystemSection, AssetType]

//     static constraints = {
//     }

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

