Created
July 26, 2022 15:37
-
-
Save OlgaMaciaszek/58ce6479644802f22b1c46f881209283 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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