Adição de Estoque Simplificado macon feat bug #AL-3865' (!152) from AL-3865 into master
Reviewed-on: adm/ModelWeb#152 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>master
commit
1ae6ce4b27
2
pom.xml
2
pom.xml
|
@ -3,7 +3,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ModelWeb</artifactId>
|
||||
<version>1.39.1</version>
|
||||
<version>1.40.0</version>
|
||||
|
||||
<distributionManagement>
|
||||
<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_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 final String IMAGEM_EMPRESA = "EMPRESA_BACKGROUND";
|
||||
|
|
|
@ -12,7 +12,6 @@ import javax.persistence.GeneratedValue;
|
|||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.OneToMany;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.SequenceGenerator;
|
||||
|
@ -50,6 +49,10 @@ public class Clasificacion implements Serializable {
|
|||
@OneToMany(mappedBy = "clasificacion", cascade = CascadeType.ALL)
|
||||
private List<RequisicionBoleto> requisicionBoletoList;
|
||||
|
||||
public Clasificacion(Integer clasificacionId) {
|
||||
this.clasificacionId = clasificacionId;
|
||||
}
|
||||
|
||||
public Integer getClasificacionId() {
|
||||
return clasificacionId;
|
||||
}
|
||||
|
|
|
@ -53,6 +53,9 @@ public class DetAbastoBoleto implements Serializable {
|
|||
@JoinColumn(name = "ABASTOBOLETO_ID", referencedColumnName = "ABASTOBOLETO_ID")
|
||||
@ManyToOne
|
||||
private AbastoBoleto abastoBoleto;
|
||||
@JoinColumn(name = "AIDF_ID", referencedColumnName = "AIDF_ID")
|
||||
@ManyToOne
|
||||
private Aidf aidf;
|
||||
|
||||
public Integer getDetabastoboletoId() {
|
||||
return detabastoboletoId;
|
||||
|
@ -158,6 +161,14 @@ public class DetAbastoBoleto implements Serializable {
|
|||
this.abastoBoleto = abastoBoleto;
|
||||
}
|
||||
|
||||
public Aidf getAidf() {
|
||||
return aidf;
|
||||
}
|
||||
|
||||
public void setAidf(Aidf aidf) {
|
||||
this.aidf = aidf;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
|
|
|
@ -155,6 +155,8 @@ public enum CustomEnum {
|
|||
|
||||
INTEGRACION_SAFER("integracion.safer"),
|
||||
|
||||
VALIDA_ESTOQUE_SIMPLIFICADO("MODCLI_ValidaEstoqueSimplificado"),
|
||||
|
||||
IS_VENDA_MACON("IsVendaMacon");
|
||||
|
||||
private String descricao;
|
||||
|
|
Loading…
Reference in New Issue