parent
3e629e63c5
commit
17d47fdc55
@ -0,0 +1,44 @@
|
|||||||
|
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 java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @CreateDate: 2020/10/13
|
||||||
|
* @Author: simon.song
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_BOARD_IMAGE")
|
||||||
|
@Api("MES_看板图片")
|
||||||
|
public class MesBoardImage extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -3757764185082659130L;
|
||||||
|
|
||||||
|
@Column(name = "BOARD_CODE")
|
||||||
|
@ApiParam("看板代码")
|
||||||
|
private String boardCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "IMAGE_URL")
|
||||||
|
@ApiParam("图片路径")
|
||||||
|
private String imageUrl;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,44 @@
|
|||||||
|
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 java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @CreateDate: 2020/10/13
|
||||||
|
* @Author: simon.song
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_BOARD_SWITCH_CFG")
|
||||||
|
@Api("MES_看板切换配置")
|
||||||
|
public class MesBoardSwitchCfg extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -9101785840595985385L;
|
||||||
|
|
||||||
|
@Column(name = "BOARD_CODE")
|
||||||
|
@ApiParam("看板代码")
|
||||||
|
private String boardCode;
|
||||||
|
|
||||||
|
@Column(name = "SWITCH_INTERRVAL")
|
||||||
|
@ApiParam("屏切换频次")
|
||||||
|
private Integer switchInterrval;
|
||||||
|
|
||||||
|
@Column(name = "LINE_SWITCH_INTERRVAL")
|
||||||
|
@ApiParam("产线切换频次")
|
||||||
|
private Integer lineSwitchInterrval;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesShiftGroup;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesWorkOrder;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: 中航-产线概况-产线概况
|
||||||
|
* @CreateDate: 2020/10/19
|
||||||
|
* @Author: simon.song
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class MesBoardWorkCenterOverviewModel {
|
||||||
|
@ApiParam("看板代码")
|
||||||
|
private String boardCode;
|
||||||
|
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@ApiParam(value = "工作中心名称")
|
||||||
|
private String workCenterName;
|
||||||
|
|
||||||
|
@ApiParam("图片路径")
|
||||||
|
private String imageUrl;
|
||||||
|
|
||||||
|
@ApiParam("工单列表")
|
||||||
|
List<MesWorkOrder> workOrderList;
|
||||||
|
|
||||||
|
@ApiParam("班组列表")
|
||||||
|
List<MesShiftGroup> shiftGroupList;
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesBoardImage;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @CreateDate: 2020/10/13
|
||||||
|
* @Author: simon.song
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesBoardImageRepository extends BaseRepository<MesBoardImage, Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesBoardSwitchCfg;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @CreateDate: 2020/10/13
|
||||||
|
* @Author: simon.song
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesBoardSwitchCfgRepository extends BaseRepository<MesBoardSwitchCfg, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue