39 lines
622 B
Plaintext
39 lines
622 B
Plaintext
package com.sercurityControl.proteam.domain.dto;
|
|
|
|
import lombok.Data;
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
@Data
|
|
public class RiskDelParamDto {
|
|
|
|
/**
|
|
* 类型
|
|
*/
|
|
@NotBlank(message = "类型不能为空")
|
|
private String type;
|
|
|
|
/**
|
|
* 名称
|
|
*/
|
|
@NotBlank(message = "名称不能为空")
|
|
private String name;
|
|
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
}
|