Merge branch 'dev' into test
commit
2ed8ebdbd7
@ -0,0 +1,64 @@
|
||||
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 javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description :设备作业要求
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_EQU_TASK_STANDARD")
|
||||
@Api("设备作业要求")
|
||||
public class MesEquTaskStandard extends BaseBean {
|
||||
@Column(name="EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name="EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name="TASK_TYPE")
|
||||
@ApiParam("作业类型")
|
||||
private Integer taskType;
|
||||
|
||||
@Column(name="ACTION_ITEM")
|
||||
@ApiParam("操作项")
|
||||
private String actionItem;
|
||||
|
||||
@Column(name="ACTION_STANDARD")
|
||||
@ApiParam("操作标准")
|
||||
private String actionStandard;
|
||||
|
||||
@Column(name="ACTION_GUIDE")
|
||||
@ApiParam("操作指导")
|
||||
private String actionGuide;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value="生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value="设备类别")
|
||||
private String equipmentCategory;
|
||||
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class MesEquTaskStandardModel implements Serializable {
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@ApiParam("作业类型")
|
||||
private Integer taskType;
|
||||
|
||||
@ApiParam("操作项")
|
||||
private Integer actionItem;
|
||||
|
||||
@ApiParam("操作标准")
|
||||
private String actionStandard;
|
||||
|
||||
@ApiParam("操作指导")
|
||||
private String actionGuide;
|
||||
|
||||
@ApiParam("生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam(value ="组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value = "有效性")
|
||||
public Integer isValid;
|
||||
|
||||
@ApiParam(value = "是否已删除")
|
||||
public Integer isDeleted;
|
||||
|
||||
@ApiParam(value = "创建用户")
|
||||
public String createUser;
|
||||
|
||||
@ApiParam(value = "创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam(value = "修改人")
|
||||
public String modifyUser;
|
||||
|
||||
@ApiParam(value = "修改日期")
|
||||
public String modifyDatetime;
|
||||
|
||||
|
||||
public MesEquTaskStandardModel() {
|
||||
|
||||
}
|
||||
|
||||
public MesEquTaskStandardModel(Long id, String equipmentCode, String equipmentName, Integer taskType, Integer actionItem, String actionStandard, String actionGuide, String workCenterCode, String organizeCode, Integer isValid, Integer isDeleted, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
|
||||
this.id = id;
|
||||
this.equipmentCode = equipmentCode;
|
||||
this.equipmentName = equipmentName;
|
||||
this.taskType = taskType;
|
||||
this.actionItem = actionItem;
|
||||
this.actionStandard = actionStandard;
|
||||
this.actionGuide = actionGuide;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.organizeCode = organizeCode;
|
||||
this.isValid = isValid;
|
||||
this.isDeleted = isDeleted;
|
||||
this.createUser = createUser;
|
||||
this.createDatetime = createDatetime;
|
||||
this.modifyUser = modifyUser;
|
||||
this.modifyDatetime = modifyDatetime;
|
||||
}
|
||||
}
|
@ -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.MesEquTaskStandard;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : 王杰
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquTaskStandardRepository extends BaseRepository<MesEquTaskStandard, Long> {
|
||||
}
|
Loading…
Reference in New Issue