VieweGroupDemo.java
package com.example.entity.demo_4.base_1;
@Entity
@DynamicInsert
@DodoEntity(name = "分组视图", actions = { DodoAction.ALL })
@DodoMenus(
levelOne = @DodoMenu(name = "Demo系统", sortSeq = 7),
levelTwo = @DodoMenu(name = "基础演示", sortSeq = 1),
levelThree = @DodoMenu(name = "分组视图演示", sortSeq = 12)
)
public class VieweGroupDemo extends BaseEntity {
private static final long serialVersionUID = -1353659153582841947L;
@DodoViewGroup(groupSeq = 1, groupName = "第一组")
@DodoField(sortSeq = 1, name = "字段1")
private String field1;
@DodoViewGroup(groupSeq = 1, groupName = "第一组")
@DodoField(sortSeq = 2, name = "字段2")
private String field2;
@DodoViewGroup(groupSeq = 2, groupName = "第二组")
@DodoField(sortSeq = 3, name = "字段3")
private String field3;
@DodoViewGroup(groupSeq = 2, groupName = "第二组")
@DodoField(sortSeq = 4, name = "字段4")
private String field4;
@DodoViewGroup(groupSeq = 3, groupName = "第三组")
@DodoField(sortSeq = 5, name = "字段5")
private String field5;
@Column(length = 8)
public String getField1() {
return field1;
}
public void setField1(String field1) {
this.field1 = field1;
}
@Column(length = 8)
public String getField2() {
return field2;
}
public void setField2(String field2) {
this.field2 = field2;
}
@Column(length = 8)
public String getField3() {
return field3;
}
public void setField3(String field3) {
this.field3 = field3;
}
@Column(length = 8)
public String getField4() {
return field4;
}
public void setField4(String field4) {
this.field4 = field4;
}
@Column(length = 8)
public String getField5() {
return field5;
}
public void setField5(String field5) {
this.field5 = field5;
}
}
当前内容版权归 DodoFramework 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 DodoFramework .