Package com.bank.auth_service.model
Class Code
java.lang.Object
com.bank.auth_service.model.Code
Entity representing a verification code used for user validation processes.
Stores the code, its key (e.g., email), and the creation timestamp.
- Since:
- 1.0.0
- Version:
- 1.0.0, 06/23/2025
- Author:
- Fernando Cruz Cavina
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Code
public Code()Default constructor. -
Code
Constructs a new Code with the specified key, code, and creation time.- Parameters:
keyCode
- the key associated with the code (e.g., email)code
- the verification codecreatedAt
- the creation timestamp
-