4 changed files with 62 additions and 20 deletions
@ -0,0 +1,25 @@ |
|||
package com.epmet.dto.extract.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.CustomerClientShowGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* @Author zxc |
|||
* @DateTime 2020/9/16 6:01 下午 |
|||
*/ |
|||
@Data |
|||
public class ExtractFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = -6180252151765854242L; |
|||
|
|||
public interface ExtractForm extends CustomerClientShowGroup{} |
|||
|
|||
@NotBlank(message = "客户ID不能为空",groups = ExtractForm.class) |
|||
private String customerId; |
|||
|
|||
@NotBlank(message = "dateId不能为空",groups = ExtractForm.class) |
|||
private String dateId; |
|||
} |
Loading…
Reference in new issue