|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.aps.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.ApsEnumUtil;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
@ -26,14 +27,17 @@ import javax.persistence.Table;
|
|
|
|
|
public class DataLink extends BaseAPS {
|
|
|
|
|
@Column(name="CODE")
|
|
|
|
|
@ApiParam(value ="编码")
|
|
|
|
|
@FieldAnnotation(notEmpty = true)
|
|
|
|
|
private String code;
|
|
|
|
|
|
|
|
|
|
@Column(name="TYPE")
|
|
|
|
|
@ApiParam(value ="链接类型")
|
|
|
|
|
@FieldAnnotation(defaultValue = "CSV")
|
|
|
|
|
private ApsEnumUtil.DATA_LINK_TYPE type;
|
|
|
|
|
|
|
|
|
|
@Column(name="PATH")
|
|
|
|
|
@ApiParam(value ="IP/文件路径")
|
|
|
|
|
@FieldAnnotation(notEmpty = true)
|
|
|
|
|
private String path;
|
|
|
|
|
|
|
|
|
|
@Column(name="PORT")
|
|
|
|
|