class InventoryStore {

    Site site
    String name
    String description = ""
    Boolean isActive = true

    static hasMany = [inventoryLocations: InventoryLocation]

    static belongsTo = [Site]

    static constraints = {
        name(maxSize:50,unique:true,blank:false)
        description(maxSize:100)
    }

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