package com.template.model.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author: binguo
 * @Date: 2023/7/7 星期五 14:27
 * @Description: com.repair.model.request
 * @Version: 1.0
 */
@Data
public class updateDepartmentRequest {
    /**
     * 数据ID
     */
    @NotNull(message = "数据ID不能为空")
    private Integer id;

    /**
     * 父级ID
     */
    @NotNull(message = "父级ID不能为空")
    private Integer parentId;

    /**
     * 部门名称
     */
    @NotBlank(message = "部门名称不能为空")
    private String name;
}
