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;
    }
}
Copyright © DodoFramework 2020 all right reservedModify At: 2020-08-13 16:15:16