Merge pull request 'ext-dev' (#267) from andly.pan/i3plus-pojo:ext-dev into ext-dev
Reviewed-on: http://git.estsh.com/i3-IMPP/i3plus-pojo/pulls/267yun-zuoyi
commit
8c68b49cb6
@ -0,0 +1,55 @@
|
||||
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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_CONTAINER_SN_RECORD", indexes = {
|
||||
@Index(columnList = "SERIAL_NUMBER"),
|
||||
@Index(columnList = "PART_NO"),
|
||||
@Index(columnList = "CT_NO")
|
||||
})
|
||||
@Api("容器条码记录表")
|
||||
public class MesContainerSnRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -303802118993255101L;
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "CT_NO")
|
||||
@ApiParam("容器号")
|
||||
private String ctNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
}
|
@ -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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/10/18 2:55 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_HOLIDAY_VACTION")
|
||||
@Api("节假日")
|
||||
public class MesHolidayVacation extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1620451254243818560L;
|
||||
@Column(name = "YEAR")
|
||||
@ApiParam("年")
|
||||
private String year;
|
||||
|
||||
@Column(name = "MONTH")
|
||||
@ApiParam("月")
|
||||
private String month;
|
||||
|
||||
@Column(name = "DAY")
|
||||
@ApiParam("日")
|
||||
private String day;
|
||||
}
|
@ -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.MesContainerSnRecord;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/5/1 12:21 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesContainerSnRecordRepository extends BaseRepository<MesContainerSnRecord, Long> {
|
||||
}
|
@ -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.MesHolidayVacation;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/5/7 4:44 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesHolidayVacationRepository extends BaseRepository<MesHolidayVacation, Long> {
|
||||
}
|
@ -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