15690 19108+PCN 监听工步 记录plc值
parent
db23233a8f
commit
0ec0bc2592
@ -0,0 +1,49 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.bean;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.model.ProductDataModel;
|
||||||
|
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.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate:2019\10\9 0009
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Inheritance(strategy = InheritanceType.JOINED)
|
||||||
|
@Table(name = "MES_PLC_DATA_RECORD", indexes = {
|
||||||
|
@Index(columnList = "PLC_CODE")
|
||||||
|
})
|
||||||
|
@Api("PLC数据记录表")
|
||||||
|
public class MesPlcDataRecord extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -8789141495695469898L;
|
||||||
|
@Column(name = "PLC_CODE")
|
||||||
|
@ApiParam("PLC代码")
|
||||||
|
private String plcCode;
|
||||||
|
|
||||||
|
@Column(name = "PLC_NAME")
|
||||||
|
@ApiParam("PLC名称")
|
||||||
|
private String plcName;
|
||||||
|
|
||||||
|
@Column(name = "PLC_VLAUE")
|
||||||
|
@ApiParam("PLC型号")
|
||||||
|
private String plcValue;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesPlcDataRecord;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2021/5/2 4:11 PM
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
public interface MesPlcDataRecordRepository extends BaseRepository<MesPlcDataRecord, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue