Skip to content

Instantly share code, notes, and snippets.

@OlgaMaciaszek
Created July 26, 2022 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OlgaMaciaszek/58ce6479644802f22b1c46f881209283 to your computer and use it in GitHub Desktop.
Save OlgaMaciaszek/58ce6479644802f22b1c46f881209283 to your computer and use it in GitHub Desktop.
package io.github.olgamaciaszek.cardservice.user;
import java.util.UUID;
import org.springframework.aot.hint.annotation.Reflective;
/**
* @author Olga Maciaszek-Sharma
*/
@Reflective
public class User {
public UUID uuid;
public Status status;
@Reflective
public User() {
}
@Reflective
public void setUuid(UUID uuid) {
this.uuid = uuid;
}
@Reflective
public void setStatus(Status status) {
this.status = status;
}
public UUID getUuid() {
return uuid;
}
public Status getStatus() {
return status;
}
@Reflective
public enum Status {
NEW,
OK,
FRAUD;
@Reflective
Status() {
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment