11 changed files with 128 additions and 1 deletions
@ -0,0 +1,26 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2020/11/4 5:43 下午 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OpenedOrClosedFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 483466676158603066L; |
||||
|
|
||||
|
public interface OpenedOrClosed{} |
||||
|
|
||||
|
@NotBlank(message = "客户ID不能为空",groups = {OpenedOrClosed.class}) |
||||
|
private String customerId; |
||||
|
|
||||
|
private String userId; |
||||
|
|
||||
|
@NotBlank(message = "徽章ID不能为空",groups = {OpenedOrClosed.class}) |
||||
|
private String badgeId; |
||||
|
} |
Loading…
Reference in new issue