From c151ec18d4d302a6359a8ef4144835c254c842bc Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期一, 12 五月 2025 16:17:10 +0800
Subject: [PATCH] 大屏加年份条件切换

---
 src/main/java/com/cl/pojo/dto/PasswordDTO.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/cl/pojo/dto/PasswordDTO.java b/src/main/java/com/cl/pojo/dto/PasswordDTO.java
new file mode 100644
index 0000000..e17699a
--- /dev/null
+++ b/src/main/java/com/cl/pojo/dto/PasswordDTO.java
@@ -0,0 +1,13 @@
+package com.cl.pojo.dto;
+
+import lombok.Data;
+
+import javax.validation.constraints.NotEmpty;
+
+@Data
+public class PasswordDTO {
+    @NotEmpty(message = "旧密码不能为空")
+    private String password;
+    @NotEmpty(message = "新密码不能为空")
+    private String newPassword;
+}

--
Gitblit v1.7.1