forked from snakerflow/snaker-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32f6c06
commit 42ee3fd
Showing
56 changed files
with
1,319 additions
and
1,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...amework/dictionary/dao/DictionaryDao.java → ...w/framework/config/dao/DictionaryDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/com/snakerflow/framework/config/dao/FieldDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.snakerflow.framework.config.dao; | ||
|
||
|
||
import com.snakerflow.framework.config.entity.Field; | ||
import com.snakerflow.framework.orm.hibernate.HibernateDao; | ||
import org.springframework.stereotype.Component; | ||
|
||
/** | ||
* 表单字段持久化类 | ||
* @author yuqs | ||
* @since 0.1 | ||
*/ | ||
@Component | ||
public class FieldDao extends HibernateDao<Field, Long> { | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/snakerflow/framework/config/dao/FormDao.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.snakerflow.framework.config.dao; | ||
|
||
import com.snakerflow.framework.config.entity.Form; | ||
import com.snakerflow.framework.orm.hibernate.HibernateDao; | ||
import org.springframework.stereotype.Component; | ||
|
||
/** | ||
* 表单持久化类 | ||
* @author yuqs | ||
* @since 0.1 | ||
*/ | ||
@Component | ||
public class FormDao extends HibernateDao<Form, Long> { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...k/dictionary/entity/DictionaryEntity.java → ...ework/config/entity/DictionaryEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ork/dictionary/entity/DictionaryItem.java → ...amework/config/entity/DictionaryItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
89 changes: 89 additions & 0 deletions
89
src/main/java/com/snakerflow/framework/config/entity/Field.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
package com.snakerflow.framework.config.entity; | ||
|
||
import javax.persistence.*; | ||
import java.io.Serializable; | ||
|
||
/** | ||
* 表单字段实体类 | ||
* @author yuqs | ||
* @since 0.1 | ||
*/ | ||
@Entity | ||
@Table(name = "DF_FIELD") | ||
public class Field implements Serializable { | ||
private static final long serialVersionUID = -1; | ||
public static final String FLOW = "1"; | ||
private long id; | ||
private String name; | ||
private String plugins; | ||
private String title; | ||
private String type; | ||
private String flow; | ||
private String tableName; | ||
private long formId = 0; | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.AUTO) | ||
public long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getPlugins() { | ||
return plugins; | ||
} | ||
|
||
public void setPlugins(String plugins) { | ||
this.plugins = plugins; | ||
} | ||
|
||
public String getTitle() { | ||
return title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public String getFlow() { | ||
return flow; | ||
} | ||
|
||
public void setFlow(String flow) { | ||
this.flow = flow; | ||
} | ||
|
||
public String getTableName() { | ||
return tableName; | ||
} | ||
|
||
public void setTableName(String tableName) { | ||
this.tableName = tableName; | ||
} | ||
|
||
public long getFormId() { | ||
return formId; | ||
} | ||
|
||
public void setFormId(long formId) { | ||
this.formId = formId; | ||
} | ||
} |
97 changes: 97 additions & 0 deletions
97
src/main/java/com/snakerflow/framework/config/entity/Form.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
package com.snakerflow.framework.config.entity; | ||
|
||
import javax.persistence.*; | ||
import java.io.Serializable; | ||
|
||
/** | ||
* 表单实体类 | ||
* @author yuqs | ||
* @since 0.1 | ||
*/ | ||
@Entity | ||
@Table(name = "DF_FORM") | ||
public class Form implements Serializable { | ||
private static final long serialVersionUID = -1; | ||
private long id; | ||
private String name; | ||
private String displayName; | ||
private String type; | ||
private String creator; | ||
private String createTime; | ||
private String originalHtml; | ||
private String parseHtml; | ||
private int fieldNum = 0; | ||
@Id | ||
@GeneratedValue(strategy = GenerationType.AUTO) | ||
public long getId() { | ||
return id; | ||
} | ||
|
||
public void setId(long id) { | ||
this.id = id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getDisplayName() { | ||
return displayName; | ||
} | ||
|
||
public void setDisplayName(String displayName) { | ||
this.displayName = displayName; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public String getCreator() { | ||
return creator; | ||
} | ||
|
||
public void setCreator(String creator) { | ||
this.creator = creator; | ||
} | ||
|
||
public String getCreateTime() { | ||
return createTime; | ||
} | ||
|
||
public void setCreateTime(String createTime) { | ||
this.createTime = createTime; | ||
} | ||
|
||
public String getOriginalHtml() { | ||
return originalHtml; | ||
} | ||
|
||
public void setOriginalHtml(String originalHtml) { | ||
this.originalHtml = originalHtml; | ||
} | ||
|
||
public String getParseHtml() { | ||
return parseHtml; | ||
} | ||
|
||
public void setParseHtml(String parseHtml) { | ||
this.parseHtml = parseHtml; | ||
} | ||
|
||
public int getFieldNum() { | ||
return fieldNum; | ||
} | ||
|
||
public void setFieldNum(int fieldNum) { | ||
this.fieldNum = fieldNum; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.