From 3dc9587110d1b2a59341e1a7e49e67ba0847607f Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期六, 21 六月 2025 16:14:21 +0800 Subject: [PATCH] 添加正式环境配置文件 --- src/main/java/com/cl/pojo/dto/LoginDTO.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/cl/pojo/dto/LoginDTO.java b/src/main/java/com/cl/pojo/dto/LoginDTO.java new file mode 100644 index 0000000..14244dc --- /dev/null +++ b/src/main/java/com/cl/pojo/dto/LoginDTO.java @@ -0,0 +1,16 @@ +package com.cl.pojo.dto; + +import io.swagger.annotations.ApiModel; +import lombok.Data; + +import javax.validation.constraints.NotEmpty; +import java.io.Serializable; +@Data +@ApiModel("登录") +public class LoginDTO implements Serializable { + private static final long serialVersionUID = 1L; + @NotEmpty(message = "手机号不能为空") + private String phone; + @NotEmpty(message = "密码不能为空") + private String password; +} -- Gitblit v1.7.1