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;

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


     private Long idRangoPlf;
     private DdaTContratoPlicense ddaTContratoPlicense;
     private String desde;
     private String hasta;
     private String monto;

    public DdaTContratoPlfRango() {
    }

	
    public DdaTContratoPlfRango(Long idRangoPlf) {
        this.idRangoPlf = idRangoPlf;
    }
    public DdaTContratoPlfRango(Long idRangoPlf, DdaTContratoPlicense ddaTContratoPlicense, String desde, String hasta, String monto) {
       this.idRangoPlf = idRangoPlf;
       this.ddaTContratoPlicense = ddaTContratoPlicense;
       this.desde = desde;
       this.hasta = hasta;
       this.monto = monto;
    }
   
     @Id 

    
    @Column(name="ID_RANGO_PLF", unique=true, nullable=false, precision=38, scale=0)
    public Long getIdRangoPlf() {
        return this.idRangoPlf;
    }
    
    public void setIdRangoPlf(Long idRangoPlf) {
        this.idRangoPlf = idRangoPlf;
    }

@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ID_CONTRATO")
    public DdaTContratoPlicense getDdaTContratoPlicense() {
        return this.ddaTContratoPlicense;
    }
    
    public void setDdaTContratoPlicense(DdaTContratoPlicense ddaTContratoPlicense) {
        this.ddaTContratoPlicense = ddaTContratoPlicense;
    }

    
    @Column(name="DESDE", length=25)
    public String getDesde() {
        return this.desde;
    }
    
    public void setDesde(String desde) {
        this.desde = desde;
    }

    
    @Column(name="HASTA", length=25)
    public String getHasta() {
        return this.hasta;
    }
    
    public void setHasta(String hasta) {
        this.hasta = hasta;
    }

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




}


