Skip to content

Instantly share code, notes, and snippets.

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; }
import { Component, OnInit, AfterContentInit, Input, forwardRef, ContentChild } from '@angular/core';
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, ControlValueAccessor } from '@angular/forms'
import { NgModel, FormControlName } from '@angular/forms'
@Component({
selector: 'app-campo-texto',
templateUrl: './campo-texto.component.html',
styles: [],
providers: [
{
<!DOCTYPE html>
<html
lang="pt"
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:p="http://primefaces.org/ui">
<h:head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
@Component
@Order(Ordered.HIGHEST_PRECEDENCE)
public class CorsFilter implements Filter {
@Autowired
private ApiProperty apiProperty;
@Override
public void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws IOException, ServletException {