package cn.autoform.db.entity;
|
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
import java.util.Date;
|
import java.util.List;
|
|
@Data
|
public class FormsettingEntity implements Serializable{
|
|
private static final String ONE = "1";
|
|
public FormsettingEntity(){
|
|
}
|
|
/**
|
* serialVersionUID
|
*/
|
private static final long serialVersionUID = 547546909368663787L;
|
|
/**
|
* 表单ID
|
*/
|
private String formID = "";
|
|
/**
|
* 租户ID
|
*/
|
private String tenantID = "";
|
|
/**
|
* 可保存
|
*/
|
private String saveable = "";
|
/**
|
* 保存并提交
|
*/
|
private String saveSub = "";
|
|
/**
|
* 可取消
|
*/
|
private String disposable = "";
|
|
/**
|
* 可清空
|
*/
|
private String clearable = "";
|
|
/**
|
* 可查询
|
*/
|
private String queryable = "";
|
|
/**
|
* 可新建
|
*/
|
private String createable = "";
|
|
/**
|
* 可审批
|
*/
|
private String auditable = "";
|
|
/**
|
* 可提交
|
*/
|
private String submitable = "";
|
|
/**
|
* 可驳回
|
*/
|
private String rejectable = "";
|
/**
|
* 可撤回
|
*/
|
private String recallable = "";
|
/**
|
* 可打印
|
*/
|
private String printable = "";
|
|
/**
|
* 可导出
|
*/
|
private String exportable = "";
|
|
/**
|
* 删除Flag
|
*/
|
private String deleteFlg = "";
|
|
/**
|
* 作成者
|
*/
|
private String createUser = "";
|
|
/**
|
* 作成日
|
*/
|
private Date createDatetime = null;
|
|
/**
|
* 更新User
|
*/
|
private String updateUser = "";
|
|
/**
|
* 更新日时
|
*/
|
private Date updateDatetime = null;
|
|
/**
|
* 发布路径
|
*/
|
private String resourceFilePath = "";
|
|
/**
|
* 工具栏集合
|
*/
|
private List<CustomButtonEntity> customButtons;
|
|
/**
|
* 工具栏分类
|
*/
|
private CustomButtonExtend subCustomButton;
|
|
/**
|
* 编辑按钮设置
|
* @return
|
*/
|
private String editable;
|
|
/**
|
* 删除按钮的设置
|
* @return
|
*/
|
private String deleteable;
|
|
public String getSaveSub() {
|
return saveSub;
|
}
|
public void setSaveSub(String saveSub) {
|
this.saveSub = saveSub;
|
}
|
|
public List<CustomButtonEntity> getCustomButtons() {
|
return customButtons;
|
}
|
|
public void setCustomButtons(List<CustomButtonEntity> customButtons) {
|
this.customButtons = customButtons;
|
}
|
public String getRecallable() {
|
return recallable;
|
}
|
public void setRecallable(String recallable) {
|
this.recallable = recallable;
|
}
|
|
public void setRecallablel(String recallable,FormsettingEntity results ) {
|
if(ONE.equals(results.getRecallable())){
|
this.recallable = recallable;
|
}
|
}
|
|
public String getFormID() {
|
return formID;
|
}
|
|
public void setFormID(String formID) {
|
this.formID = formID;
|
}
|
|
public String getTenantID() {
|
return tenantID;
|
}
|
|
public void setTenantID(String tenantID) {
|
this.tenantID = tenantID;
|
}
|
|
public String getDeleteFlg() {
|
return deleteFlg;
|
}
|
|
public void setDeleteFlg(String deleteFlg) {
|
this.deleteFlg = deleteFlg;
|
}
|
|
public String getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(String createUser) {
|
this.createUser = createUser;
|
}
|
|
public Date getCreateDatetime() {
|
return createDatetime;
|
}
|
|
public void setCreateDatetime(Timestamp createDatetime) {
|
this.createDatetime = createDatetime;
|
}
|
|
public String getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public Date getUpdateDatetime() {
|
return updateDatetime;
|
}
|
|
public void setUpdateDatetime(Timestamp updateDatetime) {
|
this.updateDatetime = updateDatetime;
|
}
|
|
public static long getSerialversionuid() {
|
return serialVersionUID;
|
}
|
|
public String getSaveable() {
|
return saveable;
|
}
|
|
public void setSaveable(String saveable) {
|
this.saveable = saveable;
|
}
|
|
public String getDisposable() {
|
return disposable;
|
}
|
|
public void setDisposable(String disposable) {
|
this.disposable = disposable;
|
}
|
|
public String getClearable() {
|
return clearable;
|
}
|
|
public void setClearable(String clearable) {
|
this.clearable = clearable;
|
}
|
|
public String getQueryable() {
|
return queryable;
|
}
|
|
public void setQueryable(String queryable) {
|
this.queryable = queryable;
|
}
|
|
public String getCreateable() {
|
return createable;
|
}
|
|
public void setCreateable(String createable) {
|
this.createable = createable;
|
}
|
|
public String getAuditable() {
|
return auditable;
|
}
|
|
public void setAuditable(String auditable) {
|
this.auditable = auditable;
|
}
|
|
public void setAuditablel(String auditable,FormsettingEntity results ) {
|
if(ONE.equals(results.getAuditable())){
|
this.auditable = auditable;
|
}
|
}
|
|
public String getSubmitable() {
|
return submitable;
|
}
|
|
public void setSubmitable(String submitable) {
|
this.submitable = submitable;
|
}
|
|
public void setSubmitablel(String submitable,FormsettingEntity results ) {
|
if(ONE.equals(results.getSubmitable())){
|
this.submitable = submitable;
|
}
|
}
|
|
public String getRejectable() {
|
return rejectable;
|
}
|
|
public void setRejectable(String rejectable) {
|
this.rejectable = rejectable;
|
}
|
|
public void setRejectablel(String rejectable,FormsettingEntity results) {
|
if(ONE.equals(results.getRejectable())){
|
this.rejectable = rejectable;
|
}
|
}
|
|
public String getPrintable() {
|
return printable;
|
}
|
|
public void setPrintable(String printable) {
|
this.printable = printable;
|
}
|
|
public String getExportable() {
|
return exportable;
|
}
|
|
public void setExportable(String exportable) {
|
this.exportable = exportable;
|
}
|
|
public String getResourceFilePath() {
|
return resourceFilePath;
|
}
|
|
public void setResourceFilePath(String resourceFilePath) {
|
this.resourceFilePath = resourceFilePath;
|
}
|
|
public CustomButtonExtend getSubCustomButton() {
|
return subCustomButton;
|
}
|
|
public void setSubCustomButton(CustomButtonExtend subCustomButton) {
|
this.subCustomButton = subCustomButton;
|
}
|
|
public String getEditable() {
|
return editable;
|
}
|
|
public void setEditable(String editable) {
|
this.editable = editable;
|
}
|
|
public void setEditablel(String editable,FormsettingEntity results ) {
|
if(ONE.equals(results.getEditable())){
|
this.editable = editable;
|
}
|
}
|
|
public String getDeleteable() {
|
return deleteable;
|
}
|
|
public void setDeleteable(String deleteable) {
|
this.deleteable = deleteable;
|
}
|
|
|
|
}
|