MCPcopy Create free account
hub / github.com/bansh2eBreak/SpringVulnBoot-backend / SmsCode

Class SmsCode

src/main/java/icu/secnotes/pojo/SmsCode.java:10–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import java.time.LocalDateTime;
9
10@Data
11@NoArgsConstructor
12@AllArgsConstructor
13public class SmsCode {
14
15 private Long id;
16 @NotBlank(message = "手机号不能为空")
17 @Pattern(regexp = "^1(3[0-9]|4[5-9]|5[0-3,5-9]|6[6]|7[0-8]|8[0-9]|9[1,8,9])\\d{8}$", message = "手机号格式错误")
18 private String phone;
19 private String code;
20 private LocalDateTime createTime;
21 private LocalDateTime expireTime;
22 private Integer used;
23 private Integer retryCount;
24
25}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected