文件名从 lxzn-module-eam-common/src/main/java/org/jeecg/modules/eam/base/model/WorkShopIdModel.java 修改 |
| | |
| | | package org.jeecg.modules.eam.base.model; |
| | | package org.jeecg.modules.system.model; |
| | | |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | | import org.jeecg.modules.eam.base.entity.BaseFactory; |
| | | import org.jeecg.modules.system.entity.BaseFactory; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.ArrayList; |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | public class WorkShopIdModel implements Serializable { |
| | | public class EamBaseFactoryIdModel implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 6403075134223338239L; |
| | | |
| | |
| | | */ |
| | | private Boolean selectable = true; |
| | | |
| | | List<WorkShopIdModel> children = new ArrayList<>(); |
| | | List<EamBaseFactoryIdModel> children = new ArrayList<>(); |
| | | |
| | | /** |
| | | * 灏咵amBaseFactoryTreeModel鐨勯儴鍒嗘暟鎹斁鍦ㄨ瀵硅薄褰撲腑 |
| | |
| | | * @param treeModel |
| | | * @return |
| | | */ |
| | | public WorkShopIdModel convert(EamBaseFactoryTreeModel treeModel) { |
| | | public EamBaseFactoryIdModel convert(EamBaseFactoryTreeModel treeModel) { |
| | | this.key = treeModel.getId(); |
| | | this.value = treeModel.getId(); |
| | | this.title = treeModel.getFactoryName(); |
| | |
| | | * |
| | | * @return |
| | | */ |
| | | public WorkShopIdModel convertByUserProduction(BaseFactory BaseFactory) { |
| | | public EamBaseFactoryIdModel convertByUserProduction(BaseFactory BaseFactory) { |
| | | this.key = BaseFactory.getId(); |
| | | this.value = BaseFactory.getId(); |
| | | this.title = BaseFactory.getFactoryName(); |