Skip to content

Commit 3e95e31

Browse files
committed
refactor: remover criação obrigatória de MDFeProdPred e MDFeInfLotacao
1 parent 9e23495 commit 3e95e31

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

MDFe.Classes/Informacoes/MDFeInfMDFe.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ public MDFeInfMDFe()
4747
InfModal = new MDFeInfModal();
4848
InfDoc = new MDFeInfDoc();
4949
Tot = new MDFeTot();
50-
ProdPred = new MDFeProdPred();
5150
Versao = VersaoServico.Versao100;
5251
}
5352

MDFe.Classes/Informacoes/MDFeProdPred.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ namespace MDFe.Classes.Informacoes
4040
[Serializable]
4141
public class MDFeProdPred
4242
{
43-
public MDFeProdPred()
44-
{
45-
InfLotacao = new MDFeInfLotacao();
46-
}
47-
4843
/// <summary>
4944
/// 1 - Tipo da Carga.
5045
/// Conforme Rosulação ANTT

0 commit comments

Comments
 (0)