📄 column.java
字号:
package cn.myapps.core.dynaform.view.ejb;
import cn.myapps.base.dao.ValueObject;
/**
* @hibernate.class table="T_COLUMN"
*
* @author nicholas
*/
public class Column extends ValueObject {
public static final String COLUMN_TYPE_SCRIPT = "COLUMN_TYPE_SCRIPT";
public static final String COLUMN_TYPE_FIELD = "COLUMN_TYPE_FIELD";
private String id;
private String name;
private String width;
private String valueScript;
private View view;
private String type = COLUMN_TYPE_FIELD;
private String formid;
private String fieldName;
private int orderno; // 排序
/**
* @hibernate.property column="ORDERNO"
* @return
*/
public int getOrderno() {
return orderno;
}
public void setOrderno(int orderno) {
this.orderno = orderno;
}
/**
* @hibernate.id column="ID" generator-class="assigned"
*/
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
/**
* @hibernate.property column="VALUESCRIPT" type="text"
* @return
*/
public String getValueScript() {
return valueScript;
}
public void setValueScript(String valueScript) {
this.valueScript = valueScript;
}
/**
* @hibernate.property column="WIDTH"
* @return
*/
public String getWidth() {
return width;
}
public void setWidth(String width) {
this.width = width;
}
/**
* @hibernate.many-to-one column="VIEW_ID"
* class="cn.myapps.core.dynaform.view.ejb.View"
*
* @param studentClass
*/
public View getView() {
return view;
}
public void setView(View view) {
this.view = view;
}
/**
* @hibernate.property column="NAME"
* @return
*/
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* @hibernate.property
* column="CTYPE"
*/
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
/**
* @hibernate.property
* column="FIELDNAME"
*/
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
/**
* @hibernate.property
* column="FORMID"
*/
public String getFormid() {
return formid;
}
public void setFormid(String formid) {
this.formid = formid;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -