forked from luyan/epmet-cloud-lingshan
4 changed files with 77 additions and 10 deletions
@ -0,0 +1,33 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author zxc |
||||
|
* @DateTime 2022/8/8 14:04 |
||||
|
* @DESC |
||||
|
*/ |
||||
|
@Data |
||||
|
public class ReportEditFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = -2157859106926125470L; |
||||
|
|
||||
|
public interface ReportEditForm{} |
||||
|
|
||||
|
/** |
||||
|
* 操作类型,批量操作:add;单个编辑:edit |
||||
|
*/ |
||||
|
@NotBlank(message = "type不能为空", groups = ReportEditForm.class) |
||||
|
private String type; |
||||
|
|
||||
|
@NotBlank(message = "reportId不能为空", groups = ReportEditForm.class) |
||||
|
private String reportId; |
||||
|
|
||||
|
private List<String> customerIds; |
||||
|
|
||||
|
private List<String> categoryKeys; |
||||
|
} |
Loading…
Reference in new issue