ActionDemoViewAdd.java
package com.example.entity.demo_4.base_1;
@Entity
@DynamicInsert
// actions = {DodoAction.ADD, DodoAction.VIEW } = 生成查看、添加功能
@DodoEntity(name = "部分Action(查看和添加)", actions = { DodoAction.ADD, DodoAction.VIEW })
@DodoMenus(
levelOne = @DodoMenu(name = "Demo系统", sortSeq = 7),
levelTwo = @DodoMenu(name = "基础演示", sortSeq = 1),
levelThree = @DodoMenu(name = "部分Action(查看和添加)演示", sortSeq = 2)
)
public class ActionDemoViewAdd extends BaseEntity {
private static final long serialVersionUID = 7953109081252074508L;
@DodoField(sortSeq = 5, name = "字段5")
private String field5;
@Column(length = 8)
public String getField5() {
return field5;
}
public void setField5(String field5) {
this.field5 = field5;
}
}
当前内容版权归 DodoFramework 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 DodoFramework .