parent
6b295aaace
commit
7c647c7844
@ -0,0 +1,63 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.andon.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: yiming.gu
|
||||||
|
* @CreateDate:2019-04-18-14:16
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api("组织模型")
|
||||||
|
public class ProdOrgModel extends BaseBean {
|
||||||
|
|
||||||
|
@ApiParam("区域名称")
|
||||||
|
private String areaName;
|
||||||
|
|
||||||
|
@ApiParam("区域代码")
|
||||||
|
private String areaCode;
|
||||||
|
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@ApiParam("工作中心名称")
|
||||||
|
private String workCenterName;
|
||||||
|
|
||||||
|
@ApiParam("ERP工作中心")
|
||||||
|
private String erpWorkCenter;
|
||||||
|
|
||||||
|
@ApiParam("工作版本")
|
||||||
|
private String workVer;
|
||||||
|
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@ApiParam("工作单元名称")
|
||||||
|
private String workCellName;
|
||||||
|
|
||||||
|
@ApiParam("设备代码")
|
||||||
|
private String equipmentCode;
|
||||||
|
|
||||||
|
@ApiParam("设备名称")
|
||||||
|
private String equipmentName;
|
||||||
|
|
||||||
|
@ApiParam("设备状态")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@ApiParam("当前级")
|
||||||
|
private Integer level;
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.andon;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.andon.bean.MesArea;
|
||||||
|
import cn.estsh.i3plus.pojo.platform.bean.SysOrganize;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
|
||||||
|
import javax.persistence.Transient;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class SysOrganizeModel extends SysOrganize{
|
||||||
|
|
||||||
|
@Transient
|
||||||
|
@ApiParam(value ="子集列表")
|
||||||
|
private List<MesArea> childTreeList;
|
||||||
|
|
||||||
|
public List<MesArea> getChildTreeList() {
|
||||||
|
return childTreeList;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChildTreeList(List<MesArea> childTreeList) {
|
||||||
|
this.childTreeList = childTreeList;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue