@Entity
public class SysSite
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
private @Length(max=50) java.lang.String |
directory
directory
目录
|
private boolean |
disabled |
private @NotNull @Length(max=255) java.lang.String |
dynamicPath
dynamic site url
动态站点地址
|
private java.lang.Short |
id
id
|
private @NotNull @Length(max=50) java.lang.String |
name
name
名称
|
private java.lang.Short |
parentId
parent site id
父站点id
|
private static long |
serialVersionUID |
private @NotNull @Length(max=255) java.lang.String |
sitePath
site url
静态站点地址
|
private boolean |
useSsi
use SSI
启用服务器端包含
|
private boolean |
useStatic
use static
启用静态化
|
构造器和说明 |
---|
SysSite() |
SysSite(java.lang.Short parentId,
java.lang.String directory,
java.lang.String name,
boolean useStatic,
java.lang.String sitePath,
boolean useSsi,
java.lang.String dynamicPath,
boolean disabled) |
SysSite(java.lang.String name,
boolean useStatic,
java.lang.String sitePath,
boolean useSsi,
java.lang.String dynamicPath,
boolean disabled) |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getDirectory() |
java.lang.String |
getDynamicPath() |
java.lang.Short |
getId() |
java.lang.String |
getName() |
java.lang.Short |
getParentId() |
java.lang.String |
getSitePath() |
boolean |
isDisabled() |
boolean |
isUseSsi() |
boolean |
isUseStatic() |
void |
setDirectory(java.lang.String directory) |
void |
setDisabled(boolean disabled) |
void |
setDynamicPath(java.lang.String dynamicPath) |
void |
setId(java.lang.Short id) |
void |
setName(java.lang.String name) |
void |
setParentId(java.lang.Short parentId) |
void |
setSitePath(java.lang.String sitePath) |
void |
setUseSsi(boolean useSsi) |
void |
setUseStatic(boolean useStatic) |
private static final long serialVersionUID
private java.lang.Short id
private java.lang.Short parentId
父站点id
@Length(max=50) private @Length(max=50) java.lang.String directory
目录
@NotNull @Length(max=50) private @NotNull @Length(max=50) java.lang.String name
名称
private boolean useStatic
启用静态化
@NotNull @Length(max=255) private @NotNull @Length(max=255) java.lang.String sitePath
静态站点地址
private boolean useSsi
启用服务器端包含
@NotNull @Length(max=255) private @NotNull @Length(max=255) java.lang.String dynamicPath
动态站点地址
private boolean disabled
public SysSite()
public SysSite(java.lang.String name, boolean useStatic, java.lang.String sitePath, boolean useSsi, java.lang.String dynamicPath, boolean disabled)
public SysSite(java.lang.Short parentId, java.lang.String directory, java.lang.String name, boolean useStatic, java.lang.String sitePath, boolean useSsi, java.lang.String dynamicPath, boolean disabled)
public java.lang.Short getId()
public void setId(java.lang.Short id)
public java.lang.Short getParentId()
public void setParentId(java.lang.Short parentId)
public java.lang.String getDirectory()
public void setDirectory(java.lang.String directory)
public java.lang.String getName()
public void setName(java.lang.String name)
public boolean isUseStatic()
public void setUseStatic(boolean useStatic)
public java.lang.String getSitePath()
public void setSitePath(java.lang.String sitePath)
public boolean isUseSsi()
public void setUseSsi(boolean useSsi)
public java.lang.String getDynamicPath()
public void setDynamicPath(java.lang.String dynamicPath)
public boolean isDisabled()
public void setDisabled(boolean disabled)