mes设备周期计划
parent
88754f9a71
commit
9cc89f9397
@ -0,0 +1,68 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :设备作业任务
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_EQU_TASK")
|
||||
@Api("设备作业任务")
|
||||
public class MesEquTask extends BaseBean {
|
||||
|
||||
@Column(name="TASK_NO")
|
||||
@ApiParam("作业任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name="TASK_TYPE")
|
||||
@ApiParam("作业类型")
|
||||
private Integer taskType;
|
||||
|
||||
@Column(name="TASK_STATUS")
|
||||
@ApiParam("作业状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam(value="生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="PLAN_TIME")
|
||||
@ApiParam("计划日期")
|
||||
private String planTime;
|
||||
|
||||
@Column(name="TASK_SOURCE")
|
||||
@ApiParam("任务来源")
|
||||
private Integer taskSource;
|
||||
|
||||
@Column(name="MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Column(name="NOTIFY_FLAG")
|
||||
@ApiParam("通知标识")
|
||||
private Integer notifyFlag;
|
||||
|
||||
@Column(name="RELATE_TASK")
|
||||
@ApiParam("关联任务")
|
||||
private String relateTask;
|
||||
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :设备作业任务明细
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_EQU_TASK_DETAIL")
|
||||
@Api("设备作业任务明细")
|
||||
public class MesEquTaskDetail extends BaseBean {
|
||||
|
||||
@Column(name="TASK_NO")
|
||||
@ApiParam("作业任务编号")
|
||||
private String taskNo;
|
||||
|
||||
@Column(name="EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name="EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name="ACTION_STATUS")
|
||||
@ApiParam("执行状态")
|
||||
private Integer actionStatus;
|
||||
|
||||
@Column(name="FINAL_RESULT")
|
||||
@ApiParam("整体结果")
|
||||
private Integer finalResult;
|
||||
|
||||
@Column(name="MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Column(name="REPAIR_FLAG")
|
||||
@ApiParam("维修标识")
|
||||
private Integer repairFlag;
|
||||
|
||||
|
||||
}
|
@ -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.MesEquTaskDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquTaskDetailRepository extends BaseRepository<MesEquTaskDetail, Long> {
|
||||
}
|
@ -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.MesEquTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquTaskRepository extends BaseRepository<MesEquTask, Long> {
|
||||
}
|
Loading…
Reference in New Issue