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;

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


     private Long idLdr;
     private DdaTCargabvPrincipal ddaTCargabvPrincipal;
     private Long idDda;
     private String idBroadview;
     private String nombreEstandar;
     private String estatus;
     private String comentarios;

    public DdaTCargabvDetalleLdr() {
    }

	
    public DdaTCargabvDetalleLdr(Long idLdr) {
        this.idLdr = idLdr;
    }
    public DdaTCargabvDetalleLdr(Long idLdr, DdaTCargabvPrincipal ddaTCargabvPrincipal, Long idDda, String idBroadview, String nombreEstandar, String estatus, String comentarios) {
       this.idLdr = idLdr;
       this.ddaTCargabvPrincipal = ddaTCargabvPrincipal;
       this.idDda = idDda;
       this.idBroadview = idBroadview;
       this.nombreEstandar = nombreEstandar;
       this.estatus = estatus;
       this.comentarios = comentarios;
    }
   
     @Id 

    
    @Column(name="ID_LDR", unique=true, nullable=false, precision=38, scale=0)
    public Long getIdLdr() {
        return this.idLdr;
    }
    
    public void setIdLdr(Long idLdr) {
        this.idLdr = idLdr;
    }

@ManyToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ID_CARGA")
    public DdaTCargabvPrincipal getDdaTCargabvPrincipal() {
        return this.ddaTCargabvPrincipal;
    }
    
    public void setDdaTCargabvPrincipal(DdaTCargabvPrincipal ddaTCargabvPrincipal) {
        this.ddaTCargabvPrincipal = ddaTCargabvPrincipal;
    }

    
    @Column(name="ID_DDA", precision=38, scale=0)
    public Long getIdDda() {
        return this.idDda;
    }
    
    public void setIdDda(Long idDda) {
        this.idDda = idDda;
    }

    
    @Column(name="ID_BROADVIEW", length=12)
    public String getIdBroadview() {
        return this.idBroadview;
    }
    
    public void setIdBroadview(String idBroadview) {
        this.idBroadview = idBroadview;
    }

    
    @Column(name="NOMBRE_ESTANDAR", length=200)
    public String getNombreEstandar() {
        return this.nombreEstandar;
    }
    
    public void setNombreEstandar(String nombreEstandar) {
        this.nombreEstandar = nombreEstandar;
    }

    
    @Column(name="ESTATUS", length=2)
    public String getEstatus() {
        return this.estatus;
    }
    
    public void setEstatus(String estatus) {
        this.estatus = estatus;
    }

    
    @Column(name="COMENTARIOS", length=100)
    public String getComentarios() {
        return this.comentarios;
    }
    
    public void setComentarios(String comentarios) {
        this.comentarios = comentarios;
    }




}


