17/04/2026 - Atualizando projeto
This commit is contained in:
parent
407b4b4b17
commit
7882311e7b
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MLL;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
|
||||
@ -75,7 +75,7 @@ namespace DALL
|
||||
{
|
||||
//cmd.Parameters.AddWithValue("@CODIGO", obj.CODIGO ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@COMPROMISSO", obj.COMPROMISSO ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@dDATA", obj.dDATA ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@dDATA", obj.DDATA ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@AVISAR", obj.AVISAR ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@FUNC", obj.FUNC ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@DIA", obj.DIA ?? (object)DBNull.Value);
|
||||
@ -119,7 +119,7 @@ namespace DALL
|
||||
cmd.Parameters.AddWithValue("@ID", obj.ID_AGENDA);
|
||||
cmd.Parameters.AddWithValue("@CODIGO", obj.CODIGO ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@COMPROMISSO", obj.COMPROMISSO ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@dDATA", obj.dDATA ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@dDATA", obj.DDATA ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@AVISAR", obj.AVISAR ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@FUNC", obj.FUNC ?? (object)DBNull.Value);
|
||||
cmd.Parameters.AddWithValue("@DIA", obj.DIA ?? (object)DBNull.Value);
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using Microsoft.Data.SqlClient;
|
||||
using MLL;
|
||||
|
||||
public class DALEmpresaConfig
|
||||
{
|
||||
|
||||
75
DAL/DALLconexao.cs
Normal file
75
DAL/DALLconexao.cs
Normal file
@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using Microsoft.Data.SqlClient;
|
||||
|
||||
namespace DAL
|
||||
{
|
||||
public class DALLconexao : IDisposable
|
||||
{
|
||||
private string _stringConexao;
|
||||
private SqlConnection _conexao;
|
||||
private SqlTransaction? _transaction;
|
||||
public void Dispose()
|
||||
{
|
||||
_transaction?.Dispose();
|
||||
_conexao?.Dispose();
|
||||
}
|
||||
|
||||
public DALLconexao(string dadosConexao)
|
||||
{
|
||||
_stringConexao = dadosConexao;
|
||||
_conexao = new SqlConnection(_stringConexao);
|
||||
}
|
||||
|
||||
|
||||
public string StringConexao
|
||||
{
|
||||
get { return _stringConexao; }
|
||||
set { _stringConexao = value; }
|
||||
}
|
||||
|
||||
public SqlConnection ObjetoConexao
|
||||
{
|
||||
get { return _conexao; }
|
||||
set { _conexao = value; }
|
||||
}
|
||||
|
||||
public SqlTransaction? ObjetoTransaction
|
||||
{
|
||||
get { return _transaction; }
|
||||
set { _transaction = value; }
|
||||
}
|
||||
|
||||
public void Conectar()
|
||||
{
|
||||
if (_conexao.State != System.Data.ConnectionState.Open)
|
||||
_conexao.Open();
|
||||
}
|
||||
|
||||
public void Desconectar()
|
||||
{
|
||||
if (_conexao.State != System.Data.ConnectionState.Closed)
|
||||
_conexao.Close();
|
||||
}
|
||||
|
||||
public void IniciarTransacao()
|
||||
{
|
||||
if (_conexao.State != System.Data.ConnectionState.Open)
|
||||
_conexao.Open();
|
||||
|
||||
_transaction = _conexao.BeginTransaction();
|
||||
}
|
||||
|
||||
public void TerminarTransacao()
|
||||
{
|
||||
_transaction?.Commit();
|
||||
_transaction = null;
|
||||
}
|
||||
|
||||
public void CancelarTransacao()
|
||||
{
|
||||
try { _transaction?.Rollback(); }
|
||||
catch { /* log aqui futuramente */ }
|
||||
finally { _transaction = null; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -9,7 +9,7 @@ namespace MLL
|
||||
this.ID_AGENDA = 0;
|
||||
this.CODIGO = string.Empty;
|
||||
this.COMPROMISSO = string.Empty;
|
||||
this.dDATA = string.Empty;
|
||||
this.DDATA = string.Empty;
|
||||
this.AVISAR = string.Empty;
|
||||
this.FUNC = string.Empty;
|
||||
this.DIA = string.Empty;
|
||||
@ -23,7 +23,7 @@ namespace MLL
|
||||
ID_AGENDA = iD_AGENDA;
|
||||
CODIGO = cODIGO;
|
||||
COMPROMISSO = cOMPROMISSO;
|
||||
this.dDATA = dDATA;
|
||||
DDATA = dDATA;
|
||||
AVISAR = aVISAR;
|
||||
FUNC = fUNC;
|
||||
DIA = dIA;
|
||||
@ -35,7 +35,7 @@ namespace MLL
|
||||
public int ID_AGENDA { get; set; }
|
||||
public string CODIGO { get; set; }
|
||||
public string COMPROMISSO { get; set; }
|
||||
public string dDATA { get; set; }
|
||||
public string DDATA { get; set; }
|
||||
public string AVISAR { get; set; }
|
||||
public string FUNC { get; set; }
|
||||
public string DIA { get; set; }
|
||||
|
||||
@ -7,6 +7,9 @@ namespace MLL
|
||||
// ✅ Construtor vazio (OBRIGATÓRIO pro seu DAL)
|
||||
public ModeloBancos()
|
||||
{
|
||||
this.ID_BANCOS = 0;
|
||||
this.NUMERO = string.Empty;
|
||||
this.NOME = string.Empty;
|
||||
}
|
||||
|
||||
// ✅ Construtor completo
|
||||
|
||||
@ -4,6 +4,24 @@ namespace MLL
|
||||
{
|
||||
public class ModeloBoletos
|
||||
{
|
||||
public ModeloBoletos()
|
||||
{
|
||||
this.ID_BOLETO = 0;
|
||||
this.CODIGO = string.Empty;
|
||||
this.EMITIDO = string.Empty;
|
||||
this.VENCE = string.Empty;
|
||||
this.VALOR = string.Empty;
|
||||
this.NUMERO = string.Empty;
|
||||
this.PG = string.Empty;
|
||||
this.SACADO = string.Empty;
|
||||
this.CONTA = string.Empty;
|
||||
this.OBSERVACAO = string.Empty;
|
||||
this.COD_CONTA = string.Empty;
|
||||
this.NOSSO_NUMERO = string.Empty;
|
||||
this.ACEITE = string.Empty;
|
||||
this.IMPRESSO = string.Empty;
|
||||
this.IMPORTACAO = string.Empty;
|
||||
}
|
||||
public ModeloBoletos(int iD_BOLETO, string cODIGO, string eMITIDO, string vENCE, string vALOR, string nUMERO, string pG, string sACADO, string cONTA, string oBSERVACAO, string cOD_CONTA, string nOSSO_NUMERO, string aCEITE, string iMPRESSO, string iMPORTACAO)
|
||||
{
|
||||
ID_BOLETO = iD_BOLETO;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloCalibracao
|
||||
{
|
||||
public ModeloCalibracao()
|
||||
{
|
||||
ID_CALIBRACAO = 0;
|
||||
CODIGO = string.Empty;
|
||||
OS_NUMERO = string.Empty;
|
||||
DATA = string.Empty;
|
||||
TEMP = string.Empty;
|
||||
HUMIDADE = string.Empty;
|
||||
RESPONSABEL = string.Empty;
|
||||
OBSERV = string.Empty;
|
||||
}
|
||||
public ModeloCalibracao(int ID_codigo, string cODIGO, string oS_NUMERO, string dATA, string tEMP, string hUMIDADE, string rESPONSABEL, string oBSERV)
|
||||
{
|
||||
ID_CALIBRACAO = ID_codigo;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloCalibracaoEnsaio
|
||||
{
|
||||
public ModeloCalibracaoEnsaio()
|
||||
{
|
||||
ID_CALIBRACAO_ENSAIO = 0;
|
||||
COD_CALIBRACAO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
MINIMO = string.Empty;
|
||||
MAXIMO = string.Empty;
|
||||
OBTIDO = string.Empty;
|
||||
UNIDADE = string.Empty;
|
||||
}
|
||||
|
||||
public ModeloCalibracaoEnsaio(int iD_CALIBRACAO_ENSAIO, string cOD_CALIBRACAO, string dESCRICAO, string mINIMO, string mAXIMO, string oBTIDO, string uNIDADE)
|
||||
{
|
||||
ID_CALIBRACAO_ENSAIO = iD_CALIBRACAO_ENSAIO;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloCalibracaoPadrao
|
||||
{
|
||||
public ModeloCalibracaoPadrao()
|
||||
{
|
||||
ID_CALIBRACAO_PADRAO = 0;
|
||||
CODIGO = string.Empty;
|
||||
OS_NUMERO = string.Empty;
|
||||
DATA = string.Empty;
|
||||
TEMP = string.Empty;
|
||||
HUMIDADE = string.Empty;
|
||||
RESPONSABEL = string.Empty;
|
||||
OBSERV = string.Empty;
|
||||
}
|
||||
public ModeloCalibracaoPadrao(int iD_CALIBRACAO_PADRAO, string cODIGO, string oS_NUMERO, string dATA, string tEMP, string hUMIDADE, string rESPONSABEL, string oBSERV)
|
||||
{
|
||||
ID_CALIBRACAO_PADRAO = iD_CALIBRACAO_PADRAO;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloCalibracaoPadraoEnsaios
|
||||
{
|
||||
public ModeloCalibracaoPadraoEnsaios()
|
||||
{
|
||||
ID_CAL_PADRAO_ENSAIOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_CALIBRACAO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
MINIMO = string.Empty;
|
||||
MAXIMO = string.Empty;
|
||||
OBTIDO = string.Empty;
|
||||
UNIDADE = string.Empty;
|
||||
}
|
||||
public ModeloCalibracaoPadraoEnsaios(int iD_CAL_PADRAO_ENSAIOS, string cODIGO, string cOD_CALIBRACAO, string dESCRICAO, string mINIMO, string mAXIMO, string oBTIDO, string uNIDADE)
|
||||
{
|
||||
ID_CAL_PADRAO_ENSAIOS = iD_CAL_PADRAO_ENSAIOS;
|
||||
|
||||
@ -1,9 +1,30 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloCartoes
|
||||
{
|
||||
public ModeloCartoes()
|
||||
{
|
||||
ID_COD_CARTAO = 0;
|
||||
CODIGO = string.Empty;
|
||||
BANDEIRA = string.Empty;
|
||||
NUM_CARTAO = string.Empty;
|
||||
NOME = string.Empty;
|
||||
VALIDADE = string.Empty;
|
||||
AUTORIZACAO = string.Empty;
|
||||
PARCELAS = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
RESUMO = string.Empty;
|
||||
DEBITO = string.Empty;
|
||||
COD_CONTA = string.Empty;
|
||||
DIA = string.Empty;
|
||||
COMPENSADO = string.Empty;
|
||||
OBS_COMP = string.Empty;
|
||||
}
|
||||
public ModeloCartoes(int iD_COD_CARTAO, string cODIGO, string bANDEIRA, string nUM_CARTAO, string nOME, string vALIDADE, string aUTORIZACAO, string pARCELAS, string vALOR, string cOD_CLIENTE, string rESUMO, string dEBITO, string cOD_CONTA, string dIA, string cOMPENSADO, string oBS_COMP)
|
||||
{
|
||||
ID_COD_CARTAO = iD_COD_CARTAO;
|
||||
|
||||
@ -1,9 +1,27 @@
|
||||
using System;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloChamado
|
||||
{
|
||||
public ModeloChamado()
|
||||
{
|
||||
ID_CHAMADO = 0;
|
||||
CODIGO =string.Empty;
|
||||
TIPO = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
NOME_AVULSO = string.Empty;
|
||||
FONES = string.Empty;
|
||||
EMAIL = string.Empty;
|
||||
PARA = string.Empty;
|
||||
PRIORIDADE = string.Empty;
|
||||
REALIZADO = string.Empty;
|
||||
DIA_CHAMADO = string.Empty;
|
||||
OBS = string.Empty;
|
||||
ENDER_CLI = string.Empty;
|
||||
}
|
||||
|
||||
public ModeloChamado(int iD_CHAMADO, string cODIGO, string tIPO,
|
||||
string cOD_CLIENTE, string nOME_AVULSO, string fONES, string
|
||||
eMAIL, string pARA, string pRIORIDADE, string rEALIZADO, string dIA_CHAMADO,
|
||||
|
||||
@ -4,6 +4,25 @@ namespace MLL
|
||||
{
|
||||
public class ModeloChegues
|
||||
{
|
||||
public ModeloChegues()
|
||||
{
|
||||
ID_CHEGUES = 0;
|
||||
CODIGO = string.Empty;
|
||||
BANCO = string.Empty;
|
||||
AGENCIA = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
CLIENTE = string.Empty;
|
||||
FORNECEDOR = string.Empty;
|
||||
EMITIDO = string.Empty;
|
||||
COMPENSAR = string.Empty;
|
||||
OK = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
CONTA = string.Empty;
|
||||
NUMERO = string.Empty;
|
||||
OBS = string.Empty;
|
||||
COD_CONTA = string.Empty;
|
||||
EMITENTE = string.Empty;
|
||||
}
|
||||
public ModeloChegues(int iD_CHEGUES, string cODIGO, string bANCO, string aGENCIA,
|
||||
string vALOR, string cLIENTE, string fORNECEDOR, string eMITIDO, string cOMPENSAR,
|
||||
string oK, string tIPO, string cONTA, string nUMERO, string oBS, string cOD_CONTA, string eMITENTE)
|
||||
|
||||
@ -1,7 +1,55 @@
|
||||
public class ModeloCliente
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Text.RegularExpressions;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloCliente
|
||||
{
|
||||
public ModeloCliente()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
Nome = string.Empty;
|
||||
NomeFantasia = string.Empty;
|
||||
TipoPessoa = string.Empty;
|
||||
Documento = string.Empty;
|
||||
RG = string.Empty;
|
||||
InscricaoMunicipal = string.Empty;
|
||||
DataNascimento = null;
|
||||
Contato = string.Empty;
|
||||
Telefone1 = string.Empty;
|
||||
Telefone2 = string.Empty;
|
||||
Celular = string.Empty;
|
||||
Whatsapp = string.Empty;
|
||||
Email = string.Empty;
|
||||
EmailNFe = string.Empty;
|
||||
Site = string.Empty;
|
||||
Grupo = string.Empty;
|
||||
Cep = string.Empty;
|
||||
Endereco = string.Empty;
|
||||
Numero = null;
|
||||
Complemento = string.Empty;
|
||||
Bairro = string.Empty;
|
||||
Cidade = string.Empty;
|
||||
UF = string.Empty;
|
||||
Pais = string.Empty;
|
||||
LimiteCredito = 0;
|
||||
Bloqueado = false;
|
||||
ObservacoesCobranca = string.Empty;
|
||||
VendedorPadraoId = null;
|
||||
TipoConsumidor = string.Empty;
|
||||
Observacoes = string.Empty;
|
||||
CampoExtra1 = string.Empty;
|
||||
CampoExtra2 = string.Empty;
|
||||
CampoExtra3 = string.Empty;
|
||||
Bitcoin = string.Empty;
|
||||
Ethereum = string.Empty;
|
||||
Litecoin = string.Empty;
|
||||
Ativo = false;
|
||||
UltimaCompra = null;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloCliente(int id, int empresaId, string nome, string nomeFantasia, string tipoPessoa, string documento, string rG, string inscricaoMunicipal, DateTime? dataNascimento, string contato, string telefone1, string telefone2, string celular, string whatsapp, string email, string emailNFe, string site, string grupo, string cep, string endereco, int? numero, string complemento, string bairro, string cidade, string uF, string pais, decimal limiteCredito, bool bloqueado, string observacoesCobranca, int? vendedorPadraoId, string tipoConsumidor, string observacoes, string campoExtra1, string campoExtra2, string campoExtra3, string bitcoin, string ethereum, string litecoin, bool ativo, DateTime? ultimaCompra, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
@ -103,4 +151,5 @@
|
||||
|
||||
public DateTime CriadoEm { get; set; }
|
||||
public DateTime AtualizadoEm { get; set; }
|
||||
}
|
||||
}
|
||||
@ -1,9 +1,26 @@
|
||||
using System;
|
||||
using System.Numerics;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloClientesEnderecos
|
||||
{
|
||||
public ModeloClientesEnderecos()
|
||||
{
|
||||
ID_COD_CLIENTE_END = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
LOGRADOURO = string.Empty;
|
||||
NUMERO = string.Empty;
|
||||
COMPLEM = string.Empty;
|
||||
BAIRRO = string.Empty;
|
||||
CIDADE = string.Empty;
|
||||
UF = string.Empty;
|
||||
CEP = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloClientesEnderecos(int iD_COD_CLIENTE_END, string cODIGO, string cOD_CLIENTE, string lOGRADOURO, string nUMERO, string cOMPLEM, string bAIRRO, string cIDADE, string uF, string cEP, string dATA_CADASTRO)
|
||||
{
|
||||
ID_COD_CLIENTE_END = iD_COD_CLIENTE_END;
|
||||
|
||||
@ -4,6 +4,113 @@ namespace MLL
|
||||
{
|
||||
public class ModeloConfig
|
||||
{
|
||||
public ModeloConfig()
|
||||
{
|
||||
ID_CONFIG = 0;
|
||||
ESTOQUE = string.Empty;
|
||||
OFICINA = string.Empty;
|
||||
BANCO = string.Empty;
|
||||
CONTAS = string.Empty;
|
||||
VENDASL1 = string.Empty;
|
||||
VENDASL2 = string.Empty;
|
||||
MODELOVENDA = string.Empty;
|
||||
PRNPORTVENDA = string.Empty;
|
||||
COPIASVENDA = string.Empty;
|
||||
VERSAO = string.Empty;
|
||||
SERIAL = string.Empty;
|
||||
SERIAL2 = string.Empty;
|
||||
SMTP_SERVER = string.Empty;
|
||||
SMTP_USER = string.Empty;
|
||||
SMTP_PASS = string.Empty;
|
||||
SMTP_TIT = string.Empty;
|
||||
SMTP_EMAIL = string.Empty;
|
||||
SMTP_CC = string.Empty;
|
||||
SMTP_PORT = string.Empty;
|
||||
SMTP_SSL = string.Empty;
|
||||
SMTP_COK = string.Empty;
|
||||
OFICINADONO = string.Empty;
|
||||
NOSSONUMERO = string.Empty;
|
||||
REVENDA = string.Empty;
|
||||
COMISS_VENDAS = string.Empty;
|
||||
MAXDES_VENDAS = string.Empty;
|
||||
CARTAO_REG_OK = string.Empty;
|
||||
CARTAO_DEBT_DIRETO = string.Empty;
|
||||
CARTAO_CRED_DIRETO = string.Empty;
|
||||
CARTAO_CRED_COMISS = string.Empty;
|
||||
CARTAO_DEBT_COMISS = string.Empty;
|
||||
VERSAOP = string.Empty;
|
||||
SHCompras = string.Empty;
|
||||
NFE_FORMA_EMISSAO = string.Empty;
|
||||
CARTAO_CRED_PARCELA = string.Empty;
|
||||
SMTP_SEMAUTENTICA = string.Empty;
|
||||
NFE_ENFE = string.Empty;
|
||||
NFE_EMAIL_OK = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
ULTIMA_IMPRESSAO = string.Empty;
|
||||
DATA_SAIDA = string.Empty;
|
||||
IMPRESSA = string.Empty;
|
||||
FRETE_NUMERO = string.Empty;
|
||||
DESTINATARIO_NOME = string.Empty;
|
||||
DESTINATARIO_ENDERECO = string.Empty;
|
||||
DESTINATARIO_BAIRRO = string.Empty;
|
||||
DESTINATARIO_CIDADE = string.Empty;
|
||||
DESTINATARIO_UF = string.Empty;
|
||||
DESTINATARIO_CEP = string.Empty;
|
||||
DESTINATARIO_COD_PAIS = string.Empty;
|
||||
DESTINATARIO_TEL = string.Empty;
|
||||
DESTINATARIO_FAX = string.Empty;
|
||||
DESTINATARIO_EMAIL = string.Empty;
|
||||
DESTINATARIO_IE_RG = string.Empty;
|
||||
DESTINATARIO_CNPJCPF = string.Empty;
|
||||
VALOR_DESCONTO = string.Empty;
|
||||
VALOR_IRRF = string.Empty;
|
||||
VALOR_IRPJ = string.Empty;
|
||||
VALOR_PIS = string.Empty;
|
||||
VALOR_COFINS = string.Empty;
|
||||
VALOR_CSLL = string.Empty;
|
||||
VALOR_BENEF = string.Empty;
|
||||
VALOR_INSS = string.Empty;
|
||||
VALOR_SIMPLES = string.Empty;
|
||||
TOTAL_DESC = string.Empty;
|
||||
TOTAL_DEDUCOES = string.Empty;
|
||||
TOTAL_SERVICOS = string.Empty;
|
||||
TOTAL_PRODUTOS = string.Empty;
|
||||
TOTAL_ISS = string.Empty;
|
||||
TOTAL_IRRF = string.Empty;
|
||||
TOTAL_IRPJ = string.Empty;
|
||||
TOTAL_PIS = string.Empty;
|
||||
TOTAL_COFINS = string.Empty;
|
||||
TOTAL_CSLL = string.Empty;
|
||||
TOTAL_INSS = string.Empty;
|
||||
TOTAL_SIMPLES = string.Empty;
|
||||
FRETE_NOME = string.Empty;
|
||||
FRETE_UF = string.Empty;
|
||||
FRETE_CNPJCPF = string.Empty;
|
||||
FRETE_IERG = string.Empty;
|
||||
FRETE_ENDERECO = string.Empty;
|
||||
FRETE_MUNICIPIO = string.Empty;
|
||||
FRETE_TUF = string.Empty;
|
||||
DB_cs_ICMS_S = string.Empty;
|
||||
DB_cs_FRETE = string.Empty;
|
||||
DB_cs_SEGURO = string.Empty;
|
||||
DB_cs_DESPESAS = string.Empty;
|
||||
DB_cin_FRETE = string.Empty;
|
||||
DB_cin_SEGURO = string.Empty;
|
||||
DB_cin_DESPESAS = string.Empty;
|
||||
DB_cin_DESCONTO = string.Empty;
|
||||
DB_cs_ISS = string.Empty;
|
||||
DB_cs_IRRF = string.Empty;
|
||||
DB_cs_IRPJ = string.Empty;
|
||||
DB_cs_PIS = string.Empty;
|
||||
DB_cs_COFINS = string.Empty;
|
||||
DB_cs_CSLL = string.Empty;
|
||||
DB_cs_INSS = string.Empty;
|
||||
DB_cs_SIMPLES = string.Empty;
|
||||
V_FRETE = string.Empty;
|
||||
V_SEGURO = string.Empty;
|
||||
V_OUTROS = string.Empty;
|
||||
COD_FAB = string.Empty;
|
||||
}
|
||||
public ModeloConfig(int iD_CONFIG, string eSTOQUE, string oFICINA,
|
||||
string bANCO, string cONTAS, string vENDASL1, string vENDASL2,
|
||||
string mODELOVENDA, string pRNPORTVENDA, string cOPIASVENDA,
|
||||
|
||||
@ -1,5 +1,29 @@
|
||||
public class ModeloContaPagar
|
||||
using System.Drawing;
|
||||
using System.Net.NetworkInformation;
|
||||
|
||||
public class ModeloContaPagar
|
||||
{
|
||||
public ModeloContaPagar()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
FornecedorId = 0;
|
||||
PlanoContaId = 0;
|
||||
Descricao = string.Empty;
|
||||
Valor = 0;
|
||||
ValorPago = 0;
|
||||
Juros = 0;
|
||||
Multa = 0;
|
||||
Desconto = 0;
|
||||
Status = string.Empty;
|
||||
DataEmissao = null;
|
||||
DataVencimento = DateTime.MinValue;
|
||||
DataPagamento = null;
|
||||
Observacoes = string.Empty;
|
||||
Ativo = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloContaPagar(int id, int empresaId, int fornecedorId, int planoContaId, string descricao, decimal valor, decimal? valorPago, decimal juros, decimal multa, decimal desconto, string status, DateTime? dataEmissao, DateTime dataVencimento, DateTime? dataPagamento, string observacoes, bool ativo, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
Id = id;
|
||||
|
||||
@ -1,5 +1,30 @@
|
||||
public class ModeloContaReceber
|
||||
using System.Drawing;
|
||||
using System.Net.NetworkInformation;
|
||||
|
||||
public class ModeloContaReceber
|
||||
{
|
||||
public ModeloContaReceber()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
ClienteId = 0;
|
||||
PlanoContaId = 0;
|
||||
ContratoId = null;
|
||||
Descricao = string.Empty;
|
||||
Valor = 0;
|
||||
ValorPago = 0;
|
||||
Juros = 0;
|
||||
Multa = 0;
|
||||
Desconto = 0;
|
||||
Status = string.Empty;
|
||||
DataEmissao = null;
|
||||
DataVencimento = DateTime.MinValue;
|
||||
DataPagamento = null;
|
||||
Observacoes = string.Empty;
|
||||
Ativo = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloContaReceber(int id, int empresaId, int clienteId, int planoContaId, int? contratoId, string descricao, decimal valor, decimal? valorPago, decimal juros, decimal multa, decimal desconto, string status, DateTime? dataEmissao, DateTime dataVencimento, DateTime? dataPagamento, string observacoes, bool ativo, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
Id = id;
|
||||
|
||||
@ -1,9 +1,46 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloContas
|
||||
{
|
||||
public ModeloContas()
|
||||
{
|
||||
ID_CONTAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
CLIENTE = string.Empty;
|
||||
FORNECEDOR = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
COD_FORNECEDOR = string.Empty;
|
||||
VENCIMENTO = string.Empty;
|
||||
PAGO = string.Empty;
|
||||
PLANO_CONTAS = string.Empty;
|
||||
OBSERVACAO = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
REFERENCIA = string.Empty;
|
||||
FCOBRANCA = string.Empty;
|
||||
PARCELA = string.Empty;
|
||||
ECF_DINHEIRO = string.Empty;
|
||||
ECF_CHEQUE = string.Empty;
|
||||
ECF_CARTAO = string.Empty;
|
||||
ECF_BOLETO = string.Empty;
|
||||
ECF_TROCO = string.Empty;
|
||||
DATA_DOCTO = string.Empty;
|
||||
JUROS = string.Empty;
|
||||
DESCONTO = string.Empty;
|
||||
CFOP = string.Empty;
|
||||
CLISTSERV = string.Empty;
|
||||
PMVAST = string.Empty;
|
||||
PREDBCST = string.Empty;
|
||||
VBCICMSST = string.Empty;
|
||||
AICMSST = string.Empty;
|
||||
VICMSST = string.Empty;
|
||||
DATA_PGTO = string.Empty;
|
||||
COD_CORRENTE = string.Empty;
|
||||
OBS_COB = string.Empty;
|
||||
}
|
||||
public ModeloContas(int iD_CONTAS, string cODIGO, string tIPO, string cLIENTE, string fORNECEDOR,
|
||||
string cOD_CLIENTE, string cOD_FORNECEDOR, string vENCIMENTO, string pAGO,
|
||||
string pLANO_CONTAS, string oBSERVACAO, string vALOR, string rEFERENCIA,
|
||||
|
||||
@ -4,6 +4,13 @@ namespace MLL
|
||||
{
|
||||
public class ModeloContasContas
|
||||
{
|
||||
public ModeloContasContas()
|
||||
{
|
||||
ID_CONTAS_CONTAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
SALDO_INI = string.Empty;
|
||||
}
|
||||
public ModeloContasContas(int iD_CONTAS_CONTAS, string cODIGO, string dESCRICAO, string sALDO_INI)
|
||||
{
|
||||
ID_CONTAS_CONTAS = iD_CONTAS_CONTAS;
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@ -8,6 +9,15 @@ namespace MLL
|
||||
{
|
||||
public class ModeloContasDeposito
|
||||
{
|
||||
public ModeloContasDeposito()
|
||||
{
|
||||
ID_COD_CONTA_DEPO = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_CORRENTE = string.Empty;
|
||||
COD_LANCTO = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloContasDeposito(int iD_COD_CONTA_DEPO, string? cODIGO, string? cOD_CORRENTE,
|
||||
string? cOD_LANCTO, string? vALOR, string? dATA_CADASTRO)
|
||||
{
|
||||
|
||||
@ -4,44 +4,46 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace MLL // Ou o namespace de sua preferência
|
||||
{
|
||||
// Opcional: Para Entity Framework, especifica o nome da tabela e o schema
|
||||
// [Table("Contratos", Schema = "dbo")]
|
||||
|
||||
public class ModeloContrato
|
||||
{
|
||||
// [Key] // Opcional: Indica que esta é a chave primária
|
||||
// [DatabaseGenerated(DatabaseGeneratedOption.Identity)] // Opcional: Indica que o DB gera o ID
|
||||
public int Id { get; set; }
|
||||
public ModeloContrato() { }
|
||||
public ModeloContrato(int id, int empresaId, int clienteId, string? descricao, string? observacoes, decimal valor, DateTime? dataInicio, DateTime? dataValidade, int? franquiaTempo, bool ativo, DateTime? criadoEm, DateTime? atualizadoEm)
|
||||
{
|
||||
Id = id;
|
||||
EmpresaId = empresaId;
|
||||
ClienteId = clienteId;
|
||||
Descricao = descricao;
|
||||
Observacoes = observacoes;
|
||||
Valor = valor;
|
||||
DataInicio = dataInicio;
|
||||
DataValidade = dataValidade;
|
||||
FranquiaTempo = franquiaTempo;
|
||||
Ativo = ativo;
|
||||
CriadoEm = criadoEm;
|
||||
AtualizadoEm = atualizadoEm;
|
||||
}
|
||||
|
||||
public int Id { get; set; }
|
||||
public int EmpresaId { get; set; }
|
||||
public int ClienteId { get; set; }
|
||||
|
||||
// [StringLength(255)] // Opcional: Para validação de tamanho em ORMs como EF
|
||||
public string? Descricao { get; set; } // varchar(255) NULL -> string?
|
||||
|
||||
public string? Observacoes { get; set; } // varchar(max) NULL -> string?
|
||||
|
||||
public decimal Valor { get; set; } // decimal(10, 2) NOT NULL -> decimal
|
||||
|
||||
public DateTime? DataInicio { get; set; } // date NULL -> DateTime?
|
||||
|
||||
public DateTime? DataValidade { get; set; } // date NULL -> DateTime?
|
||||
|
||||
public int? FranquiaTempo { get; set; } // int NULL -> int?
|
||||
|
||||
public bool Ativo { get; set; } = true; // bit NOT NULL com DEFAULT -> bool. Inicializado com o valor padrão.
|
||||
|
||||
public DateTime? CriadoEm { get; set; } // datetime NULL com DEFAULT -> DateTime?
|
||||
|
||||
public DateTime? AtualizadoEm { get; set; } // datetime NULL com DEFAULT -> DateTime?
|
||||
public string? Descricao { get; set; }
|
||||
public string? Observacoes { get; set; }
|
||||
public decimal Valor { get; set; }
|
||||
public DateTime? DataInicio { get; set; }
|
||||
public DateTime? DataValidade { get; set; }
|
||||
public int? FranquiaTempo { get; set; }
|
||||
public bool Ativo { get; set; } = true;
|
||||
public DateTime? CriadoEm { get; set; }
|
||||
public DateTime? AtualizadoEm { get; set; }
|
||||
|
||||
|
||||
|
||||
// Opcional: Propriedades de navegação para relacionamentos (para ORMs como Entity Framework)
|
||||
/*
|
||||
[ForeignKey("EmpresaId")]
|
||||
public virtual ModeloEmpresa? Empresa { get; set; } // Assumindo que você tem um modelo ModeloEmpresa
|
||||
|
||||
[ForeignKey("ClienteId")]
|
||||
public virtual ModeloCliente? Cliente { get; set; } // Assumindo que você tem um modelo ModeloCliente
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
@ -4,38 +4,35 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace MLL // Ou o namespace de sua preferência
|
||||
{
|
||||
// Opcional: Para Entity Framework, especifica o nome da tabela e o schema
|
||||
// [Table("ContratoEquipamentos", Schema = "dbo")]
|
||||
|
||||
public class ModeloContratoEquipamentos
|
||||
{
|
||||
// [Key] // Opcional: Indica que esta é a chave primária
|
||||
// [Column("Id_equipamentos")] // Opcional: Se o nome da propriedade C# for diferente do nome da coluna SQL
|
||||
// [DatabaseGenerated(DatabaseGeneratedOption.Identity)] // Opcional: Indica que o DB gera o ID
|
||||
public ModeloContratoEquipamentos()
|
||||
{
|
||||
}
|
||||
public ModeloContratoEquipamentos(int id_equipamentos, int contratoId, string? modelo, string? marca, string? operadora, string? serial, string? numeroPatrimonio, string? observacoes)
|
||||
{
|
||||
Id_equipamentos = id_equipamentos;
|
||||
ContratoId = contratoId;
|
||||
Modelo = modelo;
|
||||
Marca = marca;
|
||||
Operadora = operadora;
|
||||
Serial = serial;
|
||||
NumeroPatrimonio = numeroPatrimonio;
|
||||
Observacoes = observacoes;
|
||||
}
|
||||
|
||||
public int Id_equipamentos { get; set; }
|
||||
|
||||
public int ContratoId { get; set; }
|
||||
public string? Modelo { get; set; }
|
||||
public string? Marca { get; set; }
|
||||
public string? Operadora { get; set; }
|
||||
public string? Serial { get; set; }
|
||||
public string? NumeroPatrimonio { get; set; }
|
||||
public string? Observacoes { get; set; }
|
||||
|
||||
// [StringLength(255)] // Opcional: Para validação de tamanho em ORMs como EF
|
||||
public string? Modelo { get; set; } // varchar(255) NULL -> string?
|
||||
|
||||
// [StringLength(255)]
|
||||
public string? Marca { get; set; } // varchar(255) NULL -> string?
|
||||
|
||||
// [StringLength(100)]
|
||||
public string? Operadora { get; set; } // varchar(100) NULL -> string?
|
||||
|
||||
// [StringLength(100)]
|
||||
public string? Serial { get; set; } // varchar(100) NULL -> string?
|
||||
|
||||
// [StringLength(100)]
|
||||
public string? NumeroPatrimonio { get; set; } // varchar(100) NULL -> string?
|
||||
|
||||
public string? Observacoes { get; set; } // varchar(max) NULL -> string?
|
||||
|
||||
// Opcional: Propriedade de navegação para o relacionamento com Contratos (para ORMs como Entity Framework)
|
||||
/*
|
||||
[ForeignKey("ContratoId")]
|
||||
public virtual ModeloContrato? Contrato { get; set; } // Assumindo que você tenha um modelo ModeloContrato para a tabela [dbo].[Contratos]
|
||||
*/
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,9 +1,35 @@
|
||||
using System;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloConvenioBoletos
|
||||
{
|
||||
public ModeloConvenioBoletos()
|
||||
{
|
||||
ID_CONVENIO_BOLETOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
BANCO = string.Empty;
|
||||
CARTEIRA = string.Empty;
|
||||
CONVENIO = string.Empty;
|
||||
AGENCIA = string.Empty;
|
||||
CONTA = string.Empty;
|
||||
NOME_CEDENTE = string.Empty;
|
||||
LOCAL_PGTO = string.Empty;
|
||||
INSTRU_01 = string.Empty;
|
||||
INSTRU_02 = string.Empty;
|
||||
INSTRU_03 = string.Empty;
|
||||
INSTRU_04 = string.Empty;
|
||||
INSTRU_05 = string.Empty;
|
||||
INSTRU_06 = string.Empty;
|
||||
INSTRU_07 = string.Empty;
|
||||
INSTRU_08 = string.Empty;
|
||||
INSTRU_09 = string.Empty;
|
||||
INSTRU_10 = string.Empty;
|
||||
DIAS_PROTESTO = string.Empty;
|
||||
TIPO_DOC_COB = string.Empty;
|
||||
TIPO_ESP_DOC = string.Empty;
|
||||
}
|
||||
public ModeloConvenioBoletos(int iD_CONVENIO_BOLETOS, string cODIGO, string bANCO,
|
||||
string cARTEIRA, string cONVENIO, string aGENCIA, string cONTA, string nOME_CEDENTE,
|
||||
string lOCAL_PGTO, string iNSTRU_01, string iNSTRU_02, string iNSTRU_03, string iNSTRU_04,
|
||||
|
||||
@ -4,6 +4,19 @@ namespace MLL
|
||||
{
|
||||
public class ModeloConvenioCartoes
|
||||
{
|
||||
public ModeloConvenioCartoes()
|
||||
{
|
||||
ID_CONV_CARTOES = 0;
|
||||
CODIGO = string.Empty;
|
||||
NOME = string.Empty;
|
||||
COMIS_CRED = string.Empty;
|
||||
COMIS_DEBT = string.Empty;
|
||||
OP_CRED = string.Empty;
|
||||
OP_DEBT = string.Empty;
|
||||
LANCA_30 = string.Empty;
|
||||
CNPJ_OPERADORA = string.Empty;
|
||||
this.TBAND = string.Empty;
|
||||
}
|
||||
public ModeloConvenioCartoes(int iD_CONV_CARTOES, string cODIGO, string nOME,
|
||||
string cOMIS_CRED, string cOMIS_DEBT, string oP_CRED, string oP_DEBT, string lANCA_30,
|
||||
string cNPJ_OPERADORA, string tBand)
|
||||
@ -17,7 +30,7 @@ namespace MLL
|
||||
OP_DEBT = oP_DEBT;
|
||||
LANCA_30 = lANCA_30;
|
||||
CNPJ_OPERADORA = cNPJ_OPERADORA;
|
||||
this.tBand = tBand;
|
||||
this.TBAND = tBand;
|
||||
}
|
||||
|
||||
public int ID_CONV_CARTOES { get; set; }
|
||||
@ -33,6 +46,6 @@ namespace MLL
|
||||
public string LANCA_30 { get; set; }
|
||||
|
||||
public string CNPJ_OPERADORA { get; set; }
|
||||
public string tBand { get; set; }
|
||||
public string TBAND { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,19 @@ namespace MLL
|
||||
{
|
||||
public class ModeloCoordImpres
|
||||
{
|
||||
public ModeloCoordImpres()
|
||||
{
|
||||
ID_COORD_IMPRES = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_MODELO = string.Empty;
|
||||
NOME_CAMPO = string.Empty;
|
||||
COD_CAMPO = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
CX = string.Empty;
|
||||
CY = string.Empty;
|
||||
COMP = string.Empty;
|
||||
ATIVO = string.Empty;
|
||||
}
|
||||
public ModeloCoordImpres(int iD_COORD_IMPRES, string cODIGO, string cOD_MODELO,
|
||||
string nOME_CAMPO, string cOD_CAMPO, string tIPO, string cX, string cY, string cOMP,
|
||||
string aTIVO)
|
||||
|
||||
@ -1,9 +1,21 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloDespFixa
|
||||
{
|
||||
public ModeloDespFixa()
|
||||
{
|
||||
ID_DESP_FIXA = 0;
|
||||
CODIGO = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
VENCIMENTO = string.Empty;
|
||||
PLANO_CONTAS = string.Empty;
|
||||
OBSERVACAO = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
}
|
||||
public ModeloDespFixa(int iD_DESP_FIXA, string cODIGO, string tIPO,
|
||||
string cOD_CLIENTE, string vENCIMENTO, string pLANO_CONTAS, string oBSERVACAO, string vALOR)
|
||||
{
|
||||
|
||||
@ -4,6 +4,16 @@ namespace MLL
|
||||
{
|
||||
public class ModeloDespesas
|
||||
{
|
||||
public ModeloDespesas()
|
||||
{
|
||||
ID_DESPESAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
PROCESSO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
PAGO = string.Empty;
|
||||
DIA = string.Empty;
|
||||
}
|
||||
public ModeloDespesas(int iD_DESPESAS, string cODIGO, string pROCESSO,
|
||||
string dESCRICAO, string vALOR, string pAGO, string dIA)
|
||||
{
|
||||
|
||||
@ -1,9 +1,19 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloEcfCfg
|
||||
{
|
||||
public ModeloEcfCfg()
|
||||
{
|
||||
ID_EFC_CFG = 0;
|
||||
CODIGO = string.Empty;
|
||||
MODELO = string.Empty;
|
||||
PORTA = string.Empty;
|
||||
TEM_GAVETA = string.Empty;
|
||||
INDICE_AL_SERV = string.Empty;
|
||||
}
|
||||
public ModeloEcfCfg(int iD_EFC_CFG, string cODIGO, string mODELO,
|
||||
string pORTA, string tEM_GAVETA, string iNDICE_AL_SERV)
|
||||
{
|
||||
|
||||
@ -2,8 +2,64 @@
|
||||
{
|
||||
public class ModeloEmpresa
|
||||
{
|
||||
public ModeloEmpresa(int id, string nome, string cNPJ, string tipoEmpresa, string regimeTributario, string cNAE, string cep, string endereco, int numero, string complemento, string bairro, string cidade, string uF, string pais, string telefone1, string telefone2, string celular, string whatsapp, string email, string site, string inscricaoEstadual, string inscricaoMunicipal, string cNPJCPF_Contador, string nome_Contador, string textoParaRecibo)
|
||||
{
|
||||
Id = id;
|
||||
Nome = nome;
|
||||
CNPJ = cNPJ;
|
||||
TipoEmpresa = tipoEmpresa;
|
||||
RegimeTributario = regimeTributario;
|
||||
CNAE = cNAE;
|
||||
Cep = cep;
|
||||
Endereco = endereco;
|
||||
Numero = numero;
|
||||
Complemento = complemento;
|
||||
Bairro = bairro;
|
||||
Cidade = cidade;
|
||||
UF = uF;
|
||||
Pais = pais;
|
||||
Telefone1 = telefone1;
|
||||
Telefone2 = telefone2;
|
||||
Celular = celular;
|
||||
Whatsapp = whatsapp;
|
||||
Email = email;
|
||||
Site = site;
|
||||
InscricaoEstadual = inscricaoEstadual;
|
||||
InscricaoMunicipal = inscricaoMunicipal;
|
||||
CNPJCPF_Contador = cNPJCPF_Contador;
|
||||
Nome_Contador = nome_Contador;
|
||||
TextoParaRecibo = textoParaRecibo;
|
||||
}
|
||||
public ModeloEmpresa()
|
||||
{
|
||||
Id = 0;
|
||||
Nome = string.Empty;
|
||||
CNPJ = string.Empty;
|
||||
TipoEmpresa = string.Empty;
|
||||
RegimeTributario = string.Empty;
|
||||
CNAE = string.Empty;
|
||||
Cep = string.Empty;
|
||||
Endereco = string.Empty;
|
||||
Numero = 0;
|
||||
Complemento = string.Empty;
|
||||
Bairro = string.Empty;
|
||||
Cidade = string.Empty;
|
||||
UF = string.Empty;
|
||||
Pais = string.Empty;
|
||||
Telefone1 = string.Empty;
|
||||
Telefone2 = string.Empty;
|
||||
Celular = string.Empty;
|
||||
Whatsapp = string.Empty;
|
||||
Email = string.Empty;
|
||||
Site = string.Empty;
|
||||
InscricaoEstadual = string.Empty;
|
||||
InscricaoMunicipal = string.Empty;
|
||||
CNPJCPF_Contador = string.Empty;
|
||||
Nome_Contador = string.Empty;
|
||||
TextoParaRecibo = string.Empty;
|
||||
Ativo = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloEmpresa(int id, string nome, string cNPJ, string tipoEmpresa, string regimeTributario, string cNAE, string cep, string endereco, int numero, string complemento, string bairro, string cidade, string uF, string pais, string telefone1, string telefone2, string celular, string whatsapp, string email, string site, string inscricaoEstadual, string inscricaoMunicipal, string cNPJCPF_Contador, string nome_Contador, string textoParaRecibo, bool ativo, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
|
||||
@ -1,6 +1,30 @@
|
||||
public class ModeloEmpresaConfig
|
||||
namespace MLL
|
||||
{
|
||||
public ModeloEmpresaConfig() { }
|
||||
public class ModeloEmpresaConfig
|
||||
{
|
||||
public ModeloEmpresaConfig()
|
||||
{
|
||||
IdEmpresaConfig = 0;
|
||||
IdEmpresa = 0;
|
||||
NomeSistema = string.Empty;
|
||||
CorPrimaria = string.Empty;
|
||||
CorSecundaria = string.Empty;
|
||||
Logo = string.Empty;
|
||||
Favicon = string.Empty;
|
||||
ExibirCPFCliente = false;
|
||||
ExibirTelefoneCliente = false;
|
||||
ExibirGarantia = false;
|
||||
DiasGarantiaPadrao = 0;
|
||||
GerarReciboAutomatico = false;
|
||||
ExibirValoresOS = false;
|
||||
EnviarEmailAutomatico = false;
|
||||
EnviarWhatsappAutomatico = false;
|
||||
ModoEscuro = false;
|
||||
PermitirEdicaoOSFinalizada = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
|
||||
}
|
||||
public ModeloEmpresaConfig(int idEmpresaConfig, int idEmpresa, string nomeSistema, string corPrimaria, string corSecundaria, string logo, string favicon, bool exibirCPFCliente, bool exibirTelefoneCliente, bool exibirGarantia, int diasGarantiaPadrao, bool gerarReciboAutomatico, bool exibirValoresOS, bool enviarEmailAutomatico, bool enviarWhatsappAutomatico, bool modoEscuro, bool permitirEdicaoOSFinalizada, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
IdEmpresaConfig = idEmpresaConfig;
|
||||
@ -49,4 +73,5 @@
|
||||
|
||||
public DateTime CriadoEm { get; set; }
|
||||
public DateTime AtualizadoEm { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,13 @@ namespace MLL
|
||||
{
|
||||
public class ModeloEquipContratos
|
||||
{
|
||||
public ModeloEquipContratos()
|
||||
{
|
||||
ID_EQUIP_CONTRATOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_EQUIP = string.Empty;
|
||||
COD_CONTRATO = string.Empty;
|
||||
}
|
||||
public ModeloEquipContratos(int iD_EQUIP_CONTRATOS, string cODIGO, string cOD_EQUIP, string cOD_CONTRATO)
|
||||
{
|
||||
ID_EQUIP_CONTRATOS = iD_EQUIP_CONTRATOS;
|
||||
|
||||
@ -1,9 +1,29 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloEquipamentos
|
||||
{
|
||||
public ModeloEquipamentos()
|
||||
{
|
||||
ID_EQUIPAMENTOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
MARCA = string.Empty;
|
||||
MODELO = string.Empty;
|
||||
SERIE = string.Empty;
|
||||
PAT = string.Empty;
|
||||
OBSERVACOES = string.Empty;
|
||||
DATA_COMPRA = string.Empty;
|
||||
REVENDA = string.Empty;
|
||||
NUM_NF = string.Empty;
|
||||
NUM_CERTGAR = string.Empty;
|
||||
CAMPO_BOOL = string.Empty;
|
||||
CAMPO_DOUBLE = string.Empty;
|
||||
}
|
||||
public ModeloEquipamentos(int iD_EQUIPAMENTOS, string cODIGO, string cOD_CLIENTE,
|
||||
string dESCRICAO, string mARCA, string mODELO, string sERIE, string pAT, string oBSERVACOES,
|
||||
string dATA_COMPRA, string rEVENDA, string nUM_NF, string nUM_CERTGAR, string cAMPO_BOOL,
|
||||
|
||||
@ -1,9 +1,20 @@
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloEsquemas
|
||||
{
|
||||
public ModeloEsquemas()
|
||||
{
|
||||
ID_ESQUEMAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
MARCA = string.Empty;
|
||||
NOME = string.Empty;
|
||||
LOCAL = string.Empty;
|
||||
FPATH = string.Empty;
|
||||
OBS = string.Empty;
|
||||
}
|
||||
public ModeloEsquemas(int iD_ESQUEMAS, string cODIGO, string mARCA, string nOME,
|
||||
string lOCAL, string fPATH, string oBS)
|
||||
{
|
||||
|
||||
@ -1,9 +1,24 @@
|
||||
using System;
|
||||
using System.Runtime.Intrinsics.X86;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloFcaixa
|
||||
{
|
||||
public ModeloFcaixa()
|
||||
{
|
||||
ID_FCAIXA = 0;
|
||||
CODIGO = string.Empty;
|
||||
DIA = string.Empty;
|
||||
RECEITA = string.Empty;
|
||||
DESPESA = string.Empty;
|
||||
OBS = string.Empty;
|
||||
PLANO_CONTAS = string.Empty;
|
||||
COD_CONTA = string.Empty;
|
||||
FORMA = string.Empty;
|
||||
}
|
||||
|
||||
public ModeloFcaixa(int iD_FCAIXA, string cODIGO, string dIA, string rECEITA,
|
||||
string dESPESA, string oBS, string pLANO_CONTAS, string cOD_CONTA, string fORMA)
|
||||
{
|
||||
|
||||
@ -1,5 +1,36 @@
|
||||
public class ModeloFornecedor
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloFornecedor
|
||||
{
|
||||
public ModeloFornecedor()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
Nome = string.Empty;
|
||||
TipoPessoa = string.Empty;
|
||||
Documento = string.Empty;
|
||||
Telefone = string.Empty;
|
||||
Celular = string.Empty;
|
||||
Whatsapp = string.Empty;
|
||||
Email = string.Empty;
|
||||
Cep = string.Empty;
|
||||
Endereco = string.Empty;
|
||||
Numero = null;
|
||||
Complemento = string.Empty;
|
||||
Bairro = string.Empty;
|
||||
Cidade = string.Empty;
|
||||
UF = string.Empty;
|
||||
NomeFantasia = string.Empty;
|
||||
InscricaoEstadual = string.Empty;
|
||||
Site = string.Empty;
|
||||
Observacoes = string.Empty;
|
||||
Ativo = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloFornecedor(int id, int empresaId, string nome, string tipoPessoa, string documento, string telefone, string celular, string whatsapp, string email, string cep, string endereco, int? numero, string complemento, string bairro, string cidade, string uF, string nomeFantasia, string inscricaoEstadual, string site, string observacoes, bool ativo, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
Id = id;
|
||||
@ -56,4 +87,5 @@
|
||||
|
||||
public DateTime CriadoEm { get; set; }
|
||||
public DateTime AtualizadoEm { get; set; }
|
||||
}
|
||||
}
|
||||
@ -1,9 +1,37 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloFornecedores
|
||||
{
|
||||
public ModeloFornecedores()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
Nome = string.Empty;
|
||||
TipoPessoa = string.Empty;
|
||||
Documento = string.Empty;
|
||||
Telefone = string.Empty;
|
||||
Celular = string.Empty;
|
||||
Whatsapp = string.Empty;
|
||||
Email = string.Empty;
|
||||
Cep = string.Empty;
|
||||
Endereco = string.Empty;
|
||||
Numero = null;
|
||||
Complemento = string.Empty;
|
||||
Bairro = string.Empty;
|
||||
Cidade = string.Empty;
|
||||
UF = string.Empty;
|
||||
NomeFantasia = string.Empty;
|
||||
InscricaoEstadual = string.Empty;
|
||||
Site = string.Empty;
|
||||
Observacoes = string.Empty;
|
||||
Ativo = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloFornecedores(int id, int empresaId, string nome, string tipoPessoa, string documento,
|
||||
string telefone, string celular, string whatsapp, string email, string cep,
|
||||
string endereco, int? numero, string complemento, string bairro, string cidade,
|
||||
|
||||
@ -4,6 +4,14 @@ namespace MLL
|
||||
{
|
||||
public class ModeloFornecerDE
|
||||
{
|
||||
public ModeloFornecerDE()
|
||||
{
|
||||
ID_FORNECER_DE = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_FOR = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
ULTIMA = string.Empty;
|
||||
}
|
||||
public ModeloFornecerDE(int iD_FORNECER_DE, string cODIGO, string cOD_FOR, string cOD_ITEM, string uLTIMA)
|
||||
{
|
||||
ID_FORNECER_DE = iD_FORNECER_DE;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloIBPT
|
||||
{
|
||||
public ModeloIBPT()
|
||||
{
|
||||
ID_IBPT = 0;
|
||||
CODIGO = string.Empty;
|
||||
NCM = string.Empty;
|
||||
NacionalFederal = string.Empty;
|
||||
ImportadosFederal = string.Empty;
|
||||
Estadual = string.Empty;
|
||||
Municipal = string.Empty;
|
||||
Tipo = string.Empty;
|
||||
}
|
||||
public ModeloIBPT(int iD_IBPT, string cODIGO, string nCM, string nacionalFederal,
|
||||
string importadosFederal, string estadual, string municipal, string tipo)
|
||||
{
|
||||
|
||||
@ -1,9 +1,46 @@
|
||||
using System;
|
||||
using System.Runtime.Intrinsics.X86;
|
||||
using static System.Net.WebRequestMethods;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloIcmsEmp
|
||||
{
|
||||
public ModeloIcmsEmp()
|
||||
{
|
||||
ID_ICMS_EMP = 0;
|
||||
CODIGO = string.Empty;
|
||||
UF = string.Empty;
|
||||
ICMS = string.Empty;
|
||||
UF_AC = string.Empty;
|
||||
UF_AL = string.Empty;
|
||||
UF_AM = string.Empty;
|
||||
UF_AP = string.Empty;
|
||||
UF_BA = string.Empty;
|
||||
UF_CE = string.Empty;
|
||||
UF_DF = string.Empty;
|
||||
UF_ES = string.Empty;
|
||||
UF_GO = string.Empty;
|
||||
UF_MA = string.Empty;
|
||||
UF_MT = string.Empty;
|
||||
UF_MS = string.Empty;
|
||||
UF_MG = string.Empty;
|
||||
UF_PA = string.Empty;
|
||||
UF_PB = string.Empty;
|
||||
UF_PR = string.Empty;
|
||||
UF_PE = string.Empty;
|
||||
UF_PI = string.Empty;
|
||||
UF_RN = string.Empty;
|
||||
UF_RS = string.Empty;
|
||||
UF_RJ = string.Empty;
|
||||
UF_RO = string.Empty;
|
||||
UF_RR = string.Empty;
|
||||
UF_SC = string.Empty;
|
||||
UF_SP = string.Empty;
|
||||
UF_SE = string.Empty;
|
||||
UF_TO = string.Empty;
|
||||
FCP = string.Empty;
|
||||
}
|
||||
public ModeloIcmsEmp(int iD_ICMS_EMP, string cODIGO, string uF, string iCMS, string uF_AC,
|
||||
string uF_AL, string uF_AM, string uF_AP, string uF_BA, string uF_CE,
|
||||
string uF_DF, string uF_ES, string uF_GO, string uF_MA, string uF_MT,
|
||||
|
||||
@ -4,6 +4,14 @@ namespace MLL
|
||||
{
|
||||
public class ModeloIcmsUf
|
||||
{
|
||||
public ModeloIcmsUf()
|
||||
{
|
||||
ID_ICMS_UF = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
UF = string.Empty;
|
||||
ICMS = string.Empty;
|
||||
}
|
||||
public ModeloIcmsUf(int iD_ICMS_UF, string cODIGO, string cOD_ITEM, string uF, string iCMS)
|
||||
{
|
||||
ID_ICMS_UF = iD_ICMS_UF;
|
||||
|
||||
@ -1,9 +1,46 @@
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloItens
|
||||
{
|
||||
public ModeloItens()
|
||||
{
|
||||
ID_ITENS = 0;
|
||||
CODIGO = string.Empty;
|
||||
NUMERO = string.Empty;
|
||||
NOME = string.Empty;
|
||||
GRUPO = string.Empty;
|
||||
SUBGRUPO = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
UNIDADE = string.Empty;
|
||||
NUMERO_FAB = string.Empty;
|
||||
ESTOQUE_MIN = string.Empty;
|
||||
ESTOQUE_IDEAL = string.Empty;
|
||||
ESTOQUE_DISP = string.Empty;
|
||||
CUSTO = string.Empty;
|
||||
LUCRO = string.Empty;
|
||||
VENDA = string.Empty;
|
||||
FORNECEDOR = string.Empty;
|
||||
LOCAL = string.Empty;
|
||||
GAVETA = string.Empty;
|
||||
FABRICANTE = string.Empty;
|
||||
NOMECURTO = string.Empty;
|
||||
P_FOTO = string.Empty;
|
||||
NC_MERCOSUL = string.Empty;
|
||||
C_CST = string.Empty;
|
||||
C_ICMS = string.Empty;
|
||||
C_IPI = string.Empty;
|
||||
ULTIMA_VENDA = string.Empty;
|
||||
ULTIMA_COMPRA = string.Empty;
|
||||
PRECO_1 = string.Empty;
|
||||
PRECO_2 = string.Empty;
|
||||
GTIN = string.Empty;
|
||||
VALIDADE = string.Empty;
|
||||
OBSERVACOES = string.Empty;
|
||||
}
|
||||
public ModeloItens(int iD_ITENS, string cODIGO, string nUMERO, string nOME,
|
||||
string gRUPO, string sUBGRUPO, string tIPO, string uNIDADE,
|
||||
string nUMERO_FAB, string eSTOQUE_MIN, string eSTOQUE_IDEAL,
|
||||
|
||||
@ -4,6 +4,20 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensEntrada
|
||||
{
|
||||
public ModeloItensEntrada()
|
||||
{
|
||||
ID_ITENS_ENTRADA = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
NOVOS = string.Empty;
|
||||
NOTA = string.Empty;
|
||||
TOTAL = string.Empty;
|
||||
DATA_INC = string.Empty;
|
||||
FUNCIONARIO = string.Empty;
|
||||
OBSERVACAO = string.Empty;
|
||||
FORNECEDOR = string.Empty;
|
||||
PED_NUM = string.Empty;
|
||||
}
|
||||
public ModeloItensEntrada(int iD_ITENS_ENTRADA, string cODIGO, string cOD_ITEM,
|
||||
string nOVOS, string nOTA, string tOTAL, string dATA_INC,
|
||||
string fUNCIONARIO, string oBSERVACAO, string fORNECEDOR, string pED_NUM)
|
||||
|
||||
@ -4,6 +4,19 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensFabrica
|
||||
{
|
||||
public ModeloItensFabrica()
|
||||
{
|
||||
ID_ITENS_FABRICA = 0;
|
||||
CODIGO = string.Empty;
|
||||
KIT_CODIGO = string.Empty;
|
||||
ITEM_CODIGO = string.Empty;
|
||||
BARCODE = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
QTD = string.Empty;
|
||||
CUSTO = string.Empty;
|
||||
VENDA = string.Empty;
|
||||
SERVICO = string.Empty;
|
||||
}
|
||||
public ModeloItensFabrica(int iD_ITENS_FABRICA, string cODIGO, string kIT_CODIGO, string iTEM_CODIGO, string bARCODE, string dESCRICAO, string qTD, string cUSTO, string vENDA, string sERVICO)
|
||||
{
|
||||
ID_ITENS_FABRICA = iD_ITENS_FABRICA;
|
||||
|
||||
@ -4,6 +4,13 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensFotosML
|
||||
{
|
||||
public ModeloItensFotosML()
|
||||
{
|
||||
ID_ITENS_FOTOS_ML = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
LINK_FOTO = string.Empty;
|
||||
}
|
||||
public ModeloItensFotosML(int iD_ITENS_FOTOS_ML, string cODIGO, string cOD_ITEM, string lINK_FOTO)
|
||||
{
|
||||
ID_ITENS_FOTOS_ML = iD_ITENS_FOTOS_ML;
|
||||
|
||||
@ -4,6 +4,28 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensNota
|
||||
{
|
||||
public ModeloItensNota()
|
||||
{
|
||||
ID_ITENS_NOTA = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NOTA = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
COD_VENDEDOR = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
UNIDADE = string.Empty;
|
||||
QTD = string.Empty;
|
||||
PRECO = string.Empty;
|
||||
ICMS = string.Empty;
|
||||
IPI = string.Empty;
|
||||
ISS = string.Empty;
|
||||
DESCONTO = string.Empty;
|
||||
TOTAL = string.Empty;
|
||||
CFOP = string.Empty;
|
||||
CST = string.Empty;
|
||||
GTIN = string.Empty;
|
||||
INF_ADIC = string.Empty;
|
||||
}
|
||||
public ModeloItensNota(int iD_ITENS_NOTA, string cODIGO, string cOD_NOTA, string tIPO,
|
||||
string cOD_VENDEDOR, string cOD_ITEM, string dESCRICAO, string uNIDADE,
|
||||
string qTD, string pRECO, string iCMS, string iPI, string iSS, string dESCONTO,
|
||||
|
||||
@ -4,6 +4,20 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensOrca
|
||||
{
|
||||
public ModeloItensOrca()
|
||||
{
|
||||
ID_ITENS = 0;
|
||||
BARCODE = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
SERVICO = string.Empty;
|
||||
QTD = string.Empty;
|
||||
VRL_UN = string.Empty;
|
||||
DESCONTO = string.Empty;
|
||||
VLR_TOTAL = string.Empty;
|
||||
UN = string.Empty;
|
||||
VENDA = string.Empty;
|
||||
CODIGO = string.Empty;
|
||||
}
|
||||
public ModeloItensOrca(int iD_ITENS, string bARCODE, string dESCRICAO, string sERVICO,
|
||||
string qTD, string vRL_UN, string dESCONTO, string vLR_TOTAL, string uN,
|
||||
string vENDA, string cODIGO)
|
||||
|
||||
@ -1,9 +1,31 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloItensPedido
|
||||
{
|
||||
public ModeloItensPedido()
|
||||
{
|
||||
ID_ITENS_PEDIDO = 0;
|
||||
CODIGO = string.Empty;
|
||||
ITEM = string.Empty;
|
||||
PEDIDO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
NOME = string.Empty;
|
||||
UN = string.Empty;
|
||||
QTD = string.Empty;
|
||||
VLR = string.Empty;
|
||||
IPI = string.Empty;
|
||||
ICMS = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
COD_FAB = string.Empty;
|
||||
this.VFrete = string.Empty;
|
||||
this.VSeguro = string.Empty;
|
||||
this.VDesconto = string.Empty;
|
||||
this.VOutros = string.Empty;
|
||||
SERIAIS_IN = string.Empty;
|
||||
}
|
||||
public ModeloItensPedido(int iD_ITENS_PEDIDO, string cODIGO, string iTEM, string pEDIDO,
|
||||
string cOD_ITEM, string nOME, string uN, string qTD, string vLR, string iPI, string iCMS,
|
||||
string vALOR, string cOD_FAB, string vFrete, string vSeguro, string vDesconto, string vOutros,
|
||||
@ -22,10 +44,10 @@ namespace MLL
|
||||
ICMS = iCMS;
|
||||
VALOR = vALOR;
|
||||
COD_FAB = cOD_FAB;
|
||||
this.vFrete = vFrete;
|
||||
this.vSeguro = vSeguro;
|
||||
this.vDesconto = vDesconto;
|
||||
this.vOutros = vOutros;
|
||||
this.VFrete = vFrete;
|
||||
this.VSeguro = vSeguro;
|
||||
this.VDesconto = vDesconto;
|
||||
this.VOutros = vOutros;
|
||||
SERIAIS_IN = sERIAIS_IN;
|
||||
}
|
||||
|
||||
@ -42,10 +64,10 @@ namespace MLL
|
||||
public string ICMS { get; set; }
|
||||
public string VALOR { get; set; }
|
||||
public string COD_FAB { get; set; }
|
||||
public string vFrete { get; set; }
|
||||
public string vSeguro { get; set; }
|
||||
public string vDesconto { get; set; }
|
||||
public string vOutros { get; set; }
|
||||
public string VFrete { get; set; }
|
||||
public string VSeguro { get; set; }
|
||||
public string VDesconto { get; set; }
|
||||
public string VOutros { get; set; }
|
||||
public string SERIAIS_IN { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,21 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensSaida
|
||||
{
|
||||
public ModeloItensSaida()
|
||||
{
|
||||
ID_ITENS_SAIDA = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
QTD_SAI = string.Empty;
|
||||
FUNCIONARIO = string.Empty;
|
||||
NOTA = string.Empty;
|
||||
OS = string.Empty;
|
||||
OP = string.Empty;
|
||||
OBSERVACAO = string.Empty;
|
||||
DATA_SAIDA = string.Empty;
|
||||
NATUREZA = string.Empty;
|
||||
OV = string.Empty;
|
||||
}
|
||||
public ModeloItensSaida(int iD_ITENS_SAIDA, string cODIGO, string cOD_ITEM, string qTD_SAI, string fUNCIONARIO, string nOTA,
|
||||
string oS, string oP, string oBSERVACAO, string dATA_SAIDA, string nATUREZA, string oV)
|
||||
{
|
||||
|
||||
@ -4,6 +4,20 @@ namespace MLL
|
||||
{
|
||||
public class ModeloItensSerial
|
||||
{
|
||||
public ModeloItensSerial()
|
||||
{
|
||||
ID_ITENS_SERIAL = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
SERIAL = string.Empty;
|
||||
COD_NF_ENTRADA = string.Empty;
|
||||
COD_NF_SAIDA = string.Empty;
|
||||
COD_ENTRADA = string.Empty;
|
||||
COD_SAIDA = string.Empty;
|
||||
DATA_MOVIM = string.Empty;
|
||||
BAIXADO = string.Empty;
|
||||
OBS = string.Empty;
|
||||
}
|
||||
public ModeloItensSerial(int iD_ITENS_SERIAL, string cODIGO, string cOD_ITEM, string sERIAL, string cOD_NF_ENTRADA, string cOD_NF_SAIDA, string cOD_ENTRADA, string cOD_SAIDA, string dATA_MOVIM, string bAIXADO, string oBS)
|
||||
{
|
||||
ID_ITENS_SERIAL = iD_ITENS_SERIAL;
|
||||
|
||||
@ -1,9 +1,32 @@
|
||||
using System;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloItensVenda
|
||||
{
|
||||
public ModeloItensVenda()
|
||||
{
|
||||
ID_ITENS_VENDA = 0;
|
||||
CODIGO = string.Empty;
|
||||
ITEM_CODIGO = string.Empty;
|
||||
BARCODE = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
SERVICO = string.Empty;
|
||||
QTD = string.Empty;
|
||||
VRL_UN = string.Empty;
|
||||
DESCONTO = string.Empty;
|
||||
VLR_TOTAL = string.Empty;
|
||||
UN = string.Empty;
|
||||
VENDA = string.Empty;
|
||||
DIA = string.Empty;
|
||||
SERIAIS_IN = string.Empty;
|
||||
XPED = string.Empty;
|
||||
NITEMPED = string.Empty;
|
||||
CUSTO = string.Empty;
|
||||
VINF_ADIC = string.Empty;
|
||||
LOTES = string.Empty;
|
||||
}
|
||||
public ModeloItensVenda(int iD_ITENS_VENDA, string cODIGO, string iTEM_CODIGO, string bARCODE,
|
||||
string dESCRICAO, string sERVICO, string qTD, string vRL_UN, string dESCONTO,
|
||||
string vLR_TOTAL, string uN, string vENDA, string dIA, string sERIAIS_IN, string xPED,
|
||||
|
||||
@ -4,6 +4,15 @@ namespace MLL
|
||||
{
|
||||
public class ModeloLCP116
|
||||
{
|
||||
public ModeloLCP116()
|
||||
{
|
||||
ID_LCP116 = 0;
|
||||
CODIGO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
CODIGO_PAI = string.Empty;
|
||||
CODIGO_FILHO = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloLCP116(int iD_LCP116, string cODIGO, string dESCRICAO, string cODIGO_PAI, string cODIGO_FILHO, string dATA_CADASTRO)
|
||||
{
|
||||
ID_LCP116 = iD_LCP116;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloLogUser
|
||||
{
|
||||
public ModeloLogUser()
|
||||
{
|
||||
ID_LOG_USER = 0;
|
||||
CODIGO = string.Empty;
|
||||
USUARIO = string.Empty;
|
||||
MICRO = string.Empty;
|
||||
ACAO = string.Empty;
|
||||
RISCO = string.Empty;
|
||||
DIA_LOG = string.Empty;
|
||||
ENDER_CLI = string.Empty;
|
||||
}
|
||||
public ModeloLogUser(int iD_LOG_USER, string cODIGO, string uSUARIO, string mICRO, string aCAO, string rISCO, string dIA_LOG, string eNDER_CLI)
|
||||
{
|
||||
ID_LOG_USER = iD_LOG_USER;
|
||||
|
||||
@ -1,9 +1,21 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNFEInutilizadas
|
||||
{
|
||||
public ModeloNFEInutilizadas()
|
||||
{
|
||||
ID_NFE_INUTILIZADAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
MOTIVO = string.Empty;
|
||||
NUMERO_INICIAL = string.Empty;
|
||||
NUMERO_FINAL = string.Empty;
|
||||
DIA = string.Empty;
|
||||
MODELO = string.Empty;
|
||||
}
|
||||
public ModeloNFEInutilizadas(int iD_NFE_INUTILIZADAS, string cODIGO, string mOTIVO, string nUMERO_INICIAL, string nUMERO_FINAL, string dIA, string mODELO)
|
||||
{
|
||||
ID_NFE_INUTILIZADAS = iD_NFE_INUTILIZADAS;
|
||||
|
||||
@ -4,6 +4,14 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNFENumeroLote
|
||||
{
|
||||
public ModeloNFENumeroLote()
|
||||
{
|
||||
ID_NFE_NUM_LOTE = 0;
|
||||
CODIGO = string.Empty;
|
||||
NUM_NF = string.Empty;
|
||||
DATA_GERADO = string.Empty;
|
||||
RETORNO = string.Empty;
|
||||
}
|
||||
public ModeloNFENumeroLote(int iD_NFE_NUM_LOTE, string cODIGO, string nUM_NF, string dATA_GERADO, string rETORNO)
|
||||
{
|
||||
ID_NFE_NUM_LOTE = iD_NFE_NUM_LOTE;
|
||||
|
||||
@ -4,6 +4,14 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNFEUfCidade
|
||||
{
|
||||
public ModeloNFEUfCidade()
|
||||
{
|
||||
ID_NFE_UF_CIDADE = 0;
|
||||
UF_COD = string.Empty;
|
||||
UF_NOME = string.Empty;
|
||||
CID_COD = string.Empty;
|
||||
CID_NOME = string.Empty;
|
||||
}//Modelo
|
||||
public ModeloNFEUfCidade(int iD_NFE_UF_CIDADE, string uF_COD, string uF_NOME, string cID_COD, string cID_NOME)
|
||||
{
|
||||
ID_NFE_UF_CIDADE = iD_NFE_UF_CIDADE;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasCCE
|
||||
{
|
||||
public ModeloNotasCCE()
|
||||
{
|
||||
ID_NOTAS_CCE = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NFE = string.Empty;
|
||||
CORRECAO = string.Empty;
|
||||
DATA_HORA = string.Empty;
|
||||
TZD = string.Empty;
|
||||
EVENTO = string.Empty;
|
||||
RETORNO = string.Empty;
|
||||
}
|
||||
public ModeloNotasCCE(int iD_NOTAS_CCE, string cODIGO, string cOD_NFE, string cORRECAO, string dATA_HORA, string tZD, string eVENTO, string rETORNO)
|
||||
{
|
||||
ID_NOTAS_CCE = iD_NOTAS_CCE;
|
||||
|
||||
@ -4,6 +4,18 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasCFOP
|
||||
{
|
||||
public ModeloNotasCFOP()
|
||||
{
|
||||
ID_NOTAS_CFOP = 0;
|
||||
CODIGO = string.Empty;
|
||||
CFOP = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
BESTOQUE = string.Empty;
|
||||
BCONTAS = string.Empty;
|
||||
BICMS = string.Empty;
|
||||
BICMS_ST = string.Empty;
|
||||
BASE = string.Empty;
|
||||
}
|
||||
public ModeloNotasCFOP(int iD_NOTAS_CFOP, string cODIGO, string cFOP, string dESCRICAO, string bESTOQUE, string bCONTAS, string bICMS, string bICMS_ST, string bASE)
|
||||
{
|
||||
ID_NOTAS_CFOP = iD_NOTAS_CFOP;
|
||||
|
||||
@ -4,6 +4,100 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasCompras
|
||||
{
|
||||
public ModeloNotasCompras()
|
||||
{
|
||||
ID_NOTAS_COMPRAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
CFOP = string.Empty;
|
||||
IDE_INDPAG = string.Empty;
|
||||
IDE_MOD = string.Empty;
|
||||
IDE_SERIE = string.Empty;
|
||||
IDE_NNF = string.Empty;
|
||||
IDE_DEMI = string.Empty;
|
||||
IDE_DSAIENT = string.Empty;
|
||||
IDE_HSAIENT = string.Empty;
|
||||
IDE_CMUNFG = string.Empty;
|
||||
IDE_CHNFE = string.Empty;
|
||||
IDE_INDEMIT = string.Empty;
|
||||
IDE_CODCONS = string.Empty;
|
||||
DESTEMIT_CODIGO = string.Empty;
|
||||
DESTEMIT_CNPJCPF = string.Empty;
|
||||
DESTEMIT_XNOME = string.Empty;
|
||||
DESTEMIT_XFANT = string.Empty;
|
||||
DESTEMIT_XLGR = string.Empty;
|
||||
DESTEMIT_NRO = string.Empty;
|
||||
DESTEMIT_XCLP = string.Empty;
|
||||
DESTEMIT_XBAIRRO = string.Empty;
|
||||
DESTEMIT_CMUN = string.Empty;
|
||||
DESTEMIT_XMUN = string.Empty;
|
||||
DESTEMIT_UF = string.Empty;
|
||||
DESTEMIT_CEP = string.Empty;
|
||||
DESTEMIT_CPAIS = string.Empty;
|
||||
DESTEMIT_XPAIS = string.Empty;
|
||||
DESTEMIT_FONE = string.Empty;
|
||||
DESTEMIT_IE = string.Empty;
|
||||
DESTEMIT_IEST = string.Empty;
|
||||
DESTEMIT_IM = string.Empty;
|
||||
DESTEMIT_CNAE = string.Empty;
|
||||
DESTEMIT_CRT = string.Empty;
|
||||
DESTEMIT_ISUF = string.Empty;
|
||||
DESTEMIT_EMAIL = string.Empty;
|
||||
TRANSP_CODIGO = string.Empty;
|
||||
TRANSP_MODFRETE = string.Empty;
|
||||
TRANSP_CNPJCPF = string.Empty;
|
||||
TRANSP_XNOME = string.Empty;
|
||||
TRANSP_IE = string.Empty;
|
||||
TRANSP_XBAIRRO = string.Empty;
|
||||
TRANSP_XLGR = string.Empty;
|
||||
TRANSP_CPAIS = string.Empty;
|
||||
TRANSP_CMUN = string.Empty;
|
||||
TRANSP_XMUN = string.Empty;
|
||||
TRANSP_NRO = string.Empty;
|
||||
TRANSP_UF = string.Empty;
|
||||
TRANSP_PLACA = string.Empty;
|
||||
TRANSP_RNTC = string.Empty;
|
||||
TRANSP_QVOL = string.Empty;
|
||||
TRANSP_ESP = string.Empty;
|
||||
TRANSP_MARCA = string.Empty;
|
||||
TRANSP_NVOL = string.Empty;
|
||||
TRANSP_PESOL = string.Empty;
|
||||
TRANSP_PESOB = string.Empty;
|
||||
TOTAL_VBC = string.Empty;
|
||||
TOTAL_VICMS = string.Empty;
|
||||
TOTAL_VBCST = string.Empty;
|
||||
TOTAL_VST = string.Empty;
|
||||
TOTAL_VPROD = string.Empty;
|
||||
TOTAL_VFRETE = string.Empty;
|
||||
TOTAL_VSEG = string.Empty;
|
||||
TOTAL_VDESC = string.Empty;
|
||||
TOTAL_VII = string.Empty;
|
||||
TOTAL_VIPI = string.Empty;
|
||||
TOTAL_VPIS_ST = string.Empty;
|
||||
TOTAL_VPIS = string.Empty;
|
||||
TOTAL_VCOFINS = string.Empty;
|
||||
TOTAL_VCOFINS_ST = string.Empty;
|
||||
TOTAL_VOUTRO = string.Empty;
|
||||
TOTAL_ISS = string.Empty;
|
||||
TOTAL_VNF = string.Empty;
|
||||
NFREF_REFNF = string.Empty;
|
||||
REFECF_MOD = string.Empty;
|
||||
REFECF_NECF = string.Empty;
|
||||
REFECF_NCOO = string.Empty;
|
||||
REFECF_TPIMP = string.Empty;
|
||||
REFECF_TPEMIS = string.Empty;
|
||||
REFECF_FINNFE = string.Empty;
|
||||
REFECF_PROCEMI = string.Empty;
|
||||
REFECF_VERPROC = string.Empty;
|
||||
REFECF_DHCONT = string.Empty;
|
||||
REFECF_XJUST = string.Empty;
|
||||
FAT_INDTIT = string.Empty;
|
||||
OBS_COMPRADOR = string.Empty;
|
||||
IDE_NATOP = string.Empty;
|
||||
MANIFESTO = string.Empty;
|
||||
IDE_CODSIT = string.Empty;
|
||||
this.InfCpl = string.Empty;
|
||||
this.InfAdFisco = string.Empty;
|
||||
}
|
||||
public ModeloNotasCompras(int iD_NOTAS_COMPRAS, string cODIGO, string cFOP, string iDE_INDPAG, string iDE_MOD,
|
||||
string iDE_SERIE, string iDE_NNF, string iDE_DEMI, string iDE_DSAIENT, string iDE_HSAIENT, string iDE_CMUNFG,
|
||||
string iDE_CHNFE, string iDE_INDEMIT, string iDE_CODCONS, string dESTEMIT_CODIGO, string dESTEMIT_CNPJCPF, string dESTEMIT_XNOME,
|
||||
@ -103,8 +197,8 @@ namespace MLL
|
||||
IDE_NATOP = iDE_NATOP;
|
||||
MANIFESTO = mANIFESTO;
|
||||
IDE_CODSIT = iDE_CODSIT;
|
||||
this.infCpl = infCpl;
|
||||
this.infAdFisco = infAdFisco;
|
||||
this.InfCpl = infCpl;
|
||||
this.InfAdFisco = infAdFisco;
|
||||
}
|
||||
|
||||
public int ID_NOTAS_COMPRAS { get; set; }
|
||||
@ -204,7 +298,7 @@ namespace MLL
|
||||
public string MANIFESTO { get; set; }
|
||||
public string IDE_CODSIT { get; set; }
|
||||
|
||||
public string infCpl { get; set; }
|
||||
public string infAdFisco { get; set; }
|
||||
public string InfCpl { get; set; }
|
||||
public string InfAdFisco { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,14 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasComprasCorel
|
||||
{
|
||||
public ModeloNotasComprasCorel()
|
||||
{
|
||||
ID_NOTAS_COMP_COREL = 0;
|
||||
CODIGO = string.Empty;
|
||||
FORNEC_CNPJ = string.Empty;
|
||||
FORNEC_cProd = string.Empty;
|
||||
MEU_cProd = string.Empty;
|
||||
}
|
||||
public ModeloNotasComprasCorel(int iD_NOTAS_COMP_COREL, string cODIGO, string fORNEC_CNPJ, string fORNEC_cProd, string mEU_cProd)
|
||||
{
|
||||
ID_NOTAS_COMP_COREL = iD_NOTAS_COMP_COREL;
|
||||
|
||||
@ -4,6 +4,13 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasComprasDFE
|
||||
{
|
||||
public ModeloNotasComprasDFE()
|
||||
{
|
||||
ID_NOTAS_COMPRAS_DFE = 0;
|
||||
CODIGO = string.Empty;
|
||||
CHAVE = string.Empty;
|
||||
MANIFESTADO = string.Empty;
|
||||
}
|
||||
public ModeloNotasComprasDFE(int iD_NOTAS_COMPRAS_DFE, string cODIGO, string cHAVE, string mANIFESTADO)
|
||||
{
|
||||
ID_NOTAS_COMPRAS_DFE = iD_NOTAS_COMPRAS_DFE;
|
||||
|
||||
@ -4,6 +4,15 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasComprasFaturas
|
||||
{
|
||||
public ModeloNotasComprasFaturas()
|
||||
{
|
||||
ID_NOTAS_COMP_FATURAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
NOTA_ID = string.Empty;
|
||||
NPARC = string.Empty;
|
||||
DVENC = string.Empty;
|
||||
VPARC = string.Empty;
|
||||
}
|
||||
public ModeloNotasComprasFaturas(int iD_NOTAS_COMP_FATURAS, string cODIGO, string nOTA_ID, string nPARC, string dVENC, string vPARC)
|
||||
{
|
||||
ID_NOTAS_COMP_FATURAS = iD_NOTAS_COMP_FATURAS;
|
||||
|
||||
@ -4,6 +4,56 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasComprasItens
|
||||
{
|
||||
public ModeloNotasComprasItens()
|
||||
{
|
||||
ID_NOTAS_COMP_ITENS = 0;
|
||||
CODIGO = string.Empty;
|
||||
NOTA_ID = string.Empty;
|
||||
CPROD = string.Empty;
|
||||
CEAN = string.Empty;
|
||||
XPROD = string.Empty;
|
||||
NCM = string.Empty;
|
||||
CFOP = string.Empty;
|
||||
UCOM = string.Empty;
|
||||
QCOM = string.Empty;
|
||||
VUNCOM = string.Empty;
|
||||
VPROD = string.Empty;
|
||||
VFRETE = string.Empty;
|
||||
VSEG = string.Empty;
|
||||
VDESC = string.Empty;
|
||||
VOUTRO = string.Empty;
|
||||
ORIG = string.Empty;
|
||||
CST_ICMS = string.Empty;
|
||||
CST_PIS = string.Empty;
|
||||
CST_COFINS = string.Empty;
|
||||
CST_IPI = string.Empty;
|
||||
DI_NDI = string.Empty;
|
||||
DI_DDI = string.Empty;
|
||||
DI_XLOCDESEMB = string.Empty;
|
||||
DI_UFDESEMB = string.Empty;
|
||||
DI_CEXPORTADOR = string.Empty;
|
||||
COD_NAT = string.Empty;
|
||||
XPROD_COMPL = string.Empty;
|
||||
NAT_BC_CRED = string.Empty;
|
||||
COD_CTA = string.Empty;
|
||||
COD_CCUS = string.Empty;
|
||||
EX_IPI = string.Empty;
|
||||
IND_NAT_FRT = string.Empty;
|
||||
IPI_VBC = string.Empty;
|
||||
IPI_PIPI = string.Empty;
|
||||
IPI_VIPI = string.Empty;
|
||||
ICMS_VBC = string.Empty;
|
||||
ICMS_PICMS = string.Empty;
|
||||
ICMS_VICMS = string.Empty;
|
||||
ICMS_VBCST = string.Empty;
|
||||
ICMS_PICMSST = string.Empty;
|
||||
ICMS_VICMSST = string.Empty;
|
||||
COD_INTERNO = string.Empty;
|
||||
XPED = string.Empty;
|
||||
NITEMPED = string.Empty;
|
||||
SERIAIS_IN = string.Empty;
|
||||
EAN = string.Empty;
|
||||
}
|
||||
public ModeloNotasComprasItens(int iD_NOTAS_COMP_ITENS, string cODIGO, string nOTA_ID, string cPROD, string cEAN, string xPROD,
|
||||
string nCM, string cFOP, string uCOM, string qCOM, string vUNCOM, string vPROD, string vFRETE, string vSEG,
|
||||
string vDESC, string vOUTRO, string oRIG, string cST_ICMS, string cST_PIS, string cST_COFINS, string cST_IPI,
|
||||
|
||||
@ -1,9 +1,22 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Runtime.Intrinsics.X86;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNotasConsumidorFormas
|
||||
{
|
||||
public ModeloNotasConsumidorFormas()
|
||||
{
|
||||
ID_NOTAS_CONS_FORMAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NFCE = string.Empty;
|
||||
FORMA = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
CNPJ_OPERADORA = string.Empty;
|
||||
TBAND = string.Empty;
|
||||
}
|
||||
public ModeloNotasConsumidorFormas(int iD_NOTAS_CONS_FORMAS, string cODIGO, string cOD_NFCE, string fORMA, string vALOR, string dATA_CADASTRO, string cNPJ_OPERADORA, string tBand)
|
||||
{
|
||||
ID_NOTAS_CONS_FORMAS = iD_NOTAS_CONS_FORMAS;
|
||||
@ -13,7 +26,7 @@ namespace MLL
|
||||
VALOR = vALOR;
|
||||
DATA_CADASTRO = dATA_CADASTRO;
|
||||
CNPJ_OPERADORA = cNPJ_OPERADORA;
|
||||
this.tBand = tBand;
|
||||
TBAND = tBand;
|
||||
}
|
||||
|
||||
public int ID_NOTAS_CONS_FORMAS { get; set; }
|
||||
@ -23,6 +36,6 @@ namespace MLL
|
||||
public string VALOR { get; set; }
|
||||
public string DATA_CADASTRO { get; set; }
|
||||
public string CNPJ_OPERADORA { get; set; }
|
||||
public string tBand { get; set; }
|
||||
public string TBAND { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,69 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasConsumidorItens
|
||||
{
|
||||
public ModeloNotasConsumidorItens()
|
||||
{
|
||||
ID_NOTAS_CONSU_ITENS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NFCE = string.Empty;
|
||||
ITEM_TIPO = string.Empty;
|
||||
ITEM_CEAN = string.Empty;
|
||||
ITEM_CPROD = string.Empty;
|
||||
ITEM_XPROD = string.Empty;
|
||||
ITEM_INF_ADIC = string.Empty;
|
||||
ITEM_CFOP = string.Empty;
|
||||
ITEM_NCM = string.Empty;
|
||||
ITEM_UNCOM = string.Empty;
|
||||
ITEM_QCOM = string.Empty;
|
||||
ITEM_VPROD = string.Empty;
|
||||
ITEM_VOUTRO = string.Empty;
|
||||
ITEM_VFRETE = string.Empty;
|
||||
ITEM_VSEG = string.Empty;
|
||||
ITEM_VDESC = string.Empty;
|
||||
ITEM_vTotTrib = string.Empty;
|
||||
ITEM_ORIGEM = string.Empty;
|
||||
ITEM_CST = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
ITEM_ICMS_modBC = string.Empty;
|
||||
ITEM_ICMS_pRedBC = string.Empty;
|
||||
ITEM_ICMS_vBC = string.Empty;
|
||||
ITEM_ICMS_pICMS = string.Empty;
|
||||
ITEM_ICMS_vICMS = string.Empty;
|
||||
ITEM_ICMS_vICMSDeson = string.Empty;
|
||||
ITEM_ICMS_motDesICMS = string.Empty;
|
||||
ITEM_ICMS_modBCST = string.Empty;
|
||||
ITEM_ICMS_pMVAST = string.Empty;
|
||||
ITEM_ICMS_pRedBCST = string.Empty;
|
||||
ITEM_ICMS_vBCST = string.Empty;
|
||||
ITEM_ICMS_pICMSST = string.Empty;
|
||||
ITEM_ICMS_vICMSST = string.Empty;
|
||||
ITEM_cProdANP = string.Empty;
|
||||
ITEM_CEST = string.Empty;
|
||||
this.CBenef = string.Empty;
|
||||
ITEM_pFCP = string.Empty;
|
||||
ITEM_vFCP = string.Empty;
|
||||
ITEM_vBCFCP = string.Empty;
|
||||
ITEM_vBCFCPST = string.Empty;
|
||||
ITEM_pFCPST = string.Empty;
|
||||
ITEM_vFCPST = string.Empty;
|
||||
ITEM_pST = string.Empty;
|
||||
ITEM_vBCFCPSTRet = string.Empty;
|
||||
ITEM_pFCPSTRet = string.Empty;
|
||||
ITEM_vFCPSTRet = string.Empty;
|
||||
ITEM_PIS_CST = string.Empty;
|
||||
ITEM_PIS_vBC = string.Empty;
|
||||
ITEM_PIS_pPIS = string.Empty;
|
||||
ITEM_PIS_vPIS = string.Empty;
|
||||
ITEM_COFINS_CST = string.Empty;
|
||||
ITEM_COFINS_vBC = string.Empty;
|
||||
ITEM_COFINS_pCOFINS = string.Empty;
|
||||
ITEM_COFINS_vCOFINS = string.Empty;
|
||||
this.VICMSSubstituto = string.Empty;
|
||||
this.PRedBCEfet = string.Empty;
|
||||
this.VBCEfet = string.Empty;
|
||||
this.PICMSEfet = string.Empty;
|
||||
this.VICMSEfet = string.Empty;
|
||||
}
|
||||
public ModeloNotasConsumidorItens(int iD_NOTAS_CONSU_ITENS, string cODIGO, string cOD_NFCE, string iTEM_TIPO, string iTEM_CEAN,
|
||||
string iTEM_CPROD, string iTEM_XPROD, string iTEM_INF_ADIC, string iTEM_CFOP, string iTEM_NCM,
|
||||
string iTEM_UNCOM, string iTEM_QCOM, string iTEM_VPROD, string iTEM_VOUTRO, string iTEM_VFRETE,
|
||||
@ -53,7 +116,7 @@ namespace MLL
|
||||
ITEM_ICMS_vICMSST = iTEM_ICMS_vICMSST;
|
||||
ITEM_cProdANP = iTEM_cProdANP;
|
||||
ITEM_CEST = iTEM_CEST;
|
||||
this.cBenef = cBenef;
|
||||
this.CBenef = cBenef;
|
||||
ITEM_pFCP = iTEM_pFCP;
|
||||
ITEM_vFCP = iTEM_vFCP;
|
||||
ITEM_vBCFCP = iTEM_vBCFCP;
|
||||
@ -72,11 +135,11 @@ namespace MLL
|
||||
ITEM_COFINS_vBC = iTEM_COFINS_vBC;
|
||||
ITEM_COFINS_pCOFINS = iTEM_COFINS_pCOFINS;
|
||||
ITEM_COFINS_vCOFINS = iTEM_COFINS_vCOFINS;
|
||||
this.vICMSSubstituto = vICMSSubstituto;
|
||||
this.pRedBCEfet = pRedBCEfet;
|
||||
this.vBCEfet = vBCEfet;
|
||||
this.pICMSEfet = pICMSEfet;
|
||||
this.vICMSEfet = vICMSEfet;
|
||||
this.VICMSSubstituto = vICMSSubstituto;
|
||||
this.PRedBCEfet = pRedBCEfet;
|
||||
this.VBCEfet = vBCEfet;
|
||||
this.PICMSEfet = pICMSEfet;
|
||||
this.VICMSEfet = vICMSEfet;
|
||||
}
|
||||
|
||||
public int ID_NOTAS_CONSU_ITENS { get; set; }
|
||||
@ -117,7 +180,7 @@ namespace MLL
|
||||
|
||||
public string ITEM_cProdANP { get; set; }
|
||||
public string ITEM_CEST { get; set; }
|
||||
public string cBenef { get; set; }
|
||||
public string CBenef { get; set; }
|
||||
|
||||
public string ITEM_pFCP { get; set; }
|
||||
public string ITEM_vFCP { get; set; }
|
||||
@ -140,10 +203,10 @@ namespace MLL
|
||||
public string ITEM_COFINS_pCOFINS { get; set; }
|
||||
public string ITEM_COFINS_vCOFINS { get; set; }
|
||||
|
||||
public string vICMSSubstituto { get; set; }
|
||||
public string pRedBCEfet { get; set; }
|
||||
public string vBCEfet { get; set; }
|
||||
public string pICMSEfet { get; set; }
|
||||
public string vICMSEfet { get; set; }
|
||||
public string VICMSSubstituto { get; set; }
|
||||
public string PRedBCEfet { get; set; }
|
||||
public string VBCEfet { get; set; }
|
||||
public string PICMSEfet { get; set; }
|
||||
public string VICMSEfet { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasContador
|
||||
{
|
||||
public ModeloNotasContador()
|
||||
{
|
||||
ID_NOTAS_CONTADOR = 0;
|
||||
CODIGO = string.Empty;
|
||||
CNPJ_CPF = string.Empty;
|
||||
NOME = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
EMAIL = string.Empty;
|
||||
TELEFONE = string.Empty;
|
||||
CONTADOR_ID = string.Empty;
|
||||
}
|
||||
public ModeloNotasContador(int iD_NOTAS_CONTADOR, string cODIGO, string cNPJ_CPF, string nOME, string dATA_CADASTRO, string eMAIL, string tELEFONE, string cONTADOR_ID)
|
||||
{
|
||||
ID_NOTAS_CONTADOR = iD_NOTAS_CONTADOR;
|
||||
|
||||
@ -4,6 +4,73 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasDeServicos
|
||||
{
|
||||
public ModeloNotasDeServicos()
|
||||
{
|
||||
ID_NOTAS_SERVICOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
IDE_RPS = string.Empty;
|
||||
IDE_SERIE = string.Empty;
|
||||
IDE_TIPO = string.Empty;
|
||||
IDE_DT_EMIS = string.Empty;
|
||||
IDE_CAMPO1 = string.Empty;
|
||||
IDE_CAMPO2 = string.Empty;
|
||||
IDE_REG_TRIB = string.Empty;
|
||||
IDE_SIMPLES = string.Empty;
|
||||
IDE_IN_CULTURAL = string.Empty;
|
||||
TOMADOR_CNPJ = string.Empty;
|
||||
TOMADOR_IMUN = string.Empty;
|
||||
TOMADOR_RAZAO = string.Empty;
|
||||
TOMADOR_END = string.Empty;
|
||||
TOMADOR_NUM = string.Empty;
|
||||
TOMADOR_CPL = string.Empty;
|
||||
TOMADOR_BAIRRO = string.Empty;
|
||||
TOMADOR_COD_MUN = string.Empty;
|
||||
TOMADOR_UF = string.Empty;
|
||||
TOMADOR_CEP = string.Empty;
|
||||
TOMADOR_EMAIL = string.Empty;
|
||||
TOMADOR_TELEFONE = string.Empty;
|
||||
RPS_LOTE = string.Empty;
|
||||
RPS_OBS = string.Empty;
|
||||
RPS_ETAPA1 = string.Empty;
|
||||
RPS_ETAPA2 = string.Empty;
|
||||
RPS_ETAPA3 = string.Empty;
|
||||
RPS_ETAPA4 = string.Empty;
|
||||
RPS_ETAPA5 = string.Empty;
|
||||
NFS_SUBSTITUIDO_RPS = string.Empty;
|
||||
NFS_SUBSTITUIDO_SERIE = string.Empty;
|
||||
NFS_SUBSTITUIDO_TIPO = string.Empty;
|
||||
CODIGO_OBRA = string.Empty;
|
||||
NUMERO_ART = string.Empty;
|
||||
INTERMEDIARIO_CNP = string.Empty;
|
||||
INTERMEDIARIO_IM = string.Empty;
|
||||
INTERMEDIARIO_RAZAO = string.Empty;
|
||||
RPS_COD_SERV = string.Empty;
|
||||
NFS_ValorServicos = string.Empty;
|
||||
NFS_ValorDeducoes = string.Empty;
|
||||
NFS_ValorPis = string.Empty;
|
||||
NFS_ValorCofins = string.Empty;
|
||||
NFS_ValorInss = string.Empty;
|
||||
NFS_ValorCredito = string.Empty;
|
||||
NFS_BaseCalculo = string.Empty;
|
||||
NFS_ValorLiquidoNfse = string.Empty;
|
||||
NFS_ValorIr = string.Empty;
|
||||
NFS_ValorCsll = string.Empty;
|
||||
NFS_IssRetido = string.Empty;
|
||||
NFS_ValorIss = string.Empty;
|
||||
NFS_OutrasRetencoes = string.Empty;
|
||||
NFS_DescontoIncondicionado = string.Empty;
|
||||
NFS_DescontoCondicionado = string.Empty;
|
||||
NFS_Aliquota = string.Empty;
|
||||
NFS_CodigoServico = string.Empty;
|
||||
NFS_CNAE = string.Empty;
|
||||
NFS_CodigoTributacaoMunicipio = string.Empty;
|
||||
NFS_Discriminacao = string.Empty;
|
||||
NFS_CodigoMunicipio = string.Empty;
|
||||
NFS_TributacaoRPS = string.Empty;
|
||||
NFS_CODPAIS = string.Empty;
|
||||
NFS_Exigibilidade = string.Empty;
|
||||
NFS_CodigoMunIncidencia = string.Empty;
|
||||
}
|
||||
public ModeloNotasDeServicos(int iD_NOTAS_SERVICOS, string cODIGO, string iDE_RPS, string iDE_SERIE, string iDE_TIPO, string iDE_DT_EMIS, string iDE_CAMPO1, string iDE_CAMPO2, string iDE_REG_TRIB, string iDE_SIMPLES, string iDE_IN_CULTURAL, string tOMADOR_CNPJ, string tOMADOR_IMUN, string tOMADOR_RAZAO, string tOMADOR_END, string tOMADOR_NUM, string tOMADOR_CPL, string tOMADOR_BAIRRO, string tOMADOR_COD_MUN, string tOMADOR_UF, string tOMADOR_CEP, string tOMADOR_EMAIL, string tOMADOR_TELEFONE, string rPS_LOTE, string rPS_OBS, string rPS_ETAPA1, string rPS_ETAPA2, string rPS_ETAPA3, string rPS_ETAPA4, string rPS_ETAPA5, string nFS_SUBSTITUIDO_RPS, string nFS_SUBSTITUIDO_SERIE, string nFS_SUBSTITUIDO_TIPO, string cODIGO_OBRA, string nUMERO_ART, string iNTERMEDIARIO_CNP, string iNTERMEDIARIO_IM, string iNTERMEDIARIO_RAZAO, string rPS_COD_SERV, string nFS_ValorServicos, string nFS_ValorDeducoes, string nFS_ValorPis, string nFS_ValorCofins, string nFS_ValorInss, string nFS_ValorCredito, string nFS_BaseCalculo, string nFS_ValorLiquidoNfse, string nFS_ValorIr, string nFS_ValorCsll, string nFS_IssRetido, string nFS_ValorIss, string nFS_OutrasRetencoes, string nFS_DescontoIncondicionado, string nFS_DescontoCondicionado, string nFS_Aliquota, string nFS_CodigoServico, string nFS_CNAE, string nFS_CodigoTributacaoMunicipio, string nFS_Discriminacao, string nFS_CodigoMunicipio, string nFS_TributacaoRPS, string nFS_CODPAIS, string nFS_Exigibilidade, string nFS_CodigoMunIncidencia)
|
||||
{
|
||||
ID_NOTAS_SERVICOS = iD_NOTAS_SERVICOS;
|
||||
|
||||
@ -1,9 +1,33 @@
|
||||
using System;
|
||||
using System.Runtime.ConstrainedExecution;
|
||||
using System.Security.Claims;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNotasEnderecos
|
||||
{
|
||||
public ModeloNotasEnderecos()
|
||||
{
|
||||
ID_NOTAS_ENDERECOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NOTA = string.Empty;
|
||||
CNPJ_CPF = string.Empty;
|
||||
this.XLgr = string.Empty;
|
||||
this.Nro = string.Empty;
|
||||
this.XCpl = string.Empty;
|
||||
this.XBairro = string.Empty;
|
||||
this.XMun = string.Empty;
|
||||
UF = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
CEP = string.Empty;
|
||||
CPAIS = string.Empty;
|
||||
XPAIS = string.Empty;
|
||||
FONE = string.Empty;
|
||||
EMAIL = string.Empty;
|
||||
IE = string.Empty;
|
||||
}
|
||||
public ModeloNotasEnderecos(int iD_NOTAS_ENDERECOS, string cODIGO, string cOD_NOTA, string cNPJ_CPF,
|
||||
string xLgr, string nro, string xCpl, string xBairro, string xMun, string uF,
|
||||
string tIPO, string dATA_CADASTRO, string cEP, string cPAIS, string xPAIS,
|
||||
@ -13,11 +37,11 @@ namespace MLL
|
||||
CODIGO = cODIGO;
|
||||
COD_NOTA = cOD_NOTA;
|
||||
CNPJ_CPF = cNPJ_CPF;
|
||||
this.xLgr = xLgr;
|
||||
this.nro = nro;
|
||||
this.xCpl = xCpl;
|
||||
this.xBairro = xBairro;
|
||||
this.xMun = xMun;
|
||||
this.XLgr = xLgr;
|
||||
this.Nro = nro;
|
||||
this.XCpl = xCpl;
|
||||
this.XBairro = xBairro;
|
||||
this.XMun = xMun;
|
||||
UF = uF;
|
||||
TIPO = tIPO;
|
||||
DATA_CADASTRO = dATA_CADASTRO;
|
||||
@ -33,11 +57,11 @@ namespace MLL
|
||||
public string CODIGO { get; set; }
|
||||
public string COD_NOTA { get; set; }
|
||||
public string CNPJ_CPF { get; set; }
|
||||
public string xLgr { get; set; }
|
||||
public string nro { get; set; }
|
||||
public string xCpl { get; set; }
|
||||
public string xBairro { get; set; }
|
||||
public string xMun { get; set; }
|
||||
public string XLgr { get; set; }
|
||||
public string Nro { get; set; }
|
||||
public string XCpl { get; set; }
|
||||
public string XBairro { get; set; }
|
||||
public string XMun { get; set; }
|
||||
public string UF { get; set; }
|
||||
public string TIPO { get; set; }
|
||||
public string DATA_CADASTRO { get; set; }
|
||||
|
||||
@ -1,9 +1,22 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Numerics;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNotasFaturas
|
||||
{
|
||||
public ModeloNotasFaturas()
|
||||
{
|
||||
ID_NOTAS_FATURAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NOTA = string.Empty;
|
||||
INDICE = string.Empty;
|
||||
NUMERO = string.Empty;
|
||||
VENCTO = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
}
|
||||
public ModeloNotasFaturas(int iD_NOTAS_FATURAS, string cODIGO, string cOD_NOTA, string iNDICE, string nUMERO, string vENCTO, string vALOR)
|
||||
{
|
||||
ID_NOTAS_FATURAS = iD_NOTAS_FATURAS;
|
||||
|
||||
@ -1,9 +1,133 @@
|
||||
using System;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNotasFiscais
|
||||
{
|
||||
public ModeloNotasFiscais()
|
||||
{
|
||||
ID_NOTAS_FISCAIS = 0;
|
||||
CODIGO = string.Empty;
|
||||
SAIDA = string.Empty;
|
||||
CFOP = string.Empty;
|
||||
CFOP1 = string.Empty;
|
||||
NATUREZA = string.Empty;
|
||||
DESTINATARIO_NOME = string.Empty;
|
||||
DESTINATARIO_ENDERECO = string.Empty;
|
||||
DESTINATARIO_BAIRRO = string.Empty;
|
||||
DESTINATARIO_CIDADE = string.Empty;
|
||||
DESTINATARIO_UF = string.Empty;
|
||||
DESTINATARIO_CEP = string.Empty;
|
||||
DESTINATARIO_TEL = string.Empty;
|
||||
DESTINATARIO_FAX = string.Empty;
|
||||
DESTINATARIO_EMAIL = string.Empty;
|
||||
DESTINATARIO_IE_RG = string.Empty;
|
||||
DESTINATARIO_CNPJCPF = string.Empty;
|
||||
DATA = string.Empty;
|
||||
DATA_SAIDA = string.Empty;
|
||||
BASE_ICMS = string.Empty;
|
||||
BASE_ICMS_SUBS = string.Empty;
|
||||
VALOR_ICMS = string.Empty;
|
||||
VALOR_ICMS_SUBS = string.Empty;
|
||||
VALOR_FRETE = string.Empty;
|
||||
VALOR_SEGURO = string.Empty;
|
||||
VALOR_DESCONTO = string.Empty;
|
||||
VALOR_ISS = string.Empty;
|
||||
VALOR_IPI = string.Empty;
|
||||
OUTRAS_DESPESAS = string.Empty;
|
||||
VALOR_IRRF = string.Empty;
|
||||
VALOR_IRPJ = string.Empty;
|
||||
VALOR_PIS = string.Empty;
|
||||
VALOR_COFINS = string.Empty;
|
||||
VALOR_CSLL = string.Empty;
|
||||
VALOR_SIMPLES = string.Empty;
|
||||
VALOR_BENEF = string.Empty;
|
||||
VALOR_INSS = string.Empty;
|
||||
TOTAL_ISS = string.Empty;
|
||||
TOTAL_IRRF = string.Empty;
|
||||
TOTAL_IRPJ = string.Empty;
|
||||
TOTAL_PIS = string.Empty;
|
||||
TOTAL_COFINS = string.Empty;
|
||||
TOTAL_CSLL = string.Empty;
|
||||
TOTAL_INSS = string.Empty;
|
||||
TOTAL_SIMPLES = string.Empty;
|
||||
TOTAL_DESC = string.Empty;
|
||||
TOTAL_DEDUCOES = string.Empty;
|
||||
TOTAL_SERVICOS = string.Empty;
|
||||
TOTAL_PRODUTOS = string.Empty;
|
||||
TOTAL = string.Empty;
|
||||
TRANSPORTADOR = string.Empty;
|
||||
FRETE_POR = string.Empty;
|
||||
FRETE_PLACA = string.Empty;
|
||||
FRETE_QTD = string.Empty;
|
||||
FRETE_PESO_BRUTO = string.Empty;
|
||||
FRETE_PESO_LIQUIDO = string.Empty;
|
||||
FRETE_MARCA = string.Empty;
|
||||
FRETE_ESPECIME = string.Empty;
|
||||
FRETE_NUMERO = string.Empty;
|
||||
FRETE_NOME = string.Empty;
|
||||
FRETE_UF = string.Empty;
|
||||
FRETE_CNPJCPF = string.Empty;
|
||||
FRETE_IERG = string.Empty;
|
||||
FRETE_ENDERECO = string.Empty;
|
||||
FRETE_MUNICIPIO = string.Empty;
|
||||
FRETE_TUF = string.Empty;
|
||||
OBSERVACOES = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
CANCELADA = string.Empty;
|
||||
DB_cs_ICMS_S = string.Empty;
|
||||
DB_cs_FRETE = string.Empty;
|
||||
DB_cs_SEGURO = string.Empty;
|
||||
DB_cs_DESPESAS = string.Empty;
|
||||
DB_cin_FRETE = string.Empty;
|
||||
DB_cin_SEGURO = string.Empty;
|
||||
DB_cin_DESPESAS = string.Empty;
|
||||
DB_cs_ISS = string.Empty;
|
||||
DB_cs_IRRF = string.Empty;
|
||||
DB_cs_IRPJ = string.Empty;
|
||||
DB_cs_PIS = string.Empty;
|
||||
DB_cs_COFINS = string.Empty;
|
||||
DB_cs_CSLL = string.Empty;
|
||||
DB_cs_INSS = string.Empty;
|
||||
DB_cs_SIMPLES = string.Empty;
|
||||
NFE_ENFE = string.Empty;
|
||||
IIIgnora = string.Empty;
|
||||
NFE_ID_CANCEL_DATE = string.Empty;
|
||||
NFE_ID_CANCEL_PROT = string.Empty;
|
||||
NFE_ID_AUTOR_DATE = string.Empty;
|
||||
NFE_ID_AUTOR_PROT = string.Empty;
|
||||
NFE_ID_CHAVE = string.Empty;
|
||||
NFE_ARQ_NOTA = string.Empty;
|
||||
NFE_ARQ_LOTE = string.Empty;
|
||||
NFE_LOG = string.Empty;
|
||||
NFE_ENVIADA = string.Empty;
|
||||
NFE_DANFE_IMP = string.Empty;
|
||||
NFE_STATUS = string.Empty;
|
||||
NFE_LAST_ERROR = string.Empty;
|
||||
MOTIVO_CANCELA = string.Empty;
|
||||
DESTINATARIO_COD_PAIS = string.Empty;
|
||||
DESTINATARIO_NUMERO = string.Empty;
|
||||
DESTINATARIO_COMPLEM = string.Empty;
|
||||
COD_ANTT = string.Empty;
|
||||
INFO_FISCO = string.Empty;
|
||||
COMPRAS_PUBLICAS = string.Empty;
|
||||
EXPORTA_EMBARQUE = string.Empty;
|
||||
SERIE = string.Empty;
|
||||
FINNFE = string.Empty;
|
||||
REFNFE = string.Empty;
|
||||
this.IdEstrangeiro = string.Empty;
|
||||
this.CbindIEDest = string.Empty;
|
||||
this.IndPres = string.Empty;
|
||||
this.QAMBIENTE = string.Empty;
|
||||
this.IndFinal = string.Empty;
|
||||
this.REFNFE1 = string.Empty;
|
||||
this.REFNFE2 = string.Empty;
|
||||
this.REFNFE3 = string.Empty;
|
||||
this.IdCadIntTran = string.Empty;
|
||||
this.YB02_CNPJ = string.Empty;
|
||||
this.YA05_CNPJ = string.Empty;
|
||||
}
|
||||
public ModeloNotasFiscais(int iD_NOTAS_FISCAIS, string cODIGO, string sAIDA, string cFOP, string cFOP1, string nATUREZA,
|
||||
string dESTINATARIO_NOME, string dESTINATARIO_ENDERECO, string dESTINATARIO_BAIRRO, string dESTINATARIO_CIDADE,
|
||||
string dESTINATARIO_UF, string dESTINATARIO_CEP, string dESTINATARIO_TEL, string dESTINATARIO_FAX, string dESTINATARIO_EMAIL,
|
||||
@ -131,15 +255,15 @@ namespace MLL
|
||||
SERIE = sERIE;
|
||||
FINNFE = fINNFE;
|
||||
REFNFE = rEFNFE;
|
||||
this.idEstrangeiro = idEstrangeiro;
|
||||
this.cbindIEDest = cbindIEDest;
|
||||
this.indPres = indPres;
|
||||
QAMBIENTE = qAMBIENTE;
|
||||
this.indFinal = indFinal;
|
||||
REFNFE1 = rEFNFE1;
|
||||
REFNFE2 = rEFNFE2;
|
||||
this.IdEstrangeiro = idEstrangeiro;
|
||||
this.CbindIEDest = cbindIEDest;
|
||||
this.IndPres = indPres;
|
||||
this.QAMBIENTE = qAMBIENTE;
|
||||
this.IndFinal = indFinal;
|
||||
this.REFNFE1 = rEFNFE1;
|
||||
this.REFNFE2 = rEFNFE2;
|
||||
REFNFE3 = rEFNFE3;
|
||||
this.idCadIntTran = idCadIntTran;
|
||||
this.IdCadIntTran = idCadIntTran;
|
||||
YB02_CNPJ = yB02_CNPJ;
|
||||
YA05_CNPJ = yA05_CNPJ;
|
||||
}
|
||||
@ -265,17 +389,17 @@ namespace MLL
|
||||
public string FINNFE { get; set; }
|
||||
public string REFNFE { get; set; }
|
||||
|
||||
public string idEstrangeiro { get; set; }
|
||||
public string cbindIEDest { get; set; }
|
||||
public string indPres { get; set; }
|
||||
public string IdEstrangeiro { get; set; }
|
||||
public string CbindIEDest { get; set; }
|
||||
public string IndPres { get; set; }
|
||||
public string QAMBIENTE { get; set; }
|
||||
public string indFinal { get; set; }
|
||||
public string IndFinal { get; set; }
|
||||
|
||||
public string REFNFE1 { get; set; }
|
||||
public string REFNFE2 { get; set; }
|
||||
public string REFNFE3 { get; set; }
|
||||
|
||||
public string idCadIntTran { get; set; }
|
||||
public string IdCadIntTran { get; set; }
|
||||
public string YB02_CNPJ { get; set; }
|
||||
public string YA05_CNPJ { get; set; }
|
||||
}
|
||||
|
||||
@ -2,8 +2,58 @@
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
|
||||
public class ModeloNotasFiscaisConsumidor
|
||||
{
|
||||
public ModeloNotasFiscaisConsumidor()
|
||||
{
|
||||
ID_NOTAS_FISCAIS_CONS = 0;
|
||||
CODIGO = string.Empty;
|
||||
PRODUCAO = string.Empty;
|
||||
SERIE = string.Empty;
|
||||
NATUREZA = string.Empty;
|
||||
EMISSAO = string.Empty;
|
||||
DEST_NOME = string.Empty;
|
||||
DEST_EMAIL = string.Empty;
|
||||
DEST_CPF_CNPJ = string.Empty;
|
||||
DEST_IDESTRANGEIRO = string.Empty;
|
||||
DEST_xLgr = string.Empty;
|
||||
DEST_CPL = string.Empty;
|
||||
DEST_nro = string.Empty;
|
||||
DEST_xBairro = string.Empty;
|
||||
DEST_cMun = string.Empty;
|
||||
DEST_xMun = string.Empty;
|
||||
DEST_UF = string.Empty;
|
||||
DEST_CEP = string.Empty;
|
||||
DEST_cPais = string.Empty;
|
||||
DEST_xPais = string.Empty;
|
||||
DEST_fone = string.Empty;
|
||||
FRETE_MODALIDADE = string.Empty;
|
||||
FRETE_xCNPJ_CPF = string.Empty;
|
||||
FRETE_xNome = string.Empty;
|
||||
NFC_PRONTA = string.Empty;
|
||||
NFC_infCpl = string.Empty;
|
||||
TOTAL_vBC = string.Empty;
|
||||
TOTAL_vICMS = string.Empty;
|
||||
TOTAL_vBCST = string.Empty;
|
||||
TOTAL_vST = string.Empty;
|
||||
TOTAL_vProd = string.Empty;
|
||||
TOTAL_vFrete = string.Empty;
|
||||
TOTAL_vSeg = string.Empty;
|
||||
TOTAL_vDesc = string.Empty;
|
||||
TOTAL_vII = string.Empty;
|
||||
TOTAL_vIPI = string.Empty;
|
||||
TOTAL_vPIS = string.Empty;
|
||||
TOTAL_vCOFINS = string.Empty;
|
||||
TOTAL_vOutro = string.Empty;
|
||||
TOTAL_vNF = string.Empty;
|
||||
TERMINAL = string.Empty;
|
||||
CHAVE_NFC = string.Empty;
|
||||
PROTOCOLO = string.Empty;
|
||||
PROTOCOLO_CANCELA = string.Empty;
|
||||
SITUACAO = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloNotasFiscaisConsumidor(int iD_NOTAS_FISCAIS_CONS, string cODIGO, string pRODUCAO, string sERIE, string nATUREZA,
|
||||
string eMISSAO, string dEST_NOME, string dEST_EMAIL, string dEST_CPF_CNPJ, string dEST_IDESTRANGEIRO,
|
||||
string dEST_xLgr, string dEST_CPL, string dEST_nro, string dEST_xBairro, string dEST_cMun, string dEST_xMun,
|
||||
|
||||
@ -1,32 +1,48 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Numerics;
|
||||
using System.Runtime.Intrinsics.X86;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNotasFormas
|
||||
{
|
||||
public ModeloNotasFormas()
|
||||
{
|
||||
ID_NOTAS_FORMAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NFE = string.Empty;
|
||||
this.NDUP = string.Empty;
|
||||
VENCTO = string.Empty;
|
||||
FORMA = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
CNPJ_OPERADORA = string.Empty;
|
||||
this.TBAND = string.Empty;
|
||||
}
|
||||
public ModeloNotasFormas(int iD_NOTAS_FORMAS, string cODIGO, string cOD_NFE, string nDUP, string vENCTO, string fORMA, string vALOR, string dATA_CADASTRO, string cNPJ_OPERADORA, string tBand)
|
||||
{
|
||||
ID_NOTAS_FORMAS = iD_NOTAS_FORMAS;
|
||||
CODIGO = cODIGO;
|
||||
COD_NFE = cOD_NFE;
|
||||
this.nDUP = nDUP;
|
||||
this.NDUP = nDUP;
|
||||
VENCTO = vENCTO;
|
||||
FORMA = fORMA;
|
||||
VALOR = vALOR;
|
||||
DATA_CADASTRO = dATA_CADASTRO;
|
||||
CNPJ_OPERADORA = cNPJ_OPERADORA;
|
||||
this.tBand = tBand;
|
||||
this.TBAND = tBand;
|
||||
}
|
||||
|
||||
public int ID_NOTAS_FORMAS { get; set; }
|
||||
public string CODIGO { get; set; }
|
||||
public string COD_NFE { get; set; }
|
||||
public string nDUP { get; set; }
|
||||
public string NDUP { get; set; }
|
||||
public string VENCTO { get; set; }
|
||||
public string FORMA { get; set; }
|
||||
public string VALOR { get; set; }
|
||||
public string DATA_CADASTRO { get; set; }
|
||||
public string CNPJ_OPERADORA { get; set; }
|
||||
public string tBand { get; set; }
|
||||
public string TBAND { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,47 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasItensDetalha
|
||||
{
|
||||
public ModeloNotasItensDetalha()
|
||||
{
|
||||
ID_NOTAS_ITENS_DETALHA = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
this.TpOp = string.Empty;
|
||||
this.Chassi = string.Empty;
|
||||
this.CCor = string.Empty;
|
||||
this.XCor = string.Empty;
|
||||
this.Pot = string.Empty;
|
||||
this.Cilin = string.Empty;
|
||||
this.PesoL = string.Empty;
|
||||
this.PesoB = string.Empty;
|
||||
this.NSerie = string.Empty;
|
||||
this.TpComb = string.Empty;
|
||||
this.NMotor = string.Empty;
|
||||
CMT = string.Empty;
|
||||
this.Dist = string.Empty;
|
||||
this.AnoMod = string.Empty;
|
||||
this.AnoFab = string.Empty;
|
||||
this.TpPint = string.Empty;
|
||||
this.TpVeic = string.Empty;
|
||||
this.EspVeic = string.Empty;
|
||||
VIN = string.Empty;
|
||||
this.CondVeic = string.Empty;
|
||||
this.CMod = string.Empty;
|
||||
this.CCorDENATRAN = string.Empty;
|
||||
this.Lota = string.Empty;
|
||||
this.TpRest = string.Empty;
|
||||
this.TpArma = string.Empty;
|
||||
this.NSerie_arma = string.Empty;
|
||||
this.NCano = string.Empty;
|
||||
this.Descr = string.Empty;
|
||||
this.NLote = string.Empty;
|
||||
this.QLote = string.Empty;
|
||||
this.DFab = string.Empty;
|
||||
this.DVal = string.Empty;
|
||||
this.VPMC = string.Empty;
|
||||
this.RECOPI = string.Empty;
|
||||
}
|
||||
public ModeloNotasItensDetalha(int iD_NOTAS_ITENS_DETALHA, string cODIGO, string cOD_ITEM, string tIPO, string tpOp,
|
||||
string chassi, string cCor, string xCor, string pot, string cilin, string pesoL, string pesoB,
|
||||
string nSerie, string tpComb, string nMotor, string cMT, string dist, string anoMod, string anoFab,
|
||||
@ -15,39 +56,39 @@ namespace MLL
|
||||
CODIGO = cODIGO;
|
||||
COD_ITEM = cOD_ITEM;
|
||||
TIPO = tIPO;
|
||||
this.tpOp = tpOp;
|
||||
this.chassi = chassi;
|
||||
this.cCor = cCor;
|
||||
this.xCor = xCor;
|
||||
this.pot = pot;
|
||||
this.cilin = cilin;
|
||||
this.pesoL = pesoL;
|
||||
this.pesoB = pesoB;
|
||||
this.nSerie = nSerie;
|
||||
this.tpComb = tpComb;
|
||||
this.nMotor = nMotor;
|
||||
this.TpOp = tpOp;
|
||||
this.Chassi = chassi;
|
||||
this.CCor = cCor;
|
||||
this.XCor = xCor;
|
||||
this.Pot = pot;
|
||||
this.Cilin = cilin;
|
||||
this.PesoL = pesoL;
|
||||
this.PesoB = pesoB;
|
||||
this.NSerie = nSerie;
|
||||
this.TpComb = tpComb;
|
||||
this.NMotor = nMotor;
|
||||
CMT = cMT;
|
||||
this.dist = dist;
|
||||
this.anoMod = anoMod;
|
||||
this.anoFab = anoFab;
|
||||
this.tpPint = tpPint;
|
||||
this.tpVeic = tpVeic;
|
||||
this.espVeic = espVeic;
|
||||
VIN = vIN;
|
||||
this.condVeic = condVeic;
|
||||
this.cMod = cMod;
|
||||
this.cCorDENATRAN = cCorDENATRAN;
|
||||
this.lota = lota;
|
||||
this.tpRest = tpRest;
|
||||
this.tpArma = tpArma;
|
||||
NSerie_arma = nSerie_arma;
|
||||
this.nCano = nCano;
|
||||
this.descr = descr;
|
||||
this.nLote = nLote;
|
||||
this.qLote = qLote;
|
||||
this.dFab = dFab;
|
||||
this.dVal = dVal;
|
||||
this.vPMC = vPMC;
|
||||
this.Dist = dist;
|
||||
this.AnoMod = anoMod;
|
||||
this.AnoFab = anoFab;
|
||||
this.TpPint = tpPint;
|
||||
this.TpVeic = tpVeic;
|
||||
this.EspVeic = espVeic;
|
||||
this.VIN = vIN;
|
||||
this.CondVeic = condVeic;
|
||||
this.CMod = cMod;
|
||||
this.CCorDENATRAN = cCorDENATRAN;
|
||||
this.Lota = lota;
|
||||
this.TpRest = tpRest;
|
||||
this.TpArma = tpArma;
|
||||
this.NSerie_arma = nSerie_arma;
|
||||
this.NCano = nCano;
|
||||
this.Descr = descr;
|
||||
this.NLote = nLote;
|
||||
this.QLote = qLote;
|
||||
this.DFab = dFab;
|
||||
this.DVal = dVal;
|
||||
this.VPMC = vPMC;
|
||||
RECOPI = rECOPI;
|
||||
}
|
||||
|
||||
@ -55,39 +96,39 @@ namespace MLL
|
||||
public string CODIGO { get; set; }
|
||||
public string COD_ITEM { get; set; }
|
||||
public string TIPO { get; set; }
|
||||
public string tpOp { get; set; }
|
||||
public string chassi { get; set; }
|
||||
public string cCor { get; set; }
|
||||
public string xCor { get; set; }
|
||||
public string pot { get; set; }
|
||||
public string cilin { get; set; }
|
||||
public string pesoL { get; set; }
|
||||
public string pesoB { get; set; }
|
||||
public string nSerie { get; set; }
|
||||
public string tpComb { get; set; }
|
||||
public string nMotor { get; set; }
|
||||
public string TpOp { get; set; }
|
||||
public string Chassi { get; set; }
|
||||
public string CCor { get; set; }
|
||||
public string XCor { get; set; }
|
||||
public string Pot { get; set; }
|
||||
public string Cilin { get; set; }
|
||||
public string PesoL { get; set; }
|
||||
public string PesoB { get; set; }
|
||||
public string NSerie { get; set; }
|
||||
public string TpComb { get; set; }
|
||||
public string NMotor { get; set; }
|
||||
public string CMT { get; set; }
|
||||
public string dist { get; set; }
|
||||
public string anoMod { get; set; }
|
||||
public string anoFab { get; set; }
|
||||
public string tpPint { get; set; }
|
||||
public string tpVeic { get; set; }
|
||||
public string espVeic { get; set; }
|
||||
public string Dist { get; set; }
|
||||
public string AnoMod { get; set; }
|
||||
public string AnoFab { get; set; }
|
||||
public string TpPint { get; set; }
|
||||
public string TpVeic { get; set; }
|
||||
public string EspVeic { get; set; }
|
||||
public string VIN { get; set; }
|
||||
public string condVeic { get; set; }
|
||||
public string cMod { get; set; }
|
||||
public string cCorDENATRAN { get; set; }
|
||||
public string lota { get; set; }
|
||||
public string tpRest { get; set; }
|
||||
public string tpArma { get; set; }
|
||||
public string CondVeic { get; set; }
|
||||
public string CMod { get; set; }
|
||||
public string CCorDENATRAN { get; set; }
|
||||
public string Lota { get; set; }
|
||||
public string TpRest { get; set; }
|
||||
public string TpArma { get; set; }
|
||||
public string NSerie_arma { get; set; }
|
||||
public string nCano { get; set; }
|
||||
public string descr { get; set; }
|
||||
public string nLote { get; set; }
|
||||
public string qLote { get; set; }
|
||||
public string dFab { get; set; }
|
||||
public string dVal { get; set; }
|
||||
public string vPMC { get; set; }
|
||||
public string NCano { get; set; }
|
||||
public string Descr { get; set; }
|
||||
public string NLote { get; set; }
|
||||
public string QLote { get; set; }
|
||||
public string DFab { get; set; }
|
||||
public string DVal { get; set; }
|
||||
public string VPMC { get; set; }
|
||||
public string RECOPI { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,25 +4,36 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasItensRastreabilidade
|
||||
{
|
||||
public ModeloNotasItensRastreabilidade()
|
||||
{
|
||||
ID_NOTAS_ITENS_RASTRE = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
this.NLote = string.Empty;
|
||||
this.QLote = string.Empty;
|
||||
this.DFab = string.Empty;
|
||||
this.DVal = string.Empty;
|
||||
this.CAgreg = string.Empty;
|
||||
}
|
||||
public ModeloNotasItensRastreabilidade(int iD_NOTAS_ITENS_RASTRE, string cODIGO, string cOD_ITEM, string nLote, string qLote, string dFab, string dVal, string cAgreg)
|
||||
{
|
||||
ID_NOTAS_ITENS_RASTRE = iD_NOTAS_ITENS_RASTRE;
|
||||
CODIGO = cODIGO;
|
||||
COD_ITEM = cOD_ITEM;
|
||||
this.nLote = nLote;
|
||||
this.qLote = qLote;
|
||||
this.dFab = dFab;
|
||||
this.dVal = dVal;
|
||||
this.cAgreg = cAgreg;
|
||||
this.NLote = nLote;
|
||||
this.QLote = qLote;
|
||||
this.DFab = dFab;
|
||||
this.DVal = dVal;
|
||||
this.CAgreg = cAgreg;
|
||||
}
|
||||
|
||||
public int ID_NOTAS_ITENS_RASTRE { get; set; }
|
||||
public string CODIGO { get; set; }
|
||||
public string COD_ITEM { get; set; }
|
||||
public string nLote { get; set; }
|
||||
public string qLote { get; set; }
|
||||
public string dFab { get; set; }
|
||||
public string dVal { get; set; }
|
||||
public string cAgreg { get; set; }
|
||||
public string NLote { get; set; }
|
||||
public string QLote { get; set; }
|
||||
public string DFab { get; set; }
|
||||
public string DVal { get; set; }
|
||||
public string CAgreg { get; set; }
|
||||
}
|
||||
}
|
||||
@ -1,21 +1,37 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloNotasRefNFP
|
||||
{
|
||||
public ModeloNotasRefNFP()
|
||||
{
|
||||
ID_NOTAS_REF_NFP = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NOTA = string.Empty;
|
||||
CUF = string.Empty;
|
||||
AAMM = string.Empty;
|
||||
CNPJ_CPF = string.Empty;
|
||||
IE = string.Empty;
|
||||
Modelo = string.Empty;
|
||||
Serie = string.Empty;
|
||||
NNF = string.Empty;
|
||||
Produtor = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloNotasRefNFP(int iD_NOTAS_REF_NFP, string cODIGO, string cOD_NOTA, string cUF, string aAMM, string cNPJ_CPF, string iE, string modelo, string serie, string nNF, string produtor, string dATA_CADASTRO)
|
||||
{
|
||||
ID_NOTAS_REF_NFP = iD_NOTAS_REF_NFP;
|
||||
CODIGO = cODIGO;
|
||||
COD_NOTA = cOD_NOTA;
|
||||
this.cUF = cUF;
|
||||
CUF = cUF;
|
||||
AAMM = aAMM;
|
||||
CNPJ_CPF = cNPJ_CPF;
|
||||
IE = iE;
|
||||
Modelo = modelo;
|
||||
this.serie = serie;
|
||||
this.nNF = nNF;
|
||||
Serie = serie;
|
||||
NNF = nNF;
|
||||
Produtor = produtor;
|
||||
DATA_CADASTRO = dATA_CADASTRO;
|
||||
}
|
||||
@ -23,13 +39,13 @@ namespace MLL
|
||||
public int ID_NOTAS_REF_NFP { get; set; }
|
||||
public string CODIGO { get; set; }
|
||||
public string COD_NOTA { get; set; }
|
||||
public string cUF { get; set; }
|
||||
public string CUF { get; set; }
|
||||
public string AAMM { get; set; }
|
||||
public string CNPJ_CPF { get; set; }
|
||||
public string IE { get; set; }
|
||||
public string Modelo { get; set; }
|
||||
public string serie { get; set; }
|
||||
public string nNF { get; set; }
|
||||
public string Serie { get; set; }
|
||||
public string NNF { get; set; }
|
||||
public string Produtor { get; set; }
|
||||
public string DATA_CADASTRO { get; set; }
|
||||
}
|
||||
|
||||
@ -4,30 +4,43 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasRetencoes
|
||||
{
|
||||
public ModeloNotasRetencoes()
|
||||
{
|
||||
ID_NOTAS_RETENCOES = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NOTA = string.Empty;
|
||||
this.VIRRF = string.Empty;
|
||||
this.VBCIRRF = string.Empty;
|
||||
this.VBCRetPrev = string.Empty;
|
||||
this.VRetPrev = string.Empty;
|
||||
this.VRetCOFINS = string.Empty;
|
||||
this.VRetCSLL = string.Empty;
|
||||
this.VRetPIS = string.Empty;
|
||||
}
|
||||
public ModeloNotasRetencoes(int iD_NOTAS_RETENCOES, string cODIGO, string cOD_NOTA, string vIRRF,
|
||||
string vBCIRRF, string vBCRetPrev, string vRetPrev, string vRetCOFINS, string vRetCSLL, string vRetPIS)
|
||||
{
|
||||
ID_NOTAS_RETENCOES = iD_NOTAS_RETENCOES;
|
||||
CODIGO = cODIGO;
|
||||
COD_NOTA = cOD_NOTA;
|
||||
this.vIRRF = vIRRF;
|
||||
this.vBCIRRF = vBCIRRF;
|
||||
this.vBCRetPrev = vBCRetPrev;
|
||||
this.vRetPrev = vRetPrev;
|
||||
this.vRetCOFINS = vRetCOFINS;
|
||||
this.vRetCSLL = vRetCSLL;
|
||||
this.vRetPIS = vRetPIS;
|
||||
this.VIRRF = vIRRF;
|
||||
this.VBCIRRF = vBCIRRF;
|
||||
this.VBCRetPrev = vBCRetPrev;
|
||||
this.VRetPrev = vRetPrev;
|
||||
this.VRetCOFINS = vRetCOFINS;
|
||||
this.VRetCSLL = vRetCSLL;
|
||||
this.VRetPIS = vRetPIS;
|
||||
}
|
||||
|
||||
public int ID_NOTAS_RETENCOES { get; set; }
|
||||
public string CODIGO { get; set; }
|
||||
public string COD_NOTA { get; set; }
|
||||
public string vIRRF { get; set; }
|
||||
public string vBCIRRF { get; set; }
|
||||
public string vBCRetPrev { get; set; }
|
||||
public string vRetPrev { get; set; }
|
||||
public string vRetCOFINS { get; set; }
|
||||
public string vRetCSLL { get; set; }
|
||||
public string vRetPIS { get; set; }
|
||||
public string VIRRF { get; set; }
|
||||
public string VBCIRRF { get; set; }
|
||||
public string VBCRetPrev { get; set; }
|
||||
public string VRetPrev { get; set; }
|
||||
public string VRetCOFINS { get; set; }
|
||||
public string VRetCSLL { get; set; }
|
||||
public string VRetPIS { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,12 @@ namespace MLL
|
||||
{
|
||||
public class ModeloNotasXml
|
||||
{
|
||||
public ModeloNotasXml()
|
||||
{
|
||||
ID_NOTAS_XML = 0;
|
||||
CHAVE = string.Empty;
|
||||
XML = string.Empty;
|
||||
}
|
||||
public ModeloNotasXml(int iD_NOTAS_XML, string cHAVE, string xML)
|
||||
{
|
||||
ID_NOTAS_XML = iD_NOTAS_XML;
|
||||
|
||||
@ -1,9 +1,29 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloOSPecas
|
||||
{
|
||||
public ModeloOSPecas()
|
||||
{
|
||||
ID_OS_PECAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
COD_PECA = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
TECNICO = string.Empty;
|
||||
QTD = string.Empty;
|
||||
DIA = string.Empty;
|
||||
COD_OS = string.Empty;
|
||||
CUSTO = string.Empty;
|
||||
SERIAIS_IN = string.Empty;
|
||||
XPED = string.Empty;
|
||||
NITEMPED = string.Empty;
|
||||
COD_BAIXA = string.Empty;
|
||||
LOTES = string.Empty;
|
||||
}
|
||||
public ModeloOSPecas(int iD_OS_PECAS, string cODIGO, string dESCRICAO, string cOD_PECA,
|
||||
string vALOR, string tECNICO, string qTD, string dIA, string cOD_OS,
|
||||
string cUSTO, string sERIAIS_IN, string xPED, string nITEMPED, string cOD_BAIXA, string lOTES)
|
||||
|
||||
@ -1,9 +1,133 @@
|
||||
using System;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloOSPerson
|
||||
{
|
||||
public ModeloOSPerson()
|
||||
{
|
||||
ID_OS_PERSON = 0;
|
||||
TX_DESC = string.Empty;
|
||||
TX_MARCA = string.Empty;
|
||||
TX_MODELO = string.Empty;
|
||||
TX_SERIE = string.Empty;
|
||||
TX_PAT = string.Empty;
|
||||
TX_DESLOCA = string.Empty;
|
||||
TX_TERCEIROS = string.Empty;
|
||||
COBRA_DESLOCA = string.Empty;
|
||||
COBRA_TERCEIROS = string.Empty;
|
||||
PRAZO_GARANTIA = string.Empty;
|
||||
TERMO_GARANTIA = string.Empty;
|
||||
MODELO_RECEBE = string.Empty;
|
||||
MODELO_ENTREGA = string.Empty;
|
||||
TEXTO1 = string.Empty;
|
||||
TEXTO2 = string.Empty;
|
||||
TEXTO3 = string.Empty;
|
||||
TEXTO4 = string.Empty;
|
||||
TEXTO5 = string.Empty;
|
||||
COPIAS_REC = string.Empty;
|
||||
COPIAS_ENT = string.Empty;
|
||||
OBS_REC1 = string.Empty;
|
||||
OBS_REC2 = string.Empty;
|
||||
OBS_REC3 = string.Empty;
|
||||
OBS_REC4 = string.Empty;
|
||||
RODAPE_DEV1 = string.Empty;
|
||||
RODAPE_DEV2 = string.Empty;
|
||||
RODAPE_ENT1 = string.Empty;
|
||||
RODAPE_ENT2 = string.Empty;
|
||||
PORTA_PRN = string.Empty;
|
||||
COM_PECASERV = string.Empty;
|
||||
SO_TOTAL = string.Empty;
|
||||
MYLOGO = string.Empty;
|
||||
OS_COM_ENDE = string.Empty;
|
||||
OS_SALTA_NP = string.Empty;
|
||||
ORCA_POE_SERV = string.Empty;
|
||||
ORCA_POE_PECA = string.Empty;
|
||||
ORCA_MAIL_TIPO = string.Empty;
|
||||
ORCA_MAIL_SOLI = string.Empty;
|
||||
ORCA_PRINT_GRAF = string.Empty;
|
||||
MYLOGO_TELA = string.Empty;
|
||||
OS_ABERTURA = string.Empty;
|
||||
OS_FINALIZA = string.Empty;
|
||||
OS_TITULO = string.Empty;
|
||||
OS_TEXTO_ENTREGA = string.Empty;
|
||||
OS_TEXTO_ENCERRA = string.Empty;
|
||||
OS_TEXTO_DEVOLVE = string.Empty;
|
||||
CARTAS_FORNECE = string.Empty;
|
||||
CARTAS_CLIENTE = string.Empty;
|
||||
CARTAS_CONTRATO = string.Empty;
|
||||
CARTAS_ORCAS = string.Empty;
|
||||
CARTAS_LAUDO = string.Empty;
|
||||
OS_POE_OBS = string.Empty;
|
||||
COM_PECASERV_E = string.Empty;
|
||||
NO_EPSON = string.Empty;
|
||||
ORCA_VIDA = string.Empty;
|
||||
OS_COM_CPF = string.Empty;
|
||||
ORCA_POE_END = string.Empty;
|
||||
ORCA_POE_CPF = string.Empty;
|
||||
ORCA_FORMAS = string.Empty;
|
||||
OS_COM_DESC = string.Empty;
|
||||
OS_TEXTO_EQUIPAM = string.Empty;
|
||||
NF_OS = string.Empty;
|
||||
VENDA_ORCA_VALIDADE = string.Empty;
|
||||
VENDA_ORCA_EXCLUI = string.Empty;
|
||||
VENDA_MAXDESC = string.Empty;
|
||||
VENDA_TEXTOLIVRE = string.Empty;
|
||||
VENDA_IMPRAPOS = string.Empty;
|
||||
VENDA_TEXTOLIVRE_ORCA = string.Empty;
|
||||
OS_GARANTIA_VAR = string.Empty;
|
||||
LOGO_VENDA = string.Empty;
|
||||
OS_CONTROLA3 = string.Empty;
|
||||
ORCA_MOD_BELO = string.Empty;
|
||||
OS_DRAFT_SALTOS = string.Empty;
|
||||
OS_KILOMET = string.Empty;
|
||||
OS_CONDI_GERAL = string.Empty;
|
||||
OS_BOLETIM_EMAIL = string.Empty;
|
||||
OS_BOLETIM_LAST = string.Empty;
|
||||
VENDA_DRAFT_PORTA = string.Empty;
|
||||
VENDA_DRAFT_SALTOS = string.Empty;
|
||||
VENDA_40COLUNAS = string.Empty;
|
||||
VENDA_COMP_ASSINA = string.Empty;
|
||||
VENDA_COMP_RECIBO = string.Empty;
|
||||
VENDA_MAIL_IMG = string.Empty;
|
||||
ORCA_MAIL_IMG = string.Empty;
|
||||
ORCA_MOSTRA_UN = string.Empty;
|
||||
CK_ORCA_MOSTRA_COD = string.Empty;
|
||||
OS_BOLETIM_FECHADAS = string.Empty;
|
||||
OS_BOLETIM_SO_DO_DIA = string.Empty;
|
||||
VENDA_ORCA_OCULTA = string.Empty;
|
||||
VENDA_40COLUNAS_GRAF = string.Empty;
|
||||
ORCA_TEXTO_APROVA = string.Empty;
|
||||
ORCA_PAP_TIMBRADO = string.Empty;
|
||||
BAIXA_ESTOQUE_NAHORA = string.Empty;
|
||||
QUERO_FABRICA = string.Empty;
|
||||
VENDA_CLI_DIRECT = string.Empty;
|
||||
VENDA_BALCAO_SEPARADO = string.Empty;
|
||||
VENDA_ORCA_DADOS_CLI = string.Empty;
|
||||
OS_PRINT_GUIA = string.Empty;
|
||||
OS_FICHA_SERVICO = string.Empty;
|
||||
WEB_PC_ENVIO = string.Empty;
|
||||
WEB_TEXTO_1 = string.Empty;
|
||||
WEB_TEXTO_2 = string.Empty;
|
||||
WEB_TEXTO_3 = string.Empty;
|
||||
WEB_TEXTO_4 = string.Empty;
|
||||
WEB_TEXTO_5 = string.Empty;
|
||||
WEB_EMAIL_RETORNO = string.Empty;
|
||||
WEB_FORMA_PG = string.Empty;
|
||||
WEB_OPC_OS = string.Empty;
|
||||
OS_EMAIL_ABRIR = string.Empty;
|
||||
OS_EMAIL_FECHAR = string.Empty;
|
||||
OS_CHAVE_WEB_TITULO = string.Empty;
|
||||
ORCA_CHAVE_WEB_TITULO = string.Empty;
|
||||
VENDA_OPCOES = string.Empty;
|
||||
SUPORTECOD = string.Empty;
|
||||
SUPORTEDTA = string.Empty;
|
||||
SERIAL_NFE_AMB = string.Empty;
|
||||
CARTAS_LAUDO1 = string.Empty;
|
||||
CARTAS_LAUDO2 = string.Empty;
|
||||
VENDAS_CLIENTE_FIDELIZADO = string.Empty;
|
||||
}
|
||||
public ModeloOSPerson(int iD_OS_PERSON, string tX_DESC, string tX_MARCA, string tX_MODELO, string tX_SERIE,
|
||||
string tX_PAT, string tX_DESLOCA, string tX_TERCEIROS, string cOBRA_DESLOCA, string cOBRA_TERCEIROS,
|
||||
string pRAZO_GARANTIA, string tERMO_GARANTIA, string mODELO_RECEBE, string mODELO_ENTREGA, string tEXTO1,
|
||||
|
||||
@ -4,6 +4,27 @@ namespace MLL
|
||||
{
|
||||
public class ModeloOSServicos
|
||||
{
|
||||
public ModeloOSServicos()
|
||||
{
|
||||
ID_OS_SEVICOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
TOTAL = string.Empty;
|
||||
INICIO = string.Empty;
|
||||
FIM = string.Empty;
|
||||
TECNICO = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
OS_NUM = string.Empty;
|
||||
COD_SERV = string.Empty;
|
||||
QTD = string.Empty;
|
||||
V_FRETE = string.Empty;
|
||||
V_SEGURO = string.Empty;
|
||||
V_OUTROS = string.Empty;
|
||||
NUM_NF_PED = string.Empty;
|
||||
CUSTO = string.Empty;
|
||||
XPED = string.Empty;
|
||||
NITEMPED = string.Empty;
|
||||
}
|
||||
public ModeloOSServicos(int iD_OS_SEVICOS, string cODIGO, string dESCRICAO, string tOTAL, string iNICIO, string fIM, string tECNICO, string tIPO, string oS_NUM, string cOD_SERV, string qTD, string v_FRETE, string v_SEGURO, string v_OUTROS, string nUM_NF_PED, string cUSTO, string xPED, string nITEMPED)
|
||||
{
|
||||
ID_OS_SEVICOS = iD_OS_SEVICOS;
|
||||
|
||||
@ -4,6 +4,15 @@ namespace MLL
|
||||
{
|
||||
public class ModeloOrcaPadrao
|
||||
{
|
||||
public ModeloOrcaPadrao()
|
||||
{
|
||||
ID_ORCA_PADRAO = 0;
|
||||
CODIGO = string.Empty;
|
||||
NOME = string.Empty;
|
||||
OBS = string.Empty;
|
||||
SHOW_OBS = string.Empty;
|
||||
USADO = string.Empty;
|
||||
}
|
||||
public ModeloOrcaPadrao(int iD_ORCA_PADRAO, string cODIGO, string nOME, string oBS, string sHOW_OBS, string uSADO)
|
||||
{
|
||||
ID_ORCA_PADRAO = iD_ORCA_PADRAO;
|
||||
|
||||
@ -4,6 +4,15 @@ namespace MLL
|
||||
{
|
||||
public class ModeloOrcaPadraoItens
|
||||
{
|
||||
public ModeloOrcaPadraoItens()
|
||||
{
|
||||
ID_ORCA_PADRAO_ITENS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ORCA = string.Empty;
|
||||
ITEM_TIPO = string.Empty;
|
||||
ITEM_COD = string.Empty;
|
||||
ITEM_QTD = string.Empty;
|
||||
}
|
||||
public ModeloOrcaPadraoItens(int iD_ORCA_PADRAO_ITENS, string cODIGO, string cOD_ORCA, string iTEM_TIPO, string iTEM_COD, string iTEM_QTD)
|
||||
{
|
||||
ID_ORCA_PADRAO_ITENS = iD_ORCA_PADRAO_ITENS;
|
||||
|
||||
@ -1,9 +1,30 @@
|
||||
using System;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloOrcas
|
||||
{
|
||||
public ModeloOrcas()
|
||||
{
|
||||
ID_ORCAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
OPERADOR = string.Empty;
|
||||
TOTAL = string.Empty;
|
||||
DIA = string.Empty;
|
||||
COMISSAO = string.Empty;
|
||||
CLIENTE = string.Empty;
|
||||
DESCONTO = string.Empty;
|
||||
TOTAL_SERVICOS = string.Empty;
|
||||
TOTAL_PECAS = string.Empty;
|
||||
TOTAL_IMPOSTOS = string.Empty;
|
||||
VENCIMENTO = string.Empty;
|
||||
TOTAL_GERAL = string.Empty;
|
||||
SITUACAO = string.Empty;
|
||||
CLIENTE_CAD = string.Empty;
|
||||
CLIENTE_NOME = string.Empty;
|
||||
OBS = string.Empty;
|
||||
}
|
||||
public ModeloOrcas(int iD_ORCAS, string cODIGO, string oPERADOR, string tOTAL, string dIA,
|
||||
string cOMISSAO, string cLIENTE, string dESCONTO, string tOTAL_SERVICOS,
|
||||
string tOTAL_PECAS, string tOTAL_IMPOSTOS, string vENCIMENTO, string tOTAL_GERAL,
|
||||
|
||||
@ -1,9 +1,63 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Text.RegularExpressions;
|
||||
using static System.Runtime.InteropServices.JavaScript.JSType;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloOrdens
|
||||
{
|
||||
public ModeloOrdens()
|
||||
{
|
||||
ID_ORDENS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_CLIENTE = string.Empty;
|
||||
ENTRADA = string.Empty;
|
||||
PRONTO = string.Empty;
|
||||
SAIDA = string.Empty;
|
||||
GARANTIA = string.Empty;
|
||||
SITUACAO = string.Empty;
|
||||
V_MAO = string.Empty;
|
||||
V_PECAS = string.Empty;
|
||||
V_DESLOCA = string.Empty;
|
||||
V_TERCEIRO = string.Empty;
|
||||
V_OUTROS = string.Empty;
|
||||
COD_EQUIP = string.Empty;
|
||||
APARELHO = string.Empty;
|
||||
MARCA = string.Empty;
|
||||
MODELO = string.Empty;
|
||||
SERIE = string.Empty;
|
||||
PATRIMONIO = string.Empty;
|
||||
ACESSORIO = string.Empty;
|
||||
DEFEITO = string.Empty;
|
||||
OBS_SERVICO = string.Empty;
|
||||
LAUDO = string.Empty;
|
||||
OBS_APARELHO = string.Empty;
|
||||
KILOMET = string.Empty;
|
||||
EM_USO = string.Empty;
|
||||
NF_NUMERO = string.Empty;
|
||||
OS_REABERTA = string.Empty;
|
||||
OS_OUTROS = string.Empty;
|
||||
OS_OUTROS_EMIT = string.Empty;
|
||||
OS_SINAL = string.Empty;
|
||||
PRIOR = string.Empty;
|
||||
OS_NF_REMESSA = string.Empty;
|
||||
OS_NF_VALOR = string.Empty;
|
||||
OS_NF_EMIT = string.Empty;
|
||||
OS_GARANTIDOR = string.Empty;
|
||||
OS_GARANTIDOR_SN = string.Empty;
|
||||
WEB_CHAVE = string.Empty;
|
||||
WEB_SENHA = string.Empty;
|
||||
USER_MICRO = string.Empty;
|
||||
ORCA_FORMAS = string.Empty;
|
||||
OS_FABRICANTE = string.Empty;
|
||||
ALERTA_ABANDONO = string.Empty;
|
||||
TECNICO_FIXO = string.Empty;
|
||||
NFC_NUMERO = string.Empty;
|
||||
PREVISTO = string.Empty;
|
||||
ATENDENTE = string.Empty;
|
||||
NFS_NUMERO = string.Empty;
|
||||
}
|
||||
public ModeloOrdens(int iD_ORDENS, string cODIGO, string cOD_CLIENTE, string eNTRADA, string pRONTO,
|
||||
string sAIDA, string gARANTIA, string sITUACAO, string v_MAO, string v_PECAS, string v_DESLOCA,
|
||||
string v_TERCEIRO, string v_OUTROS, string cOD_EQUIP, string aPARELHO, string mARCA, string mODELO,
|
||||
|
||||
@ -4,6 +4,16 @@ namespace MLL
|
||||
{
|
||||
public class ModeloOrdensContato
|
||||
{
|
||||
public ModeloOrdensContato()
|
||||
{
|
||||
ID_ORDENS_CONTATO = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ORDEM = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
QUEM = string.Empty;
|
||||
USUARIO = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloOrdensContato(int iD_ORDENS_CONTATO, string cODIGO, string cOD_ORDEM, string dESCRICAO, string qUEM, string uSUARIO, string dATA_CADASTRO)
|
||||
{
|
||||
ID_ORDENS_CONTATO = iD_ORDENS_CONTATO;
|
||||
|
||||
@ -1,9 +1,28 @@
|
||||
using System;
|
||||
using System.Security.Cryptography;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloOrdensDeslocamento
|
||||
{
|
||||
public ModeloOrdensDeslocamento()
|
||||
{
|
||||
ID_ORDENS_DESLOCAMENTO = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_ORDEM = string.Empty;
|
||||
DIA = string.Empty;
|
||||
HORA_SAI = string.Empty;
|
||||
KM_SAI = string.Empty;
|
||||
HORA_CHEGA = string.Empty;
|
||||
KM_CHEGA = string.Empty;
|
||||
HORA_VOLTA_SAI = string.Empty;
|
||||
KM_VOLTA_SAI = string.Empty;
|
||||
HORA_VOLTA = string.Empty;
|
||||
KM_VOLTA = string.Empty;
|
||||
ALIMENTA = string.Empty;
|
||||
HOSPEDA = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloOrdensDeslocamento(int iD_ORDENS_DESLOCAMENTO, string cODIGO, string cOD_ORDEM, string dIA, string hORA_SAI, string kM_SAI, string hORA_CHEGA, string kM_CHEGA, string hORA_VOLTA_SAI, string kM_VOLTA_SAI, string hORA_VOLTA, string kM_VOLTA, string aLIMENTA, string hOSPEDA, string dATA_CADASTRO)
|
||||
{
|
||||
ID_ORDENS_DESLOCAMENTO = iD_ORDENS_DESLOCAMENTO;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloOrdensInsumos
|
||||
{
|
||||
public ModeloOrdensInsumos()
|
||||
{
|
||||
ID_ORDENS_INSUMOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_OS = string.Empty;
|
||||
COD_ITEM = string.Empty;
|
||||
QTD = string.Empty;
|
||||
CUSTO_UNIT = string.Empty;
|
||||
CUSTO = string.Empty;
|
||||
OBSERVACOES = string.Empty;
|
||||
}
|
||||
public ModeloOrdensInsumos(int iD_ORDENS_INSUMOS, string cODIGO, string cOD_OS, string cOD_ITEM, string qTD, string cUSTO_UNIT, string cUSTO, string oBSERVACOES)
|
||||
{
|
||||
ID_ORDENS_INSUMOS = iD_ORDENS_INSUMOS;
|
||||
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloParametros
|
||||
{
|
||||
public ModeloParametros()
|
||||
{
|
||||
ID_PARAMETROS = 0;
|
||||
CODIGO = string.Empty;
|
||||
NOME_PAR = string.Empty;
|
||||
DESCRICAO = string.Empty;
|
||||
PX = string.Empty;
|
||||
PY = string.Empty;
|
||||
CAMPO = string.Empty;
|
||||
ATIVO = string.Empty;
|
||||
}
|
||||
public ModeloParametros(int iD_PARAMETROS, string cODIGO, string nOME_PAR, string dESCRICAO, string pX, string pY, string cAMPO, string aTIVO)
|
||||
{
|
||||
ID_PARAMETROS = iD_PARAMETROS;
|
||||
|
||||
@ -1,9 +1,44 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloPedidos
|
||||
{
|
||||
public ModeloPedidos()
|
||||
{
|
||||
ID_PEDIDOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
TIPO = string.Empty;
|
||||
DATA_PEDIDO = string.Empty;
|
||||
FORMA_PGTO = string.Empty;
|
||||
ENTREGA_DIA = string.Empty;
|
||||
ENTREGA_CONTATO = string.Empty;
|
||||
ENTREGA_ENDERECO = string.Empty;
|
||||
ENTREGA_CIDADE = string.Empty;
|
||||
ENTREGA_UF = string.Empty;
|
||||
ENTREGA_CEP = string.Empty;
|
||||
ENTREGA_TELEFONE = string.Empty;
|
||||
DATA_ENVIO = string.Empty;
|
||||
OBSERVACOES = string.Empty;
|
||||
FORNECEDOR = string.Empty;
|
||||
TRANSPORTADOR = string.Empty;
|
||||
VENDEDOR = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
SITUACAO = string.Empty;
|
||||
DESCONTO = string.Empty;
|
||||
NUM_NF_PED = string.Empty;
|
||||
V_FRETE = string.Empty;
|
||||
V_SEGURO = string.Empty;
|
||||
V_OUTROS = string.Empty;
|
||||
PED_PRAZO = string.Empty;
|
||||
PED_FORMA = string.Empty;
|
||||
PED_OBS = string.Empty;
|
||||
CHAVE_NFE_COMPRA = string.Empty;
|
||||
PAGAMENTO_PEDIDO = string.Empty;
|
||||
PAGAMENTO_FRETE = string.Empty;
|
||||
RASTREIO_FRETE = string.Empty;
|
||||
}
|
||||
public ModeloPedidos(int iD_PEDIDOS, string cODIGO, string tIPO, string dATA_PEDIDO, string fORMA_PGTO,
|
||||
string eNTREGA_DIA, string eNTREGA_CONTATO, string eNTREGA_ENDERECO, string eNTREGA_CIDADE,
|
||||
string eNTREGA_UF, string eNTREGA_CEP, string eNTREGA_TELEFONE, string dATA_ENVIO, string oBSERVACOES,
|
||||
|
||||
@ -1,5 +1,15 @@
|
||||
public class ModeloPerfil
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloPerfil
|
||||
{
|
||||
public ModeloPerfil()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
Nome = string.Empty;
|
||||
Descricao = string.Empty;
|
||||
Ativo = false;
|
||||
}
|
||||
public ModeloPerfil(int id, int empresaId, string nome, string descricao, bool ativo)
|
||||
{
|
||||
Id = id;
|
||||
@ -16,4 +26,5 @@
|
||||
public string Descricao { get; set; }
|
||||
|
||||
public bool Ativo { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,12 @@ namespace MLL
|
||||
{
|
||||
public class ModeloPerfilPermissoes
|
||||
{
|
||||
public ModeloPerfilPermissoes()
|
||||
{
|
||||
Id = 0;
|
||||
PerfilId = 0;
|
||||
PermissaoId = 0;
|
||||
}
|
||||
public ModeloPerfilPermissoes(int id, int perfilId, int permissaoId)
|
||||
{
|
||||
Id = id;
|
||||
|
||||
@ -4,6 +4,14 @@ namespace MLL
|
||||
{
|
||||
public class ModeloPerfis
|
||||
{
|
||||
public ModeloPerfis()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
Nome = string.Empty;
|
||||
Descricao = string.Empty;
|
||||
Ativo = false;
|
||||
}
|
||||
public ModeloPerfis(int id, int empresaId, string nome, string descricao, bool ativo)
|
||||
{
|
||||
Id = id;
|
||||
|
||||
@ -1,5 +1,13 @@
|
||||
public class ModeloPermissao
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloPermissao
|
||||
{
|
||||
public ModeloPermissao()
|
||||
{
|
||||
Id = 0;
|
||||
Nome = string.Empty;
|
||||
Descricao = string.Empty;
|
||||
}
|
||||
public ModeloPermissao(int id, string nome, string descricao)
|
||||
{
|
||||
Id = id;
|
||||
@ -11,4 +19,5 @@
|
||||
|
||||
public string Nome { get; set; }
|
||||
public string Descricao { get; set; }
|
||||
}
|
||||
}
|
||||
@ -2,8 +2,15 @@
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
|
||||
public class ModeloPermissoes
|
||||
{
|
||||
public ModeloPermissoes()
|
||||
{
|
||||
Id = 0;
|
||||
Nome = string.Empty;
|
||||
Descricao = string.Empty;
|
||||
}
|
||||
public ModeloPermissoes(int id, string nome, string descricao)
|
||||
{
|
||||
Id = id;
|
||||
|
||||
@ -1,5 +1,20 @@
|
||||
public class ModeloPlanoDeContas
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloPlanoDeContas
|
||||
{
|
||||
public ModeloPlanoDeContas()
|
||||
{
|
||||
Id = 0;
|
||||
EmpresaId = 0;
|
||||
ContaPaiId = null;
|
||||
Nome = string.Empty;
|
||||
Codigo = string.Empty;
|
||||
Tipo = string.Empty;
|
||||
AceitaLancamento = false;
|
||||
Ativo = false;
|
||||
CriadoEm = DateTime.MinValue;
|
||||
AtualizadoEm = DateTime.MinValue;
|
||||
}
|
||||
public ModeloPlanoDeContas(int id, int empresaId, int? contaPaiId, string nome, string codigo, string tipo, bool aceitaLancamento, bool ativo, DateTime criadoEm, DateTime atualizadoEm)
|
||||
{
|
||||
Id = id;
|
||||
@ -28,4 +43,5 @@
|
||||
|
||||
public DateTime CriadoEm { get; set; }
|
||||
public DateTime AtualizadoEm { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,17 @@ namespace MLL
|
||||
{
|
||||
public class ModeloPlanos
|
||||
{
|
||||
public ModeloPlanos()
|
||||
{
|
||||
ID_PLANOS = 0;
|
||||
CODIGO = string.Empty;
|
||||
NOME = string.Empty;
|
||||
NIVEL = string.Empty;
|
||||
DEBITO = string.Empty;
|
||||
CODIGO_PAI = string.Empty;
|
||||
CODIGO_FILHO = string.Empty;
|
||||
}
|
||||
|
||||
public ModeloPlanos(int iD_PLANOS, string cODIGO, string nOME, string nIVEL, string dEBITO, string cODIGO_PAI, string cODIGO_FILHO)
|
||||
{
|
||||
ID_PLANOS = iD_PLANOS;
|
||||
|
||||
@ -4,6 +4,55 @@ namespace MLL
|
||||
{
|
||||
public class ModeloSatFiscalConsumidor
|
||||
{
|
||||
public ModeloSatFiscalConsumidor()
|
||||
{
|
||||
ID_SAT_FISCAL_CONSU = 0;
|
||||
CODIGO = string.Empty;
|
||||
PRODUCAO = string.Empty;
|
||||
SERIE = string.Empty;
|
||||
NATUREZA = string.Empty;
|
||||
EMISSAO = string.Empty;
|
||||
DEST_NOME = string.Empty;
|
||||
DEST_EMAIL = string.Empty;
|
||||
DEST_CPF_CNPJ = string.Empty;
|
||||
DEST_IDESTRANGEIRO = string.Empty;
|
||||
DEST_xLgr = string.Empty;
|
||||
DEST_CPL = string.Empty;
|
||||
DEST_nro = string.Empty;
|
||||
DEST_xBairro = string.Empty;
|
||||
DEST_cMun = string.Empty;
|
||||
DEST_xMun = string.Empty;
|
||||
DEST_UF = string.Empty;
|
||||
DEST_CEP = string.Empty;
|
||||
DEST_cPais = string.Empty;
|
||||
DEST_xPais = string.Empty;
|
||||
DEST_fone = string.Empty;
|
||||
FRETE_MODALIDADE = string.Empty;
|
||||
FRETE_xCNPJ_CPF = string.Empty;
|
||||
FRETE_xNome = string.Empty;
|
||||
NFC_PRONTA = string.Empty;
|
||||
NFC_infCpl = string.Empty;
|
||||
TOTAL_vBC = string.Empty;
|
||||
TOTAL_vICMS = string.Empty;
|
||||
TOTAL_vBCST = string.Empty;
|
||||
TOTAL_vST = string.Empty;
|
||||
TOTAL_vProd = string.Empty;
|
||||
TOTAL_vFrete = string.Empty;
|
||||
TOTAL_vSeg = string.Empty;
|
||||
TOTAL_vDesc = string.Empty;
|
||||
TOTAL_vII = string.Empty;
|
||||
TOTAL_vIPI = string.Empty;
|
||||
TOTAL_vPIS = string.Empty;
|
||||
TOTAL_vCOFINS = string.Empty;
|
||||
TOTAL_vOutro = string.Empty;
|
||||
TOTAL_vNF = string.Empty;
|
||||
TERMINAL = string.Empty;
|
||||
CHAVE_NFC = string.Empty;
|
||||
PROTOCOLO = string.Empty;
|
||||
PROTOCOLO_CANCELA = string.Empty;
|
||||
SITUACAO = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
}
|
||||
public ModeloSatFiscalConsumidor(int iD_SAT_FISCAL_CONSU, string cODIGO, string pRODUCAO, string sERIE, string nATUREZA, string eMISSAO, string dEST_NOME, string dEST_EMAIL, string dEST_CPF_CNPJ, string dEST_IDESTRANGEIRO, string dEST_xLgr, string dEST_CPL, string dEST_nro, string dEST_xBairro, string dEST_cMun, string dEST_xMun, string dEST_UF, string dEST_CEP, string dEST_cPais, string dEST_xPais, string dEST_fone, string fRETE_MODALIDADE, string fRETE_xCNPJ_CPF, string fRETE_xNome, string nFC_PRONTA, string nFC_infCpl, string tOTAL_vBC, string tOTAL_vICMS, string tOTAL_vBCST, string tOTAL_vST, string tOTAL_vProd, string tOTAL_vFrete, string tOTAL_vSeg, string tOTAL_vDesc, string tOTAL_vII, string tOTAL_vIPI, string tOTAL_vPIS, string tOTAL_vCOFINS, string tOTAL_vOutro, string tOTAL_vNF, string tERMINAL, string cHAVE_NFC, string pROTOCOLO, string pROTOCOLO_CANCELA, string sITUACAO, string dATA_CADASTRO)
|
||||
{
|
||||
ID_SAT_FISCAL_CONSU = iD_SAT_FISCAL_CONSU;
|
||||
|
||||
@ -1,9 +1,22 @@
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Runtime.Intrinsics.X86;
|
||||
|
||||
namespace MLL
|
||||
{
|
||||
public class ModeloSatFiscalConsumidorFormas
|
||||
{
|
||||
public ModeloSatFiscalConsumidorFormas()
|
||||
{
|
||||
ID_SAT_FISCAL_CONS_FORMAS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NFCE = string.Empty;
|
||||
FORMA = string.Empty;
|
||||
VALOR = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
CNPJ_OPERADORA = string.Empty;
|
||||
this.TBand = string.Empty;
|
||||
}
|
||||
public ModeloSatFiscalConsumidorFormas(int iD_SAT_FISCAL_CONS_FORMAS, string cODIGO, string cOD_NFCE, string fORMA, string vALOR, string dATA_CADASTRO, string cNPJ_OPERADORA, string tBand)
|
||||
{
|
||||
ID_SAT_FISCAL_CONS_FORMAS = iD_SAT_FISCAL_CONS_FORMAS;
|
||||
@ -13,7 +26,7 @@ namespace MLL
|
||||
VALOR = vALOR;
|
||||
DATA_CADASTRO = dATA_CADASTRO;
|
||||
CNPJ_OPERADORA = cNPJ_OPERADORA;
|
||||
this.tBand = tBand;
|
||||
this.TBand = tBand;
|
||||
}
|
||||
|
||||
public int ID_SAT_FISCAL_CONS_FORMAS { get; set; }
|
||||
@ -23,6 +36,6 @@ namespace MLL
|
||||
public string VALOR { get; set; }
|
||||
public string DATA_CADASTRO { get; set; }
|
||||
public string CNPJ_OPERADORA { get; set; }
|
||||
public string tBand { get; set; }
|
||||
public string TBand { get; set; }
|
||||
}
|
||||
}
|
||||
@ -4,6 +4,69 @@ namespace MLL
|
||||
{
|
||||
public class ModeloSatFiscalConsumidorItens
|
||||
{
|
||||
public ModeloSatFiscalConsumidorItens()
|
||||
{
|
||||
ID_SAT_FISCAL_CONS_ITENS = 0;
|
||||
CODIGO = string.Empty;
|
||||
COD_NFCE = string.Empty;
|
||||
ITEM_TIPO = string.Empty;
|
||||
ITEM_CEAN = string.Empty;
|
||||
ITEM_CPROD = string.Empty;
|
||||
ITEM_XPROD = string.Empty;
|
||||
ITEM_INF_ADIC = string.Empty;
|
||||
ITEM_CFOP = string.Empty;
|
||||
ITEM_NCM = string.Empty;
|
||||
ITEM_UNCOM = string.Empty;
|
||||
ITEM_QCOM = string.Empty;
|
||||
ITEM_VPROD = string.Empty;
|
||||
ITEM_VOUTRO = string.Empty;
|
||||
ITEM_VFRETE = string.Empty;
|
||||
ITEM_VSEG = string.Empty;
|
||||
ITEM_VDESC = string.Empty;
|
||||
ITEM_vTotTrib = string.Empty;
|
||||
ITEM_ORIGEM = string.Empty;
|
||||
ITEM_CST = string.Empty;
|
||||
DATA_CADASTRO = string.Empty;
|
||||
ITEM_ICMS_modBC = string.Empty;
|
||||
ITEM_ICMS_pRedBC = string.Empty;
|
||||
ITEM_ICMS_vBC = string.Empty;
|
||||
ITEM_ICMS_pICMS = string.Empty;
|
||||
ITEM_ICMS_vICMS = string.Empty;
|
||||
ITEM_ICMS_vICMSDeson = string.Empty;
|
||||
ITEM_ICMS_motDesICMS = string.Empty;
|
||||
ITEM_ICMS_modBCST = string.Empty;
|
||||
ITEM_ICMS_pMVAST = string.Empty;
|
||||
ITEM_ICMS_pRedBCST = string.Empty;
|
||||
ITEM_ICMS_vBCST = string.Empty;
|
||||
ITEM_ICMS_pICMSST = string.Empty;
|
||||
ITEM_ICMS_vICMSST = string.Empty;
|
||||
ITEM_cProdANP = string.Empty;
|
||||
ITEM_CEST = string.Empty;
|
||||
this.CBenef = string.Empty;
|
||||
ITEM_pFCP = string.Empty;
|
||||
ITEM_vFCP = string.Empty;
|
||||
ITEM_vBCFCP = string.Empty;
|
||||
ITEM_vBCFCPST = string.Empty;
|
||||
ITEM_pFCPST = string.Empty;
|
||||
ITEM_vFCPST = string.Empty;
|
||||
ITEM_pST = string.Empty;
|
||||
ITEM_vBCFCPSTRet = string.Empty;
|
||||
ITEM_pFCPSTRet = string.Empty;
|
||||
ITEM_vFCPSTRet = string.Empty;
|
||||
ITEM_PIS_CST = string.Empty;
|
||||
ITEM_PIS_vBC = string.Empty;
|
||||
ITEM_PIS_pPIS = string.Empty;
|
||||
ITEM_PIS_vPIS = string.Empty;
|
||||
ITEM_COFINS_CST = string.Empty;
|
||||
ITEM_COFINS_vBC = string.Empty;
|
||||
ITEM_COFINS_pCOFINS = string.Empty;
|
||||
ITEM_COFINS_vCOFINS = string.Empty;
|
||||
this.VICMSSubstituto = string.Empty;
|
||||
this.PRedBCEfet = string.Empty;
|
||||
this.VBCEfet = string.Empty;
|
||||
this.PICMSEfet = string.Empty;
|
||||
this.VICMSEfet = string.Empty;
|
||||
}
|
||||
public ModeloSatFiscalConsumidorItens(int iD_SAT_FISCAL_CONS_ITENS, string cODIGO, string cOD_NFCE, string iTEM_TIPO,
|
||||
string iTEM_CEAN, string iTEM_CPROD, string iTEM_XPROD, string iTEM_INF_ADIC, string iTEM_CFOP,
|
||||
string iTEM_NCM, string iTEM_UNCOM, string iTEM_QCOM, string iTEM_VPROD, string iTEM_VOUTRO,
|
||||
@ -52,7 +115,7 @@ namespace MLL
|
||||
ITEM_ICMS_vICMSST = iTEM_ICMS_vICMSST;
|
||||
ITEM_cProdANP = iTEM_cProdANP;
|
||||
ITEM_CEST = iTEM_CEST;
|
||||
this.cBenef = cBenef;
|
||||
this.CBenef = cBenef;
|
||||
ITEM_pFCP = iTEM_pFCP;
|
||||
ITEM_vFCP = iTEM_vFCP;
|
||||
ITEM_vBCFCP = iTEM_vBCFCP;
|
||||
@ -71,11 +134,11 @@ namespace MLL
|
||||
ITEM_COFINS_vBC = iTEM_COFINS_vBC;
|
||||
ITEM_COFINS_pCOFINS = iTEM_COFINS_pCOFINS;
|
||||
ITEM_COFINS_vCOFINS = iTEM_COFINS_vCOFINS;
|
||||
this.vICMSSubstituto = vICMSSubstituto;
|
||||
this.pRedBCEfet = pRedBCEfet;
|
||||
this.vBCEfet = vBCEfet;
|
||||
this.pICMSEfet = pICMSEfet;
|
||||
this.vICMSEfet = vICMSEfet;
|
||||
this.VICMSSubstituto = vICMSSubstituto;
|
||||
this.PRedBCEfet = pRedBCEfet;
|
||||
this.VBCEfet = vBCEfet;
|
||||
this.PICMSEfet = pICMSEfet;
|
||||
this.VICMSEfet = vICMSEfet;
|
||||
}
|
||||
|
||||
public int ID_SAT_FISCAL_CONS_ITENS { get; set; }
|
||||
@ -116,7 +179,7 @@ namespace MLL
|
||||
|
||||
public string ITEM_cProdANP { get; set; }
|
||||
public string ITEM_CEST { get; set; }
|
||||
public string cBenef { get; set; }
|
||||
public string CBenef { get; set; }
|
||||
|
||||
public string ITEM_pFCP { get; set; }
|
||||
public string ITEM_vFCP { get; set; }
|
||||
@ -139,10 +202,10 @@ namespace MLL
|
||||
public string ITEM_COFINS_pCOFINS { get; set; }
|
||||
public string ITEM_COFINS_vCOFINS { get; set; }
|
||||
|
||||
public string vICMSSubstituto { get; set; }
|
||||
public string pRedBCEfet { get; set; }
|
||||
public string vBCEfet { get; set; }
|
||||
public string pICMSEfet { get; set; }
|
||||
public string vICMSEfet { get; set; }
|
||||
public string VICMSSubstituto { get; set; }
|
||||
public string PRedBCEfet { get; set; }
|
||||
public string VBCEfet { get; set; }
|
||||
public string PICMSEfet { get; set; }
|
||||
public string VICMSEfet { get; set; }
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user