2 changed files with 20 additions and 3 deletions
@ -0,0 +1,19 @@
|
||||
package com.biutag.lan.validate.commons; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import jakarta.validation.constraints.NotBlank; |
||||
import lombok.Data; |
||||
|
||||
|
||||
import java.io.Serializable; |
||||
|
||||
@Data |
||||
@ApiModel("ID参数") |
||||
public class MailIdValidate implements Serializable { |
||||
|
||||
private static final long serialVersionUID = 1L; |
||||
@NotBlank |
||||
@ApiModelProperty(value = "ID", required = true) |
||||
private String id; |
||||
|
||||
} |
||||
Loading…
Reference in new issue