18 changed files with 136 additions and 71 deletions
@ -0,0 +1,65 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import com.epmet.commons.tools.validator.group.AddGroup; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.io.Serializable; |
|||
|
|||
|
|||
/** |
|||
* 自定义表单导出模板 |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2022-04-21 |
|||
*/ |
|||
@Data |
|||
public class IcExportTemplateSaveFormDTO implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 表单CODE,从字典获取 |
|||
*/ |
|||
private String formCode; |
|||
|
|||
/** |
|||
* 模板名称 |
|||
*/ |
|||
@NotBlank(message = "模板名称不能为空",groups = AddGroup.class) |
|||
private String name; |
|||
|
|||
/** |
|||
* 0:动态;1:文件 |
|||
*/ |
|||
private Integer type; |
|||
|
|||
/** |
|||
* 父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