|
@@ -7,144 +7,187 @@ import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
|
|
/**
|
|
|
* 动态格对象 drag_table
|
|
|
- *
|
|
|
+ *
|
|
|
* @author ruoyi
|
|
|
* @date 2023-07-31
|
|
|
*/
|
|
|
-public class DragTable extends BaseEntity
|
|
|
-{
|
|
|
+public class DragTable extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- /** 表格主键 */
|
|
|
+ /**
|
|
|
+ * 表格主键
|
|
|
+ */
|
|
|
private Long tId;
|
|
|
|
|
|
- /** 表格名称 */
|
|
|
+ /**
|
|
|
+ * 表格名称
|
|
|
+ */
|
|
|
@Excel(name = "表格名称")
|
|
|
private String dtName;
|
|
|
|
|
|
- /** 表格别名 */
|
|
|
+ /**
|
|
|
+ * 表格别名
|
|
|
+ */
|
|
|
@Excel(name = "表格别名")
|
|
|
private String dtNickname;
|
|
|
|
|
|
- /** table编号 */
|
|
|
+ /**
|
|
|
+ * table编号
|
|
|
+ */
|
|
|
@Excel(name = "table编号")
|
|
|
private String tableKey;
|
|
|
|
|
|
- /** sql编号 */
|
|
|
+ /**
|
|
|
+ * sql编号
|
|
|
+ */
|
|
|
@Excel(name = "sql编号")
|
|
|
private String sqlKey;
|
|
|
|
|
|
- /** 绑定表名称 */
|
|
|
+ /**
|
|
|
+ * 绑定表名称
|
|
|
+ */
|
|
|
@Excel(name = "绑定表名称")
|
|
|
private String dtTableName;
|
|
|
|
|
|
- /** 表格描述 */
|
|
|
+ /**
|
|
|
+ * 表格描述
|
|
|
+ */
|
|
|
@Excel(name = "表格描述")
|
|
|
private String dtNotes;
|
|
|
|
|
|
- /** 列字段标题名称 */
|
|
|
+ /**
|
|
|
+ * 列字段标题名称
|
|
|
+ */
|
|
|
@Excel(name = "列字段标题名称")
|
|
|
private String dtColumnName;
|
|
|
|
|
|
- /** 时间格式 */
|
|
|
+ /**
|
|
|
+ * 时间格式
|
|
|
+ */
|
|
|
@Excel(name = "时间格式")
|
|
|
private String timeFormat;
|
|
|
|
|
|
- /** 备用列 */
|
|
|
+ /**
|
|
|
+ * 备用列
|
|
|
+ */
|
|
|
@Excel(name = "备用列")
|
|
|
private String spare;
|
|
|
|
|
|
- /** 备用列 */
|
|
|
+ /**
|
|
|
+ * 备用列
|
|
|
+ */
|
|
|
@Excel(name = "备用列")
|
|
|
private String spare1;
|
|
|
|
|
|
- /** 逻辑删除 */
|
|
|
+ /**
|
|
|
+ * 逻辑删除
|
|
|
+ */
|
|
|
private String delFlag;
|
|
|
|
|
|
- /** 是否显示列表复选框(0:显示;1;不显示) */
|
|
|
+ /**
|
|
|
+ * 是否显示列表复选框(0:显示;1;不显示)
|
|
|
+ */
|
|
|
private String isSelection;
|
|
|
|
|
|
- /** 回显数据(前端修改回显数据使用) */
|
|
|
+ /**
|
|
|
+ * 回显数据(前端修改回显数据使用)
|
|
|
+ */
|
|
|
private String echoData;
|
|
|
|
|
|
- /** 菜单编号 */
|
|
|
+ /**
|
|
|
+ * 菜单编号
|
|
|
+ */
|
|
|
private Long menuId;
|
|
|
|
|
|
- public void settId(Long tId)
|
|
|
- {
|
|
|
- this.tId = tId;
|
|
|
+ /**
|
|
|
+ * 当前表单的唯一标识,修改删除使用
|
|
|
+ */
|
|
|
+ private String primaryKey;
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "DragTable{" +
|
|
|
+ "tId=" + tId +
|
|
|
+ ", dtName='" + dtName + '\'' +
|
|
|
+ ", dtNickname='" + dtNickname + '\'' +
|
|
|
+ ", tableKey='" + tableKey + '\'' +
|
|
|
+ ", sqlKey='" + sqlKey + '\'' +
|
|
|
+ ", dtTableName='" + dtTableName + '\'' +
|
|
|
+ ", dtNotes='" + dtNotes + '\'' +
|
|
|
+ ", dtColumnName='" + dtColumnName + '\'' +
|
|
|
+ ", timeFormat='" + timeFormat + '\'' +
|
|
|
+ ", spare='" + spare + '\'' +
|
|
|
+ ", spare1='" + spare1 + '\'' +
|
|
|
+ ", delFlag='" + delFlag + '\'' +
|
|
|
+ ", isSelection='" + isSelection + '\'' +
|
|
|
+ ", echoData='" + echoData + '\'' +
|
|
|
+ ", menuId=" + menuId +
|
|
|
+ ", primaryKey='" + primaryKey + '\'' +
|
|
|
+ '}';
|
|
|
}
|
|
|
|
|
|
- public Long gettId()
|
|
|
- {
|
|
|
+ public Long gettId() {
|
|
|
return tId;
|
|
|
}
|
|
|
- public void setDtName(String dtName)
|
|
|
- {
|
|
|
- this.dtName = dtName;
|
|
|
+
|
|
|
+ public void settId(Long tId) {
|
|
|
+ this.tId = tId;
|
|
|
}
|
|
|
|
|
|
- public String getDtName()
|
|
|
- {
|
|
|
+ public String getDtName() {
|
|
|
return dtName;
|
|
|
}
|
|
|
- public void setDtNickname(String dtNickname)
|
|
|
- {
|
|
|
- this.dtNickname = dtNickname;
|
|
|
+
|
|
|
+ public void setDtName(String dtName) {
|
|
|
+ this.dtName = dtName;
|
|
|
}
|
|
|
|
|
|
- public String getDtNickname()
|
|
|
- {
|
|
|
+ public String getDtNickname() {
|
|
|
return dtNickname;
|
|
|
}
|
|
|
- public void setTableKey(String tableKey)
|
|
|
- {
|
|
|
- this.tableKey = tableKey;
|
|
|
+
|
|
|
+ public void setDtNickname(String dtNickname) {
|
|
|
+ this.dtNickname = dtNickname;
|
|
|
}
|
|
|
|
|
|
- public String getTableKey()
|
|
|
- {
|
|
|
+ public String getTableKey() {
|
|
|
return tableKey;
|
|
|
}
|
|
|
- public void setSqlKey(String sqlKey)
|
|
|
- {
|
|
|
- this.sqlKey = sqlKey;
|
|
|
+
|
|
|
+ public void setTableKey(String tableKey) {
|
|
|
+ this.tableKey = tableKey;
|
|
|
}
|
|
|
|
|
|
- public String getSqlKey()
|
|
|
- {
|
|
|
+ public String getSqlKey() {
|
|
|
return sqlKey;
|
|
|
}
|
|
|
- public void setDtTableName(String dtTableName)
|
|
|
- {
|
|
|
- this.dtTableName = dtTableName;
|
|
|
+
|
|
|
+ public void setSqlKey(String sqlKey) {
|
|
|
+ this.sqlKey = sqlKey;
|
|
|
}
|
|
|
|
|
|
- public String getDtTableName()
|
|
|
- {
|
|
|
+ public String getDtTableName() {
|
|
|
return dtTableName;
|
|
|
}
|
|
|
- public void setDtNotes(String dtNotes)
|
|
|
- {
|
|
|
- this.dtNotes = dtNotes;
|
|
|
+
|
|
|
+ public void setDtTableName(String dtTableName) {
|
|
|
+ this.dtTableName = dtTableName;
|
|
|
}
|
|
|
|
|
|
- public String getDtNotes()
|
|
|
- {
|
|
|
+ public String getDtNotes() {
|
|
|
return dtNotes;
|
|
|
}
|
|
|
- public void setDtColumnName(String dtColumnName)
|
|
|
- {
|
|
|
- this.dtColumnName = dtColumnName;
|
|
|
+
|
|
|
+ public void setDtNotes(String dtNotes) {
|
|
|
+ this.dtNotes = dtNotes;
|
|
|
}
|
|
|
|
|
|
- public String getDtColumnName()
|
|
|
- {
|
|
|
+ public String getDtColumnName() {
|
|
|
return dtColumnName;
|
|
|
}
|
|
|
- public void setSpare(String spare)
|
|
|
- {
|
|
|
- this.spare = spare;
|
|
|
+
|
|
|
+ public void setDtColumnName(String dtColumnName) {
|
|
|
+ this.dtColumnName = dtColumnName;
|
|
|
}
|
|
|
|
|
|
public String getTimeFormat() {
|
|
@@ -155,29 +198,30 @@ public class DragTable extends BaseEntity
|
|
|
this.timeFormat = timeFormat;
|
|
|
}
|
|
|
|
|
|
- public String getSpare()
|
|
|
- {
|
|
|
+ public String getSpare() {
|
|
|
return spare;
|
|
|
}
|
|
|
- public void setSpare1(String spare1)
|
|
|
- {
|
|
|
- this.spare1 = spare1;
|
|
|
+
|
|
|
+ public void setSpare(String spare) {
|
|
|
+ this.spare = spare;
|
|
|
}
|
|
|
|
|
|
- public String getSpare1()
|
|
|
- {
|
|
|
+ public String getSpare1() {
|
|
|
return spare1;
|
|
|
}
|
|
|
- public void setDelFlag(String delFlag)
|
|
|
- {
|
|
|
- this.delFlag = delFlag;
|
|
|
+
|
|
|
+ public void setSpare1(String spare1) {
|
|
|
+ this.spare1 = spare1;
|
|
|
}
|
|
|
|
|
|
- public String getDelFlag()
|
|
|
- {
|
|
|
+ public String getDelFlag() {
|
|
|
return delFlag;
|
|
|
}
|
|
|
|
|
|
+ public void setDelFlag(String delFlag) {
|
|
|
+ this.delFlag = delFlag;
|
|
|
+ }
|
|
|
+
|
|
|
public String getIsSelection() {
|
|
|
return isSelection;
|
|
|
}
|
|
@@ -202,28 +246,34 @@ public class DragTable extends BaseEntity
|
|
|
this.menuId = menuId;
|
|
|
}
|
|
|
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
- .append("tId", gettId())
|
|
|
- .append("dtName", getDtName())
|
|
|
- .append("dtNickname", getDtNickname())
|
|
|
- .append("tableKey", getTableKey())
|
|
|
- .append("sqlKey", getSqlKey())
|
|
|
- .append("dtTableName", getDtTableName())
|
|
|
- .append("dtNotes", getDtNotes())
|
|
|
- .append("dtColumnName", getDtColumnName())
|
|
|
- .append("timeFormat",getTimeFormat())
|
|
|
- .append("spare", getSpare())
|
|
|
- .append("spare1", getSpare1())
|
|
|
- .append("delFlag", getDelFlag())
|
|
|
- .append("createBy", getCreateBy())
|
|
|
- .append("createTime", getCreateTime())
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
- .append("isSelection", getIsSelection())
|
|
|
- .append("echoData",getEchoData())
|
|
|
- .append("menuId",getMenuId())
|
|
|
- .toString();
|
|
|
+ public String getPrimaryKey() {
|
|
|
+ return primaryKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPrimaryKey(String primaryKey) {
|
|
|
+ this.primaryKey = primaryKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public DragTable() {
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ public DragTable(Long tId, String dtName, String dtNickname, String tableKey, String sqlKey, String dtTableName, String dtNotes, String dtColumnName, String timeFormat, String spare, String spare1, String delFlag, String isSelection, String echoData, Long menuId, String primaryKey) {
|
|
|
+ this.tId = tId;
|
|
|
+ this.dtName = dtName;
|
|
|
+ this.dtNickname = dtNickname;
|
|
|
+ this.tableKey = tableKey;
|
|
|
+ this.sqlKey = sqlKey;
|
|
|
+ this.dtTableName = dtTableName;
|
|
|
+ this.dtNotes = dtNotes;
|
|
|
+ this.dtColumnName = dtColumnName;
|
|
|
+ this.timeFormat = timeFormat;
|
|
|
+ this.spare = spare;
|
|
|
+ this.spare1 = spare1;
|
|
|
+ this.delFlag = delFlag;
|
|
|
+ this.isSelection = isSelection;
|
|
|
+ this.echoData = echoData;
|
|
|
+ this.menuId = menuId;
|
|
|
+ this.primaryKey = primaryKey;
|
|
|
}
|
|
|
}
|