Adição de Estoque Simplificado macon feat bug #AL-3865
parent
1403109f3a
commit
0e45fe5b1f
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ModelWeb</artifactId>
|
<artifactId>ModelWeb</artifactId>
|
||||||
<version>1.39.1</version>
|
<version>1.40.0</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -48,6 +48,10 @@ public class Constantes {
|
||||||
public static final Integer TIPO_OPERACION_CC_LQ = new Integer(1);
|
public static final Integer TIPO_OPERACION_CC_LQ = new Integer(1);
|
||||||
public static final Integer TIPO_OPERACION_CC_PAGO = new Integer(2);
|
public static final Integer TIPO_OPERACION_CC_PAGO = new Integer(2);
|
||||||
|
|
||||||
|
public static final Integer ARTICULO_VENTA = 1;
|
||||||
|
public static final Integer ARTICULO_OUTROS = 2;
|
||||||
|
public static final Integer ARTICULO_MANUAL = 3;
|
||||||
|
|
||||||
public static Short TURNO_AUTOMATICO = new Short("99");
|
public static Short TURNO_AUTOMATICO = new Short("99");
|
||||||
|
|
||||||
public static final String IMAGEM_EMPRESA = "EMPRESA_BACKGROUND";
|
public static final String IMAGEM_EMPRESA = "EMPRESA_BACKGROUND";
|
||||||
|
|
|
@ -12,7 +12,6 @@ import javax.persistence.GeneratedValue;
|
||||||
import javax.persistence.GenerationType;
|
import javax.persistence.GenerationType;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.JoinColumn;
|
import javax.persistence.JoinColumn;
|
||||||
import javax.persistence.ManyToOne;
|
|
||||||
import javax.persistence.OneToMany;
|
import javax.persistence.OneToMany;
|
||||||
import javax.persistence.OneToOne;
|
import javax.persistence.OneToOne;
|
||||||
import javax.persistence.SequenceGenerator;
|
import javax.persistence.SequenceGenerator;
|
||||||
|
@ -50,6 +49,10 @@ public class Clasificacion implements Serializable {
|
||||||
@OneToMany(mappedBy = "clasificacion", cascade = CascadeType.ALL)
|
@OneToMany(mappedBy = "clasificacion", cascade = CascadeType.ALL)
|
||||||
private List<RequisicionBoleto> requisicionBoletoList;
|
private List<RequisicionBoleto> requisicionBoletoList;
|
||||||
|
|
||||||
|
public Clasificacion(Integer clasificacionId) {
|
||||||
|
this.clasificacionId = clasificacionId;
|
||||||
|
}
|
||||||
|
|
||||||
public Integer getClasificacionId() {
|
public Integer getClasificacionId() {
|
||||||
return clasificacionId;
|
return clasificacionId;
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,9 @@ public class DetAbastoBoleto implements Serializable {
|
||||||
@JoinColumn(name = "ABASTOBOLETO_ID", referencedColumnName = "ABASTOBOLETO_ID")
|
@JoinColumn(name = "ABASTOBOLETO_ID", referencedColumnName = "ABASTOBOLETO_ID")
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
private AbastoBoleto abastoBoleto;
|
private AbastoBoleto abastoBoleto;
|
||||||
|
@JoinColumn(name = "AIDF_ID", referencedColumnName = "AIDF_ID")
|
||||||
|
@ManyToOne
|
||||||
|
private Aidf aidf;
|
||||||
|
|
||||||
public Integer getDetabastoboletoId() {
|
public Integer getDetabastoboletoId() {
|
||||||
return detabastoboletoId;
|
return detabastoboletoId;
|
||||||
|
@ -158,6 +161,14 @@ public class DetAbastoBoleto implements Serializable {
|
||||||
this.abastoBoleto = abastoBoleto;
|
this.abastoBoleto = abastoBoleto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Aidf getAidf() {
|
||||||
|
return aidf;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAidf(Aidf aidf) {
|
||||||
|
this.aidf = aidf;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
final int prime = 31;
|
final int prime = 31;
|
||||||
|
|
|
@ -155,6 +155,8 @@ public enum CustomEnum {
|
||||||
|
|
||||||
INTEGRACION_SAFER("integracion.safer"),
|
INTEGRACION_SAFER("integracion.safer"),
|
||||||
|
|
||||||
|
VALIDA_ESTOQUE_SIMPLIFICADO("MODCLI_ValidaEstoqueSimplificado"),
|
||||||
|
|
||||||
IS_VENDA_MACON("IsVendaMacon");
|
IS_VENDA_MACON("IsVendaMacon");
|
||||||
|
|
||||||
private String descricao;
|
private String descricao;
|
||||||
|
|
Loading…
Reference in New Issue