-
-
Save john182/4002316bacd4e898bae62e44ff2d3ec9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ClienteDTO | |
{ | |
public string Nome { get; set; } | |
public string Fantasia { get; set; } | |
public string Email { get; set; } | |
public string CpfCnpj { get; set; } | |
public string RgIe { get; set; } | |
public string TipoPessoa { get; set; } | |
public string Logradouro { get; set; } | |
public string Numero { get; set; } | |
public string Complemento { get; set; } | |
public string Bairro { get; set; } | |
public string Cidade { get; set; } | |
public string Uf { get; set; } | |
public string Cep { get; set; } | |
public int CodigoIbgeCidade { get; set; } | |
public int CodigoIbgeUf { get; set; } | |
public string Fone { get; set; } | |
} | |
public class EmpresaDTO | |
{ | |
public string RazaoSocial { get; set; } | |
public string NomeFantasia { get; set; } | |
public string Cnpj { get; set; } | |
public string InscricaoEstadual { get; set; } | |
public string InscricaoEstadualSt { get; set; } | |
public string InscricaoMunicipal { get; set; } | |
public string Email { get; set; } | |
public string Crt { get; set; } | |
public string Logradouro { get; set; } | |
public string Numero { get; set; } | |
public string Complemento { get; set; } | |
public string Bairro { get; set; } | |
public string Cidade { get; set; } | |
public string Uf { get; set; } | |
public string Cep { get; set; } | |
public int CodigoIbgeCidade { get; set; } | |
public int CodigoIbgeUf { get; set; } | |
public string Telefone { get; set; } | |
} | |
public class VendaCabecalhoDTO | |
{ | |
public string CpfCnpjCliente { get; set; } | |
public decimal Troco { get; set; } | |
public EmpresaDTO Empresa { get; set; } | |
public ClienteDTO Cliente { get; set; } | |
public List<VendaDetalheDTO> Itens { get; set; } | |
public List<VendaFormaPagamentoDTO> Pagamentos { get; set; } | |
} | |
public class VendaDetalheDTO | |
{ | |
public string CodigoProduto { get; set; } | |
public string NomeProduto { get; set; } | |
public string Ncm { get; set; } | |
public string Cest { get; set; } | |
public string Um { get; set; } | |
public decimal Quantidade { get; set; } | |
public decimal ValorUnitario { get; set; } | |
public decimal ValorSubtotal { get; set; } | |
public decimal ValorDesconto { get; set; } | |
public decimal ValorTotal { get; set; } | |
public decimal ValorOutrasDespesas { get; set; } | |
public ImpostoDTO Imposto { get; set; } | |
} | |
public class ImpostoDTO | |
{ | |
public IcmsDTO Icms { get; set; } | |
public IpiDTO Ipi { get; set; } | |
public PisDTO Pis { get; set; } | |
public CofinsDTO Cofins { get; set; } | |
} | |
public class IcmsDTO | |
{ | |
public int Cfop { get; set; } | |
public int OrigemMercadoria { get; set; } | |
public string CstCsosn { get; set; } | |
public decimal PorcentoBc { get; set; } | |
public decimal Aliquota { get; set; } | |
public decimal Mva { get; set; } | |
public decimal PorcentoBcSt { get; set; } | |
public decimal AliquotaIcmsSt { get; set; } | |
} | |
public class IpiDTO | |
{ | |
public string Cst { get; set; } | |
public decimal AliquotaPorcento { get; set; } | |
} | |
public class PisDTO | |
{ | |
public string Cst { get; set; } | |
public decimal AliquotaPorcento { get; set; } | |
} | |
public class CofinsDTO | |
{ | |
public string Cst { get; set; } | |
public decimal AliquotaPorcento { get; set; } | |
} | |
public class VendaFormaPagamentoDTO | |
{ | |
public string Forma { get; set; } | |
public decimal Valor { get; set; } | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment