Commit 8e4e9c390784eafd9bea24d3ae284bdf9191c663

Authored by Ronan Tavares Camargo
1 parent 523b5fca
Exists in master

Redmine #4545

cit-tabelas-corp-api/src/main/java/br/com/centralit/api/model/Documento.java
... ... @@ -107,6 +107,10 @@ public class Documento extends PersistentObjectAuditOrganizacao {
107 107 @OneToMany(fetch = FetchType.LAZY, mappedBy = "documento", cascade = CascadeType.ALL)
108 108 @JsonView({ Views.GenericView.class })
109 109 private Collection<Anexo> anexos;
  110 +
  111 + @NotAudited
  112 + @JsonView({ Views.GenericView.class })
  113 + private String uuid;
110 114  
111 115 /**
112 116 * Retorna o valor do atributo <code>id</code>
... ... @@ -248,4 +252,12 @@ public class Documento extends PersistentObjectAuditOrganizacao {
248 252 this.emitenteEstrutura = emitenteEstrutura;
249 253 }
250 254  
  255 + public String getUuid() {
  256 + return uuid;
  257 + }
  258 +
  259 + public void setUuid(String uuid) {
  260 + this.uuid = uuid;
  261 + }
  262 +
251 263 }
... ...