知识库 ,自处理开发
parent
9f9874902d
commit
0fdabe4950
@ -0,0 +1,65 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseModelBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.AndonEnumUtil;
|
||||
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: Crish
|
||||
* @CreateDate:2019-10-19-14:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_DISPOSAL_MAINTEN_CFG")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("Andon自处理维护配置")
|
||||
public class AndonDisposalMaintenCfg extends BaseBean {
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@AnnoOutputColumn(refClass = AndonEnumUtil.ALARM_TYPE.class,refForeignKey = "value",value = "description")
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "AC_CODE")
|
||||
@ApiParam(value = "呼叫原因代码")
|
||||
private String acCode;
|
||||
|
||||
@Column(name = "EM_CODE")
|
||||
@ApiParam(value = "处理措施代码")
|
||||
private String emCode;
|
||||
|
||||
@Column(name = "RP_WHERE")
|
||||
@ApiParam(value = "有效时长")
|
||||
private Integer rpWhere;
|
||||
|
||||
@Column(name = "FAIL_TIME")
|
||||
@ApiParam(value = "失败次数")
|
||||
private Integer failTime;
|
||||
|
||||
@Column(name = "SUCCESS_TIME")
|
||||
@ApiParam(value = "成功次数")
|
||||
private Integer successTime;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonDisposalMaintenCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
|
||||
/**
|
||||
* @Description: 自处理维护配置
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-10-19-15:02
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IAndonDisposalMaintenCfgRepository extends BaseRepository<AndonDisposalMaintenCfg, Long> {
|
||||
}
|
Loading…
Reference in New Issue