ActionDemoViewAdd.java

@Entity
@DynamicInsert
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@DodoMenu(name = "Demo系统", level = DodoMenuLevel.LEVEL1, sortSeq = 7)
@DodoMenu(name = "基础演示", level = DodoMenuLevel.LEVEL2, sortSeq = 1)
@DodoMenu(name = "部分Action(查看和添加)演示", level = DodoMenuLevel.LEVEL3, sortSeq = 2)
@DodoRight(name = "部分Action(查看和添加)")
// actions = {DodoAction.ADD, DodoAction.VIEW } = 生成查看、添加功能
@DodoCodeGenerator(daoGenerator = @DodoDaoGenerator, srvGenerator = @DodoSrvGenerator, actGenerator = @DodoActionGenerator(actions = {
        DodoAction.ADD, DodoAction.VIEW }))
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 © Dodo Framework 2019 all right reservedModify At: 2019-12-23 14:55:25