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;

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


     private Long idCarga;
     private Short idEmpresa;
     private Date mesCarga;
     private String suscriptores;

    public DdaTCargaSuscriptor() {
    }

	
    public DdaTCargaSuscriptor(Long idCarga, Date mesCarga) {
        this.idCarga = idCarga;
        this.mesCarga = mesCarga;
    }
    public DdaTCargaSuscriptor(Long idCarga, Short idEmpresa, Date mesCarga, String suscriptores) {
       this.idCarga = idCarga;
       this.idEmpresa = idEmpresa;
       this.mesCarga = mesCarga;
       this.suscriptores = suscriptores;
    }
   
     @Id 

    
    @Column(name="ID_CARGA", unique=true, nullable=false, precision=38, scale=0)
    public Long getIdCarga() {
        return this.idCarga;
    }
    
    public void setIdCarga(Long idCarga) {
        this.idCarga = idCarga;
    }

    
    @Column(name="ID_EMPRESA", precision=3, scale=0)
    public Short getIdEmpresa() {
        return this.idEmpresa;
    }
    
    public void setIdEmpresa(Short idEmpresa) {
        this.idEmpresa = idEmpresa;
    }

    @Temporal(TemporalType.DATE)
    @Column(name="MES_CARGA", nullable=false, length=7)
    public Date getMesCarga() {
        return this.mesCarga;
    }
    
    public void setMesCarga(Date mesCarga) {
        this.mesCarga = mesCarga;
    }

    
    @Column(name="SUSCRIPTORES", length=25)
    public String getSuscriptores() {
        return this.suscriptores;
    }
    
    public void setSuscriptores(String suscriptores) {
        this.suscriptores = suscriptores;
    }




}


