export interface Person {
    uuid: String,
    nu?: Number,
    first_name?: String,
    last_name?: String,
    full_name?: String,
    gender?: String,
    birthday?: Date,
    tax_number?: String,
    social_security_number?: String,
    description?: String,
    type?: TypeDefault,
    group?: Group,
    addresses?: Array<any>
}

export interface Contract {
    uuid: String,
    reference?: String,
    start_date?: Date,
    end_date?: Date,
    type?: TypeDefault,
    debtor: Person
}

export interface Client extends Person {
    contracts: Array<Contract>,

}

export interface Group {
    id: Number,
    name?: String,
    description?: String
}

export interface TypeDefault {
    id: Number,
    name: String,
    description?: String
}

export interface Address {
    id: Number,
    address: String,
    country: String,
    type: TypeDefault,
    description: String,

}