package com.changhong.epc.bean.count; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class MeInfo { /** * 主数据定义code */ private String mdCode; /** * 主数据元素code */ private String meCode; /** * 主数据定义名称 */ private String mdName; /** * 主数据元素名称 */ private String meName; /** * 常量值 */ private String meValue; /** * 比较运算符 */ private String compareSign; /** * 被赋值主数据定义code */ private String leftMdCode; /** * 被赋值主数据元素code */ private String leftMeCode; /** * 字段名 */ private String fieldName; public MeInfo(String mdCode, String meCode) { super(); this.mdCode = mdCode; this.meCode = meCode; this.leftMdCode = mdCode; this.leftMeCode = meCode; } public MeInfo(String mdCode, String meCode, String meValue) { super(); this.mdCode = mdCode; this.meCode = meCode; this.meValue = meValue; } public static MeInfo of(String leftMeCode, String meValue){ MeInfo m = new MeInfo(); m.setLeftMeCode(leftMeCode); m.setMeValue(meValue); return m; } }