forked from I3-YF/i3plus-mes-yfai
mes
parent
34b5108144
commit
f4b770f198
@ -0,0 +1,58 @@
|
||||
package cn.estsh.i3plus.ext.mes.pojo.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.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Index;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @DESCRIPTION: MES_分时段统计方式表
|
||||
* @USER: wangjie
|
||||
* @DATE: 2023-02-03 16:11
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SX_WORK_CELL_TAKT_COLLECT_PLC_CFG", indexes = {
|
||||
@Index(columnList = "SYSTEM_SYNC_STATUS"),
|
||||
@Index(columnList = "WORK_CENTER_CODE")
|
||||
})
|
||||
@Api("松下工位节拍PLC配置表")
|
||||
public class SxWorkCellTaktCollectPlcCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6598091344234355613L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PLC_CODE")
|
||||
@ApiParam("PLC代码")
|
||||
private String plcCode;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "SYSTEM_SYNC_STATUS")
|
||||
@ColumnDefault("2")
|
||||
@ApiParam(value = "系统同步标志")
|
||||
public Integer systemSyncStatus = 2;
|
||||
}
|
||||
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.ext.mes.pojo.repository;
|
||||
|
||||
import cn.estsh.i3plus.ext.mes.pojo.bean.SxWorkCellTaktCollectPlcCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @version 1.0
|
||||
* @date 2021/1/29 15:02
|
||||
**/
|
||||
@Repository
|
||||
public interface SxWorkCellTaktCollectPlcCfgRepository extends BaseRepository<SxWorkCellTaktCollectPlcCfg, Long> {
|
||||
}
|
Loading…
Reference in New Issue