Created
July 26, 2022 14:57
-
-
Save OlgaMaciaszek/0083ac7fa45f577c6262fc0185b5ff5d 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; | |
public class User { | |
public UUID uuid; | |
public Status status; | |
public User() { | |
} | |
public void setUuid(UUID uuid) { | |
this.uuid = uuid; | |
} | |
public void setStatus(Status status) { | |
this.status = status; | |
} | |
public UUID getUuid() { | |
return uuid; | |
} | |
public Status getStatus() { | |
return status; | |
} | |
public enum Status { | |
NEW, | |
OK, | |
FRAUD; | |
Status() { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment