2 changed files with 66 additions and 22 deletions
@ -0,0 +1,54 @@ |
|||||
|
package com.epmet.dto.form; |
||||
|
|
||||
|
import com.epmet.commons.tools.validator.group.AddGroup; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
import javax.validation.constraints.NotEmpty; |
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
|
||||
|
/** |
||||
|
* 自定义表单导出模板 |
||||
|
* |
||||
|
* @author generator generator@elink-cn.com |
||||
|
* @since v1.0.0 2022-04-21 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class IcExportItemListFormDTO implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
@NotEmpty(message = "请至少添加一个导出项") |
||||
|
private List<IcExportItemListFormDTO> subItemList; |
||||
|
|
||||
|
/** |
||||
|
* 父id |
||||
|
*/ |
||||
|
private String pid; |
||||
|
|
||||
|
/** |
||||
|
* ic_form_item.id |
||||
|
*/ |
||||
|
@NotBlank(message = "itemId不能为空",groups = AddGroup.class) |
||||
|
private String itemId; |
||||
|
|
||||
|
/** |
||||
|
* 表头宽度 |
||||
|
*/ |
||||
|
private Integer width; |
||||
|
|
||||
|
/** |
||||
|
* 项标签 |
||||
|
*/ |
||||
|
@NotBlank(message = "名称不能为空",groups = AddGroup.class) |
||||
|
private String label; |
||||
|
|
||||
|
/** |
||||
|
* 排序 |
||||
|
*/ |
||||
|
private Integer sort; |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue