47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
|
|
package com.engine.salary.entity.formula;
|
||
|
|
|
||
|
|
import com.engine.salary.entity.datacollection.DataCollectionEmployee;
|
||
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||
|
|
import com.weaver.excel.formula.api.entity.ExpressFormulaSourceLink;
|
||
|
|
import com.weaver.excel.formula.api.entity.FormulaVar;
|
||
|
|
import lombok.Data;
|
||
|
|
|
||
|
|
import java.util.Date;
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
@Data
|
||
|
|
public class ExpressFormula {
|
||
|
|
@JsonSerialize(
|
||
|
|
using = ToStringSerializer.class
|
||
|
|
)
|
||
|
|
private Long id;
|
||
|
|
//名称
|
||
|
|
private String name;
|
||
|
|
private String module;
|
||
|
|
private String parameter;
|
||
|
|
private Long userId;
|
||
|
|
private Integer status;
|
||
|
|
private String msgFormula;
|
||
|
|
private String msgParameter;
|
||
|
|
private Date addTime;
|
||
|
|
private Date lastUpdate;
|
||
|
|
private Integer isDelete;
|
||
|
|
private Long formId;
|
||
|
|
private int type;
|
||
|
|
private String tenantKey;
|
||
|
|
private DataCollectionEmployee creator;
|
||
|
|
private List<ExpressFormulaSourceLink> sourceLinks;
|
||
|
|
//引用类型
|
||
|
|
private String referenceType;
|
||
|
|
//返回类型
|
||
|
|
private String returnType;
|
||
|
|
//公式内容
|
||
|
|
private String formula;
|
||
|
|
private boolean showInLibrary;
|
||
|
|
private String codeFormula;
|
||
|
|
private String msgCodeFormula;
|
||
|
|
private List<FormulaVar> parameters;
|
||
|
|
private List<FormulaVar> msgParameters;
|
||
|
|
}
|