Source

Texa / grails-app / domain / com / koyanainc / bc / Client.groovy

Full commit
package com.koyanainc.bc

class Client extends ResponsibleParty {

    String name
    String addressOne = ""
    String addressTwo = ""

    String city = ""
    String state = ""
    String zip = ""

    String country = ""
    String webAddress = ""
    String phoneNumberOffice = ""

    String phoneNumberFax = ""
    String timeZoneId = ""

    Boolean canSeePrivate = false

    String uuid = ""

    //clientOf
    //static belongsTo = [account:Account]

    static hasMany = [people:Person]

    static constraints = {
        name(nullable:false)
    }


    static mapping = {
        id generator: 'assigned'

    }
}