package com.qxueyou.scc.sys.model;
|
|
import java.io.Serializable;
|
|
import javax.persistence.Column;
|
import javax.persistence.Entity;
|
import javax.persistence.GeneratedValue;
|
import javax.persistence.Id;
|
import javax.persistence.NamedQuery;
|
import javax.persistence.Table;
|
|
import org.hibernate.annotations.GenericGenerator;
|
|
/**
|
*
|
* @author ody.yuan
|
*
|
*/
|
@Entity
|
@Table(name="sys_config_file")
|
@NamedQuery(name="SysConfigFile.findAll", query="SELECT s FROM SysConfigFile s")
|
public class SysConfigFile implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
public static final String MODULE_TYPE_DOC = "1" ;
|
public static final String MODULE_TYPE_IMG = "2" ;
|
public static final String MODULE_TYPE_VIDEO = "3" ;
|
public static final String MODULE_TYPE_AUDIO = "4" ;
|
public static final String MODULE_TYPE_HTML = "5" ;// html文件
|
|
@Id
|
@GeneratedValue(generator = "hibernate-uuid")
|
@GenericGenerator(name = "hibernate-uuid", strategy = "uuid")
|
@Column(name="CONFIG_ID", unique=true, nullable=false, length=32)
|
private String configId;
|
|
@Column(name="CONFIG_FILE_MODULE", length=64)
|
private String configFileModule;
|
|
@Column(name="CONFIG_FILE_DIRECTION", length=255)
|
private String configFileDirection;
|
|
@Column(name="MODULE_TYPE", length=255)
|
private String moduletype;
|
|
@Column(name="REMARK", length=64)
|
private String remark;
|
|
@Column(name="TABLE_NAME", length=255)
|
private String tableName;
|
|
public SysConfigFile() {
|
}
|
|
public String getConfigId() {
|
return this.configId;
|
}
|
|
public String getConfigFileModule() {
|
return configFileModule;
|
}
|
|
public void setConfigFileModule(String configFileModule) {
|
this.configFileModule = configFileModule;
|
}
|
|
public String getConfigFileDirection() {
|
return configFileDirection;
|
}
|
|
public void setConfigFileDirection(String configFileDirection) {
|
this.configFileDirection = configFileDirection;
|
}
|
|
public void setConfigId(String configId) {
|
this.configId = configId;
|
}
|
|
public String getModuletype() {
|
return moduletype;
|
}
|
|
public void setModuletype(String moduletype) {
|
this.moduletype = moduletype;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public String getTableName() {
|
return tableName;
|
}
|
|
public void setTableName(String tableName) {
|
this.tableName = tableName;
|
}
|
|
|
}
|