文档类别 系统中自带有 file、article、image、video 等
| Type | Name and description |
|---|---|
static Object |
belongsTo(暂未使用)上极类别 |
String |
code编码 |
static Object |
constraints |
String |
controller控制器名 |
String |
fullName(暂未使用)全名 |
static Object |
hasMany(暂未使用)下级类别 |
static Object |
mapping |
String |
name名称 |
String |
notes备注 |
String |
viewPath视图路径 |
| Type | Name and description |
|---|---|
Object |
beforeInsert() |
Object |
beforeUpdate() |
String |
toString() |
| Methods inherited from class | Name |
|---|---|
class Object |
Object#wait(long, int), Object#wait(long), Object#wait(), Object#equals(Object), Object#toString(), Object#hashCode(), Object#getClass(), Object#notify(), Object#notifyAll() |
(暂未使用)上极类别
编码
唯一的英文标识,用于自定义模板等
控制器名
对于文件、文章,默认为 cmsFile 和 cmsArticle,且会存在一些相关的硬编码以提升性能。
如果有流程,则自动在后面添加流程后缀 “Process”。
(暂未使用)全名
(暂未使用)下级类别
名称
备注
视图路径
如果调用通用的 cmsFolder 控制器的 listContent/showContent 操作,可以指定自定义的视图路径。