mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 20:59:27 +08:00
代码格式化
This commit is contained in:
@@ -1,9 +1,16 @@
|
||||
/**
|
||||
* This file is part of the PlayEdu.
|
||||
* (c) 杭州白书科技有限公司
|
||||
*/
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import org.hibernate.validator.constraints.Length;
|
||||
|
||||
import java.io.Serial;
|
||||
@@ -11,12 +18,12 @@ import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
*
|
||||
* @create 2023/2/19 10:42
|
||||
*/
|
||||
@Data
|
||||
public class DepartmentRequest implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
@Serial private static final long serialVersionUID = 1L;
|
||||
|
||||
@NotBlank(message = "请输入部门名称")
|
||||
@Length(min = 1, max = 20, message = "部门名称长度在1-20个字符之间")
|
||||
@@ -28,5 +35,4 @@ public class DepartmentRequest implements Serializable {
|
||||
|
||||
@NotNull(message = "sort参数不存在")
|
||||
private Integer sort;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user