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


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

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


     private Long idMinimum;
     private DdaTContrato ddaTContrato;
     private Short idPais;
     private Long idRelease;
     private Long idFormato;
     private String monto;

    public DdaTContratoMinimum() {
    }

	
    public DdaTContratoMinimum(Long idMinimum) {
        this.idMinimum = idMinimum;
    }
    public DdaTContratoMinimum(Long idMinimum, DdaTContrato ddaTContrato, Short idPais, Long idRelease, Long idFormato, String monto) {
       this.idMinimum = idMinimum;
       this.ddaTContrato = ddaTContrato;
       this.idPais = idPais;
       this.idRelease = idRelease;
       this.idFormato = idFormato;
       this.monto = monto;
    }
   
     @Id 

    
    @Column(name="ID_MINIMUM", unique=true, nullable=false, precision=38, scale=0)
    public Long getIdMinimum() {
        return this.idMinimum;
    }
    
    public void setIdMinimum(Long idMinimum) {
        this.idMinimum = idMinimum;
    }

@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ID_CONTRATO")
    public DdaTContrato getDdaTContrato() {
        return this.ddaTContrato;
    }
    
    public void setDdaTContrato(DdaTContrato ddaTContrato) {
        this.ddaTContrato = ddaTContrato;
    }

    
    @Column(name="ID_PAIS", precision=3, scale=0)
    public Short getIdPais() {
        return this.idPais;
    }
    
    public void setIdPais(Short idPais) {
        this.idPais = idPais;
    }

    
    @Column(name="ID_RELEASE", precision=2, scale=0)
    public Long getIdRelease() {
        return this.idRelease;
    }
    
    public void setIdRelease(Long idRelease) {
        this.idRelease = idRelease;
    }

    
    @Column(name="ID_FORMATO", precision=2, scale=0)
    public Long getIdFormato() {
        return this.idFormato;
    }
    
    public void setIdFormato(Long idFormato) {
        this.idFormato = idFormato;
    }

    
    @Column(name="MONTO", length=25)
    public String getMonto() {
        return this.monto;
    }
    
    public void setMonto(String monto) {
        this.monto = monto;
    }




}


