mes工位运行状态
parent
6e60bee0dd
commit
3af4d32a97
@ -0,0 +1,47 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||||
|
|
||||||
|
|
||||||
|
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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :配置表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-06-04
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_WORK_CELL_STATUS")
|
||||||
|
@Api("工位运行状态")
|
||||||
|
public class MesWorkCellStatus extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 102975351699481524L;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("产线")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工位")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "TIME_OUT_STATUS")
|
||||||
|
@ApiParam("超时状态")
|
||||||
|
private Integer timeOutStatus;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesWorkCellStatus;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\15 11:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesWorkCellStatusRepository extends BaseRepository<MesWorkCellStatus, Long> {
|
||||||
|
}
|
@ -0,0 +1,47 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.bean;
|
||||||
|
|
||||||
|
|
||||||
|
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.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :配置表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : crish
|
||||||
|
* @CreateDate : 2019-06-04
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_WORK_CELL_STATUS")
|
||||||
|
@Api("工位运行状态")
|
||||||
|
public class MesWorkCellStatus extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 102975351699481524L;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("产线")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工位")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "TIME_OUT_STATUS")
|
||||||
|
@ApiParam("超时状态")
|
||||||
|
private Integer timeOutStatus;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellStatus;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\15 11:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesWorkCellStatusRepository extends BaseRepository<MesWorkCellStatus, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue