cn.herodotus.stirrup.rest.servlet.upms.dto.AllocatableRemove Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-module-servlet-upms Show documentation
Show all versions of rest-module-servlet-upms Show documentation
Herodotus 软件生态组件库 UPMS 功能 Servlet 环境 REST 接口模块
The newest version!
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2020-2030 郑庚伟 ZHENGGENGWEI (码匠君), Licensed under the AGPL License
*
* This file is part of Herodotus Stirrup.
*
* Herodotus Stirrup is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Herodotus Stirrup is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
package cn.herodotus.stirrup.rest.servlet.upms.dto;
import cn.herodotus.stirrup.core.definition.domain.base.AbstractDto;
import com.google.common.base.MoreObjects;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
/**
* Description: 删除人员归属参数BO对象
*
* @author : gengwei.zheng
* @date : 2021/9/24 21:48
*/
@Schema(description = "删除人员归属参数BO对象")
public class AllocatableRemove extends AbstractDto {
@NotNull(message = "单位ID不能为空")
@Schema(description = "单位ID")
private String organizationId;
@NotNull(message = "部门ID不能为空")
@Schema(description = "部门ID")
private String departmentId;
@NotNull(message = "人员ID不能为空")
@Schema(description = "人员ID")
private String employeeId;
public String getOrganizationId() {
return organizationId;
}
public void setOrganizationId(String organizationId) {
this.organizationId = organizationId;
}
public String getDepartmentId() {
return departmentId;
}
public void setDepartmentId(String departmentId) {
this.departmentId = departmentId;
}
public String getEmployeeId() {
return employeeId;
}
public void setEmployeeId(String employeeId) {
this.employeeId = employeeId;
}
@Override
public String toString() {
return MoreObjects.toStringHelper(this)
.add("organizationId", organizationId)
.add("departmentId", departmentId)
.add("employeeId", employeeId)
.toString();
}
}