net.guerlab.sms.server.entity.VerificationCode Maven / Gradle / Ivy
/*
* Copyright 2018-2023 guerlab.net and other contributors.
*
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, Version 3 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/lgpl-3.0.html
*
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package net.guerlab.sms.server.entity;
import java.time.LocalDateTime;
import lombok.Data;
/**
* 验证码.
*
* @author guer
*/
@Data
public class VerificationCode {
/**
* 手机号.
*/
private String phone;
/**
* 验证码.
*/
private String code;
/**
* 识别码.
*/
private String identificationCode;
/**
* 可重试时间.
*/
private LocalDateTime retryTime;
/**
* 过期时间.
*/
private LocalDateTime expirationTime;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy