ActionDemoAll.java

  1. package com.example.entity.demo_4.base_1;
  2. @Entity
  3. @DynamicInsert
  4. // actions = { DodoAction.ALL } = 开启全部功能生成
  5. @DodoEntity(name = "全部Action", actions = { DodoAction.ALL })
  6. @DodoMenus(
  7. levelOne = @DodoMenu(name = "Demo系统", sortSeq = 7),
  8. levelTwo = @DodoMenu(name = "基础演示", sortSeq = 1),
  9. levelThree = @DodoMenu(name = "全部Action演示", sortSeq = 1)
  10. )
  11. public class ActionDemoAll extends BaseEntity {
  12. private static final long serialVersionUID = 7953109081252074508L;
  13. @DodoField(sortSeq = 5, name = "字段5")
  14. private String field5;
  15. @Column(length = 8)
  16. public String getField5() {
  17. return field5;
  18. }
  19. public void setField5(String field5) {
  20. this.field5 = field5;
  21. }
  22. }