package cc.smtweb.framework.core.mvc.variable;

import lombok.Data;

/**
 * Created by Akmm at 2022/5/12 9:11
 * 变量定义信息
 */
@Data
public class SwVariable {
    //变量名
    private String name;
    //中文标题
    private String label;
    //描述
    private String remark;
    //计算值的方法
    private ICalcVar calcVar;

    public SwVariable(String name, String label, String remark, ICalcVar calcVar) {
        this.name = name;
        this.label = label;
        this.remark = remark;
        this.calcVar = calcVar;
    }
}
