How I can simplify creating this objects? I try use Design Patterns Composite and Builder but I'm but I'm confused.
public class tcLoteRps
{
public string Id { get; set; }
public List<tcRps> Rps { get; set; }
}
public class tcRps
{
public tcInfRps InfRps { get; set; }
public string Signature { get; set; }
}
public class tcInfRps
{
public tcIdentificacaoRps IdentificacaoRps { get; set; }
public string Id { get; set; }
public tcDadosServico Servico { get; set; }
}
public class tcIdentificacaoRps
{
public string Id { get; set; }
}
public class tcDadosServico
{
public string Id { get; set; }
}
Aucun commentaire:
Enregistrer un commentaire