|
@@ -69,12 +69,25 @@ public class GenTableColumn extends BaseEntity
|
|
|
/** 显示类型(input文本框、textarea文本域、select下拉框、checkbox复选框、radio单选框、datetime日期控件、image图片上传控件、upload文件上传控件、editor富文本控件) */
|
|
|
private String htmlType;
|
|
|
|
|
|
+ /**
|
|
|
+ * 外键(表明该表哪个字段是外键,取值id)
|
|
|
+ */
|
|
|
+ private String foreignKey;
|
|
|
+
|
|
|
/** 字典类型 */
|
|
|
private String dictType;
|
|
|
|
|
|
/** 排序 */
|
|
|
private Integer sort;
|
|
|
|
|
|
+ public String getForeignKey() {
|
|
|
+ return foreignKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setForeignKey(String foreignKey) {
|
|
|
+ this.foreignKey = foreignKey;
|
|
|
+ }
|
|
|
+
|
|
|
public void setColumnId(Long columnId)
|
|
|
{
|
|
|
this.columnId = columnId;
|