package com.dla.dda.persistence.model;
// Generated Aug 12, 2016 1:06:47 PM by Hibernate Tools 5.0.0.Final


import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * DdaTTcambioPais generated by hbm2java
 */
@Entity
@Table(name="DDA_T_TCAMBIO_PAIS"
)
public class DdaTTcambioPais  implements java.io.Serializable {


     private DdaTTcambioPaisId id;
     private String valor;

    public DdaTTcambioPais() {
    }

	
    public DdaTTcambioPais(DdaTTcambioPaisId id) {
        this.id = id;
    }
    public DdaTTcambioPais(DdaTTcambioPaisId id, String valor) {
       this.id = id;
       this.valor = valor;
    }
   
     @EmbeddedId

    
    @AttributeOverrides( {
        @AttributeOverride(name="idPais", column=@Column(name="ID_PAIS", nullable=false, precision=3, scale=0) ), 
        @AttributeOverride(name="mes", column=@Column(name="MES", nullable=false, length=7) ), 
        @AttributeOverride(name="idTipocambio", column=@Column(name="ID_TIPOCAMBIO", nullable=false, precision=1, scale=0) ) } )
    public DdaTTcambioPaisId getId() {
        return this.id;
    }
    
    public void setId(DdaTTcambioPaisId id) {
        this.id = id;
    }

    
    @Column(name="VALOR", length=15)
    public String getValor() {
        return this.valor;
    }
    
    public void setValor(String valor) {
        this.valor = valor;
    }




}


