|
|
@ -60,14 +60,27 @@ public class ParameterInOptionAdditionEntity extends CorporationAuditorEntity<Pa |
|
|
|
@Column(name="ENABLE_") |
|
|
|
@Convert(converter= NumericBooleanConverter.class) |
|
|
|
protected Boolean enable =true; |
|
|
|
|
|
|
|
//是否必填项
|
|
|
|
@Column(name="REQUIRED_") |
|
|
|
@Convert(converter= NumericBooleanConverter.class) |
|
|
|
protected Boolean required =true; |
|
|
|
|
|
|
|
//排序
|
|
|
|
@Column(name="ORDER_") |
|
|
|
protected Integer order; |
|
|
|
|
|
|
|
//当组件类型是 TEXTS(多行文本框) 时, 指定多行文本框组件的行数
|
|
|
|
@Column(name="ROWS_") |
|
|
|
protected Integer rows; |
|
|
|
//当组件类型是 TEXTS(多行文本框) 时, 指定多行文本框组件的高度
|
|
|
|
@Column(name="TEXTAREA_HEIGHT_") |
|
|
|
protected Integer textareaHeight; |
|
|
|
|
|
|
|
//当组件类型是 TEXTS(多行文本框) 或者 TEXT(单行文本框) 时, 指定文本框允许输入的字符个数(最小)
|
|
|
|
@Column(name="TEXT_MIN_LENGTH_") |
|
|
|
protected Integer textMinLength=0; |
|
|
|
|
|
|
|
//当组件类型是 TEXTS(多行文本框) 或者 TEXT(单行文本框) 时, 指定文本框允许输入的字符个数(最大)
|
|
|
|
@Column(name="TEXT_MAX_LENGTH_") |
|
|
|
protected Integer textMaxLength =Integer.MAX_VALUE; |
|
|
|
|
|
|
|
//当组件类型是 TEXT(单行文本框) 或 TEXTS(多行文本框) 时, 指定文本框组件的提示词
|
|
|
|
@Column(name="PROMPT_", length=1024) |
|
|
@ -95,8 +108,11 @@ public class ParameterInOptionAdditionEntity extends CorporationAuditorEntity<Pa |
|
|
|
vo.setComponentType(this.getComponentType()); |
|
|
|
vo.setCondition(this.getCondition()); |
|
|
|
vo.setEnable(this.getEnable()); |
|
|
|
vo.setRequired(this.getRequired()); |
|
|
|
vo.setOrder(this.getOrder()); |
|
|
|
vo.setRows(this.getRows()); |
|
|
|
vo.setTextareaHeight(this.getTextareaHeight()); |
|
|
|
vo.setTextMinLength(this.getTextMinLength()); |
|
|
|
vo.setTextMaxLength(this.getTextMaxLength()); |
|
|
|
vo.setPrompt(this.getPrompt()); |
|
|
|
vo.setAttachmentExtendNames(this.getAttachmentExtendNames()); |
|
|
|
vo.setAttachmentMaxCount(this.getAttachmentMaxCount()); |
|
|
@ -167,6 +183,14 @@ public class ParameterInOptionAdditionEntity extends CorporationAuditorEntity<Pa |
|
|
|
this.enable = enable; |
|
|
|
} |
|
|
|
|
|
|
|
public Boolean getRequired() { |
|
|
|
return required; |
|
|
|
} |
|
|
|
|
|
|
|
public void setRequired(Boolean required) { |
|
|
|
this.required = required; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getOrder() { |
|
|
|
return order; |
|
|
|
} |
|
|
@ -175,12 +199,28 @@ public class ParameterInOptionAdditionEntity extends CorporationAuditorEntity<Pa |
|
|
|
this.order = order; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getRows() { |
|
|
|
return rows; |
|
|
|
public Integer getTextareaHeight() { |
|
|
|
return textareaHeight; |
|
|
|
} |
|
|
|
|
|
|
|
public void setTextareaHeight(Integer textareaHeight) { |
|
|
|
this.textareaHeight = textareaHeight; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getTextMinLength() { |
|
|
|
return textMinLength; |
|
|
|
} |
|
|
|
|
|
|
|
public void setTextMinLength(Integer textMinLength) { |
|
|
|
this.textMinLength = textMinLength; |
|
|
|
} |
|
|
|
|
|
|
|
public Integer getTextMaxLength() { |
|
|
|
return textMaxLength; |
|
|
|
} |
|
|
|
|
|
|
|
public void setRows(Integer rows) { |
|
|
|
this.rows = rows; |
|
|
|
public void setTextMaxLength(Integer textMaxLength) { |
|
|
|
this.textMaxLength = textMaxLength; |
|
|
|
} |
|
|
|
|
|
|
|
public String getPrompt() { |
|
|
|