mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-25 20:35:35 +08:00
部门和分类增加排序和父类修改的api
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/14 11:13
|
||||
*/
|
||||
@Data
|
||||
public class DepartmentParentRequest {
|
||||
@NotNull(message = "参数为空")
|
||||
private List<Integer> ids;
|
||||
|
||||
@NotNull(message = "参数为空")
|
||||
private Integer id;
|
||||
|
||||
@NotNull(message = "参数为空")
|
||||
private Integer parentId;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/14 11:11
|
||||
*/
|
||||
@Data
|
||||
public class DepartmentSortRequest {
|
||||
private List<Integer> ids;
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/14 11:07
|
||||
*/
|
||||
@Data
|
||||
public class ResourceCategoryParentRequest {
|
||||
@NotNull(message = "参数为空")
|
||||
private List<Integer> ids;
|
||||
|
||||
@NotNull(message = "参数为空")
|
||||
private Integer id;
|
||||
|
||||
@NotNull(message = "参数为空")
|
||||
private Integer parentId;
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package xyz.playedu.api.request.backend;
|
||||
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author 杭州白书科技有限公司
|
||||
* @create 2023/3/14 11:02
|
||||
*/
|
||||
@Data
|
||||
public class ResourceCategorySortRequest {
|
||||
|
||||
@NotNull(message = "参数为空")
|
||||
private List<Integer> ids;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user