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;

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


     private DdaTContratoBvId id;
     private String descTitulo;

    public DdaTContratoBv() {
    }

	
    public DdaTContratoBv(DdaTContratoBvId id) {
        this.id = id;
    }
    public DdaTContratoBv(DdaTContratoBvId id, String descTitulo) {
       this.id = id;
       this.descTitulo = descTitulo;
    }
   
     @EmbeddedId

    
    @AttributeOverrides( {
        @AttributeOverride(name="idCntBv", column=@Column(name="ID_CNT_BV", nullable=false, precision=38, scale=0) ), 
        @AttributeOverride(name="idBv", column=@Column(name="ID_BV", nullable=false, length=25) ) } )
    public DdaTContratoBvId getId() {
        return this.id;
    }
    
    public void setId(DdaTContratoBvId id) {
        this.id = id;
    }

    
    @Column(name="DESC_TITULO", length=75)
    public String getDescTitulo() {
        return this.descTitulo;
    }
    
    public void setDescTitulo(String descTitulo) {
        this.descTitulo = descTitulo;
    }




}


