parent
8034e9e505
commit
0e444aa993
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description :维修
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-08-08
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_REPAIR")
|
||||
@Api("维修")
|
||||
public class MesRepair extends BaseBean {
|
||||
@Column(name="REPAIR_CODE")
|
||||
@ApiParam("维修代码")
|
||||
private String repairCode;
|
||||
|
||||
@Column(name="REPAIR_NAME")
|
||||
@ApiParam("维修名称")
|
||||
private String repariName;
|
||||
|
||||
@Column(name="REPAIR_TYPE")
|
||||
@ApiParam("维修类型")
|
||||
private Integer repairType;
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description :报废原因
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-08-08
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_SCRAP")
|
||||
@Api("报废原因")
|
||||
public class MesScrap extends BaseBean {
|
||||
@Column(name="SCRAP_CODE")
|
||||
@ApiParam("报废代码")
|
||||
private String scrapCode;
|
||||
|
||||
@Column(name="SCRAP_NAME")
|
||||
@ApiParam("报废名称")
|
||||
private String scrapName;
|
||||
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-04-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_SHIFT")
|
||||
@Api("班次信息")
|
||||
public class MesShift extends BaseBean {
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name="SHIFT_NAME")
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam("开班时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name="WORK_TIMES")
|
||||
@ApiParam("作业时长")
|
||||
private Double workTimes;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : yiming.gu
|
||||
* @CreateDate : 2019-05-20
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_SHIFT_REST")
|
||||
@Api("班次休息信息")
|
||||
public class MesShiftRest extends BaseBean {
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam("开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name="REST_TIMES")
|
||||
@ApiParam("休息时长")
|
||||
private Double restTimes;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesEquipment;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquipmentRepository extends BaseRepository<MesEquipment, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesRepair;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-08-08-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesRepairRepository extends BaseRepository<MesRepair, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesScrap;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-08-08-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesScrapRepository extends BaseRepository<MesScrap, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesShift;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-19-13:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesShiftRepository extends BaseRepository<MesShift, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesShiftRest;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: yiming.gu
|
||||
* @CreateDate:2019-05-20
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesShiftRestRepository extends BaseRepository<MesShiftRest, Long> {
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :维修
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-08-08
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_REPAIR")
|
||||
@Api("维修")
|
||||
public class MesRepair extends BaseBean {
|
||||
@Column(name="REPAIR_CODE")
|
||||
@ApiParam("维修代码")
|
||||
private String repairCode;
|
||||
|
||||
@Column(name="REPAIR_NAME")
|
||||
@ApiParam("维修名称")
|
||||
private String repariName;
|
||||
|
||||
@Column(name="REPAIR_TYPE")
|
||||
@ApiParam("维修类型")
|
||||
private Integer repairType;
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :报废原因
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-08-08
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_SCRAP")
|
||||
@Api("报废原因")
|
||||
public class MesScrap extends BaseBean {
|
||||
@Column(name="SCRAP_CODE")
|
||||
@ApiParam("报废代码")
|
||||
private String scrapCode;
|
||||
|
||||
@Column(name="SCRAP_NAME")
|
||||
@ApiParam("报废名称")
|
||||
private String scrapName;
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPcn;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRepair;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-08-08-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesRepairRepository extends BaseRepository<MesRepair, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesRepair;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesScrap;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-08-08-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesScrapRepository extends BaseRepository<MesScrap, Long> {
|
||||
}
|
Loading…
Reference in New Issue