|
|
|
@ -5,6 +5,9 @@ import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
import com.op.common.core.annotation.Excel;
|
|
|
|
|
import com.op.common.core.web.domain.TreeEntity;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 工厂模型对象 sys_factory
|
|
|
|
|
*
|
|
|
|
@ -44,6 +47,11 @@ public class SysFactory extends TreeEntity {
|
|
|
|
|
@Excel(name = "工厂编码")
|
|
|
|
|
private String factoryCode;
|
|
|
|
|
|
|
|
|
|
//虚拟字段
|
|
|
|
|
private List<Map<String,String>> workCenter;
|
|
|
|
|
private String value;
|
|
|
|
|
private String label;
|
|
|
|
|
|
|
|
|
|
public void setFactoryId(Long factoryId) {
|
|
|
|
|
this.factoryId = factoryId;
|
|
|
|
|
}
|
|
|
|
@ -103,6 +111,27 @@ public class SysFactory extends TreeEntity {
|
|
|
|
|
this.factoryCode = factoryCode;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getValue() {
|
|
|
|
|
return value;
|
|
|
|
|
}
|
|
|
|
|
public void setValue(String value) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getLabel() {
|
|
|
|
|
return label;
|
|
|
|
|
}
|
|
|
|
|
public void setLabel(String label) {
|
|
|
|
|
this.label = label;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<Map<String,String>> getWorkCenter() {
|
|
|
|
|
return workCenter;
|
|
|
|
|
}
|
|
|
|
|
public void setWorkCenter(List<Map<String,String>> workCenter) {
|
|
|
|
|
this.workCenter = workCenter;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public String toString() {
|
|
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
@ -120,7 +149,9 @@ public class SysFactory extends TreeEntity {
|
|
|
|
|
.append("createTime", getCreateTime())
|
|
|
|
|
.append("updateBy", getUpdateBy())
|
|
|
|
|
.append("updateTime", getUpdateTime())
|
|
|
|
|
.append("factoryCode", getFactoryCode())
|
|
|
|
|
.toString();
|
|
|
|
|
.append("factoryCode", getFactoryCode())
|
|
|
|
|
.append("value", getValue())
|
|
|
|
|
.append("label", getLabel())
|
|
|
|
|
.toString();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|