|
package com.ekexiu.console.system.po;
import org.jfw.apt.orm.annotation.entry.Column;
import org.jfw.apt.orm.annotation.entry.PrimaryKey;
import org.jfw.apt.orm.annotation.entry.Table;
import org.jfw.apt.orm.core.enums.DE;
@PrimaryKey("code")
@Table
public class Dict {
private String code;
private String caption;
private String descp;
private boolean tree;
private boolean readonly;
private String item;
@Column(DE.string_de)
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
@Column(DE.string_de)
public String getCaption() {
return caption;
}
public void setCaption(String caption) {
this.caption = caption;
}
@Column(DE.Text_de)
public String getDescp() {
return descp;
}
public void setDescp(String descp) {
this.descp = descp;
}
@Column(DE.boolean_de)
public boolean isReadonly() {
return readonly;
}
public void setReadonly(boolean readonly) {
this.readonly = readonly;
}
@Column(value=DE.Text_de,renewable=false)
public String getItem() {
return item;
}
public void setItem(String item) {
this.item = item;
}
@Column(DE.boolean_de)
public boolean isTree() {
return tree;
}
public void setTree(boolean tree) {
this.tree = tree;
}
}
|