package cc.smtweb.system.bpm.web.design.form.define;

/**
 * Created by Akmm at 2022/4/20 18:15
 * 字段信息
 */
public class PageDatasetField extends BaseDatasetField {
    //一般字段
    private final static int TYPE_N = 0;
    //计算字段
    private final static int TYPE_C = 1;

    //合计栏
    public String summary;
    //类型-0-一般字段 1-计算字段
    public int valueType;
    //计算字段公式
    public String expr;

    //字段是否计算字段
    public boolean fieldIsCalc() {
        return TYPE_C == valueType;
    }

}
