Nfent generated by hbm2java
*/
@Entity
@Table(name=“nfent”
,catalog=“galpres”
)
public class Nfent implements java.io.Serializable {
private Integer numtransent;
private int numnfent;
private Date dtent;
private Date dtselo;
private Date dtemissao;
private Date dtsaida;
private Double vltotal;
private String tipoentrada;
private String serie;
private String especie;
private Integer codfilial;
private Integer codfornec;
private Date dtcancel;
private Set nfmovs = new HashSet(0);
public Nfent() {
}
public Nfent(int numnfent, Date dtent) {
this.numnfent = numnfent;
this.dtent = dtent;
}
public Nfent(int numnfent, Date dtent, Date dtselo, Date dtemissao, Date dtsaida, Double vltotal, String tipoentrada, String serie, String especie, Integer codfilial, Integer codfornec, Date dtcancel, Set nfmovs) {
this.numnfent = numnfent;
this.dtent = dtent;
this.dtselo = dtselo;
this.dtemissao = dtemissao;
this.dtsaida = dtsaida;
this.vltotal = vltotal;
this.tipoentrada = tipoentrada;
this.serie = serie;
this.especie = especie;
this.codfilial = codfilial;
this.codfornec = codfornec;
this.dtcancel = dtcancel;
this.nfmovs = nfmovs;
}
@Id @GeneratedValue(strategy=IDENTITY)
@Column(name=“numtransent”, unique=true, nullable=false)
public Integer getNumtransent() {
return this.numtransent;
}
public void setNumtransent(Integer numtransent) {
this.numtransent = numtransent;
}
@Column(name=“numnfent”, nullable=false)
public int getNumnfent() {
return this.numnfent;
}
public void setNumnfent(int numnfent) {
this.numnfent = numnfent;
}
@Temporal(TemporalType.DATE)
@Column(name=“dtent”, nullable=false, length=10)
public Date getDtent() {
return this.dtent;
}
public void setDtent(Date dtent) {
this.dtent = dtent;
}
@Temporal(TemporalType.DATE)
@Column(name=“dtselo”, length=10)
public Date getDtselo() {
return this.dtselo;
}
public void setDtselo(Date dtselo) {
this.dtselo = dtselo;
}
@Temporal(TemporalType.DATE)
@Column(name=“dtemissao”, length=10)
public Date getDtemissao() {
return this.dtemissao;
}
public void setDtemissao(Date dtemissao) {
this.dtemissao = dtemissao;
}
@Temporal(TemporalType.DATE)
@Column(name=“dtsaida”, length=10)
public Date getDtsaida() {
return this.dtsaida;
}
public void setDtsaida(Date dtsaida) {
this.dtsaida = dtsaida;
}
@Column(name=“vltotal”, precision=22, scale=0)
public Double getVltotal() {
return this.vltotal;
}
public void setVltotal(Double vltotal) {
this.vltotal = vltotal;
}
@Column(name=“tipoentrada”, length=45)
public String getTipoentrada() {
return this.tipoentrada;
}
public void setTipoentrada(String tipoentrada) {
this.tipoentrada = tipoentrada;
}
@Column(name=“serie”, length=5)
public String getSerie() {
return this.serie;
}
public void setSerie(String serie) {
this.serie = serie;
}
@Column(name=“especie”, length=5)
public String getEspecie() {
return this.especie;
}
public void setEspecie(String especie) {
this.especie = especie;
}
@Column(name=“codfilial”)
public Integer getCodfilial() {
return this.codfilial;
}
public void setCodfilial(Integer codfilial) {
this.codfilial = codfilial;
}
@Column(name=“codfornec”)
public Integer getCodfornec() {
return this.codfornec;
}
public void setCodfornec(Integer codfornec) {
this.codfornec = codfornec;
}
@Temporal(TemporalType.DATE)
@Column(name=“dtcancel”, length=10)
public Date getDtcancel() {
return this.dtcancel;
}
public void setDtcancel(Date dtcancel) {
this.dtcancel = dtcancel;
}