eleme.openapi.sdk.api.entity.product.MaterialTree Maven / Gradle / Ivy
package eleme.openapi.sdk.api.entity.product;
import eleme.openapi.sdk.api.enumeration.product.*;
import eleme.openapi.sdk.api.entity.product.*;
import java.util.*;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
public class MaterialTree{
/**
* 原料id
*/
private Long id;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
/**
* 原料名称
*/
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* 原料父id
*/
private Long parentId;
public Long getParentId() {
return parentId;
}
public void setParentId(Long parentId) {
this.parentId = parentId;
}
/**
* 层级
*/
private Integer lev;
public Integer getLev() {
return lev;
}
public void setLev(Integer lev) {
this.lev = lev;
}
/**
* 子原料
*/
private List children;
public List getChildren() {
return children;
}
public void setChildren(List children) {
this.children = children;
}
/**
* 是否叶子节点
*/
private Integer leaf;
public Integer getLeaf() {
return leaf;
}
public void setLeaf(Integer leaf) {
this.leaf = leaf;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy