Commit d914d08f authored by João Lino's avatar João Lino

Just a basic model.

parent 374c59c5
This diff is collapsed.
...@@ -27,10 +27,4 @@ public class AbstractAudit { ...@@ -27,10 +27,4 @@ public class AbstractAudit {
/** Id of the last user to modify the entry */ /** Id of the last user to modify the entry */
@LastModifiedBy private String lastModifiedBy; @LastModifiedBy private String lastModifiedBy;
/** FlowId which generated this entry */
private String flowId;
/** Session which generated this entry */
private String sessionId;
} }
package com.joaolino.demo.spring.microservice.profile.data.model; package com.joaolino.demo.spring.microservice.profile.data.model;
import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
...@@ -14,7 +13,7 @@ import java.util.UUID; ...@@ -14,7 +13,7 @@ import java.util.UUID;
@Data @Data
@SuperBuilder @SuperBuilder
@NoArgsConstructor @NoArgsConstructor
@AllArgsConstructor // @AllArgsConstructor
public class AbstractIdentification extends AbstractAudit { public class AbstractIdentification extends AbstractAudit {
/* A unique identifier of this model entity. */ /* A unique identifier of this model entity. */
......
...@@ -3,7 +3,6 @@ package com.joaolino.demo.spring.microservice.profile.data.model; ...@@ -3,7 +3,6 @@ package com.joaolino.demo.spring.microservice.profile.data.model;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder; import lombok.experimental.SuperBuilder;
import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Document;
...@@ -12,7 +11,7 @@ import org.springframework.data.mongodb.core.mapping.Document; ...@@ -12,7 +11,7 @@ import org.springframework.data.mongodb.core.mapping.Document;
@Data @Data
@SuperBuilder @SuperBuilder
@AllArgsConstructor @AllArgsConstructor
@NoArgsConstructor // @NoArgsConstructor
@Document @Document
public class Profile extends AbstractIdentification { public class Profile extends AbstractIdentification {
......
#Generated by Git-Commit-Id-Plugin
#Mon Apr 27 13:03:17 BST 2020
git.branch=master
git.build.host=DESKTOP-97FFMN5
git.build.time=2020-04-27T13\:03\:17+0100
git.build.user.email=jl@joaolino.com
git.build.user.name=Jo\u00E3o Lino
git.build.version=1.0-SNAPSHOT
git.closest.tag.commit.count=
git.closest.tag.name=
git.commit.id=374c59c58879b3630a0949a3a2e9fa469bf3fa76
git.commit.id.describe=374c59c-dirty
git.commit.time=2020-04-27T11\:51\:41+0100
git.commit.user.email=jl@joaolino.com
git.dirty=true
git.remote.origin.url=https\://www.joaolino.com/gitlab/demo/demo-spring-microservice-profile.git
git.tags=
<?xml version="1.0" encoding="UTF-8"?>
<failsafe-summary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://maven.apache.org/surefire/maven-surefire-plugin/xsd/failsafe-summary.xsd" result="254" timeout="false">
<completed>0</completed>
<errors>0</errors>
<failures>0</failures>
<skipped>0</skipped>
<failureMessage xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</failsafe-summary>
\ No newline at end of file
artifactId=demo-spring-microservice-profile
groupId=com.joaolino
version=1.0-SNAPSHOT
com\joaolino\demo\spring\microservice\profile\data\model\AbstractIdentification.class
com\joaolino\demo\spring\microservice\profile\data\model\Profile.class
com\joaolino\demo\spring\microservice\profile\DemoSpringMicroserviceProfileInitializer.class
com\joaolino\demo\spring\microservice\profile\data\model\AbstractAudit$AbstractAuditBuilder.class
com\joaolino\demo\spring\microservice\profile\data\model\AbstractIdentification$AbstractIdentificationBuilder.class
com\joaolino\demo\spring\microservice\profile\data\model\AbstractIdentification$AbstractIdentificationBuilderImpl.class
com\joaolino\demo\spring\microservice\profile\data\model\Profile$ProfileBuilderImpl.class
com\joaolino\demo\spring\microservice\profile\data\model\AbstractAudit.class
com\joaolino\demo\spring\microservice\profile\data\model\AbstractAudit$AbstractAuditBuilderImpl.class
com\joaolino\demo\spring\microservice\profile\data\model\Profile$ProfileBuilder.class
com\joaolino\demo\spring\microservice\profile\DemoSpringMicroserviceProfileApplication.class
D:\Dev\demo\demo-spring-microservice-profile\src\main\java\com\joaolino\demo\spring\microservice\profile\data\model\AbstractAudit.java
D:\Dev\demo\demo-spring-microservice-profile\src\main\java\com\joaolino\demo\spring\microservice\profile\DemoSpringMicroserviceProfileInitializer.java
D:\Dev\demo\demo-spring-microservice-profile\src\main\java\com\joaolino\demo\spring\microservice\profile\data\model\Profile.java
D:\Dev\demo\demo-spring-microservice-profile\src\main\java\com\joaolino\demo\spring\microservice\profile\DemoSpringMicroserviceProfileApplication.java
D:\Dev\demo\demo-spring-microservice-profile\src\main\java\com\joaolino\demo\spring\microservice\profile\data\model\AbstractIdentification.java
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment