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


import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

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


     private Long idAmortizacion;
     private Long idTituloCntorig;
     private Date mes;
     private String monto;
     private Long idContratoOriginal;

    public DdaMAmortizacion() {
    }

    public DdaMAmortizacion(Long idAmortizacion, Long idTituloCntorig, Date mes, String monto, Long idContratoOriginal) {
       this.idAmortizacion = idAmortizacion;
       this.idTituloCntorig = idTituloCntorig;
       this.mes = mes;
       this.monto = monto;
       this.idContratoOriginal = idContratoOriginal;
    }
   
     @Id 

    
    @Column(name="ID_AMORTIZACION", unique=true, nullable=false, precision=38, scale=0)
    public Long getIdAmortizacion() {
        return this.idAmortizacion;
    }
    
    public void setIdAmortizacion(Long idAmortizacion) {
        this.idAmortizacion = idAmortizacion;
    }

    
    @Column(name="ID_TITULO_CNTORIG", nullable=false, precision=38, scale=0)
    public Long getIdTituloCntorig() {
        return this.idTituloCntorig;
    }
    
    public void setIdTituloCntorig(Long idTituloCntorig) {
        this.idTituloCntorig = idTituloCntorig;
    }

    @Temporal(TemporalType.DATE)
    @Column(name="MES", nullable=false, length=7)
    public Date getMes() {
        return this.mes;
    }
    
    public void setMes(Date mes) {
        this.mes = mes;
    }

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

    
    @Column(name="ID_CONTRATO_ORIGINAL", nullable=false, precision=38, scale=0)
    public Long getIdContratoOriginal() {
        return this.idContratoOriginal;
    }
    
    public void setIdContratoOriginal(Long idContratoOriginal) {
        this.idContratoOriginal = idContratoOriginal;
    }




}


