Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
cc7572ddd0
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,63 @@
|
||||
package cn.estsh.i3plus.pojo.form.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.BlockFormEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 元素约束
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-03-12 13:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BF_ELEMENT_CONSTRAINT")
|
||||
@Api(value = "元素约束", description = "元素约束")
|
||||
public class BfElementConstraint extends BaseBean {
|
||||
|
||||
@Column(name = "ELEMENT_ID")
|
||||
@ApiParam(value = "对象元素ID", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long elementId;
|
||||
|
||||
@Column(name = "CONSTRAINT_NAME")
|
||||
@ApiParam(value = "约束名称")
|
||||
private String constraintName;
|
||||
|
||||
@Column(name = "CONSTRAINT_TYPE")
|
||||
@ApiParam(value = "约束类型")
|
||||
@AnnoOutputColumn(refClass = BlockFormEnumUtil.ELEMENT_CONSTRAINT_TYPE.class)
|
||||
private Integer constraintType;
|
||||
|
||||
@Column(name = "CONSTRAIN_PROPERTY_NAME_RDD")
|
||||
@ApiParam(value = "约束属性名称")
|
||||
private String constrainPropertyNameRdd;
|
||||
|
||||
@Lob
|
||||
@Column(name = "CONSTRAIN_PROPERTY_IDS")
|
||||
@ApiParam(value = "约束属性ids")
|
||||
private String constrainPropertyIds;
|
||||
|
||||
// @Transient
|
||||
// @ApiParam(value = "元素约束属性信息")
|
||||
// private List<BfElementConstraintProperty> constraintPropertyList;
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
//package cn.estsh.i3plus.pojo.form.bean;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
//import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
//import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
//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 : yunhao
|
||||
// * @CreateDate : 2020-03-12 13:36
|
||||
// * @Modify:
|
||||
// **/
|
||||
//@Data
|
||||
//@Entity
|
||||
//@DynamicInsert
|
||||
//@DynamicUpdate
|
||||
//@EqualsAndHashCode(callSuper = true)
|
||||
//@Table(name = "BF_ELEMENT_CONSTRAINT_PROPERTY")
|
||||
//@Api(value = "元素约束属性", description = "元素约束属性")
|
||||
//public class BfElementConstraintProperty extends BaseBean {
|
||||
//
|
||||
// @Column(name = "CONSTRAINT_ID")
|
||||
// @ApiParam(value = "约束ID", example = "-1")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long constraintId;
|
||||
//
|
||||
// @Column(name = "ELEMENT_PROPERTY_ID")
|
||||
// @ApiParam(value = "元素属性ID", example = "-1")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long elementPropertyId;
|
||||
//
|
||||
// @Column(name = "DATA_OBJECT_PROPERTY_ID")
|
||||
// @ApiParam(value = "数据对象属性ID", example = "-1")
|
||||
// @JsonSerialize(using = ToStringSerializer.class)
|
||||
// private Long dataObjectPropertyId;
|
||||
//
|
||||
// @Column(name="PROPERTY_NAME")
|
||||
// @ApiParam(value ="元素属性名称")
|
||||
// private String propertyName;
|
||||
//
|
||||
// @Column(name="PROPERTY_CODE_RDD")
|
||||
// @ApiParam(value ="元素属性代码")
|
||||
// private String propertyCodeRdd;
|
||||
//
|
||||
//}
|
@ -0,0 +1,14 @@
|
||||
//package cn.estsh.i3plus.pojo.form.repository;
|
||||
//
|
||||
//import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
//import cn.estsh.i3plus.pojo.form.bean.BfElementConstraintProperty;
|
||||
//
|
||||
///**
|
||||
// * @Description : 元素约束属性
|
||||
// * @Reference :
|
||||
// * @Author : yunhao
|
||||
// * @CreateDate : 2019-03-21 20:27
|
||||
// * @Modify:
|
||||
// **/
|
||||
//public interface BfElementConstraintPropertyRepository extends BaseRepository<BfElementConstraintProperty, Long> {
|
||||
//}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.form.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.form.bean.BfElementConstraint;
|
||||
|
||||
/**
|
||||
* @Description : 元素约束
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-03-21 20:27
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BfElementConstraintRepository extends BaseRepository<BfElementConstraint, Long> {
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:09
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CACHA_QUEUE")
|
||||
@Api("MES缓存队列")
|
||||
public class MesCachaQueue extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8272649623030195332L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CACHA_TYPE")
|
||||
@ApiParam("缓存类型")
|
||||
private String cachaType;
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:50
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_FORMULA")
|
||||
@Api("MES_物料配方")
|
||||
public class MesPartFormula extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3120650997069271308L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "FORMULA_CONTENT")
|
||||
@ApiParam("配方内容")
|
||||
private String formulaContent;
|
||||
|
||||
@Column(name = "FORMULA_TYPE")
|
||||
@ApiParam("配方类型")
|
||||
private Integer formulaType;
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :散件产品配置明细
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 17:52
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_SCATTER_CFG_BOM")
|
||||
@Api("散件产品配置明细")
|
||||
public class MesProdScatterCfgBom extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "ITEM_PART_NO")
|
||||
@ApiParam("原材料物料号")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
|
||||
@Column(name = "IS_KEY_PART")
|
||||
@ApiParam("是否关键件")
|
||||
private Integer isKeyPart ;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/18 0018 - 9:07
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SN_PHOTO_RELATION")
|
||||
@Api("条码照片关系")
|
||||
public class MesSnPhotoRelation extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7732648131003455681L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PHOTO_PATH")
|
||||
@ApiParam("照片路径")
|
||||
private String photoPath;
|
||||
|
||||
@Column(name = "PHOTO_NAME")
|
||||
@ApiParam("照片名称")
|
||||
private String photoName;
|
||||
|
||||
}
|
@ -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.MesProdScatterCfgBom;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 18:03
|
||||
*/
|
||||
@Repository
|
||||
public interface MesProdScatterCfgBomRepository extends BaseRepository<MesProdScatterCfgBom, Long> {
|
||||
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
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;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description :JIT发运数据同步
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "if_queue_shipping")
|
||||
@Api("JIT发运数据同步")
|
||||
public class IfQueueShipping extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -8961182851667690154L;
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("JIT队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "PRODUCT_SN")
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("操作人")
|
||||
private String supplierCode;
|
||||
|
||||
@Column(name = "ACTION_DATE_TIME")
|
||||
@ApiParam("操作时间")
|
||||
private Date actionDateTime;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Column(name = "ERROR_MESSAGE")
|
||||
@ApiParam("异常消息")
|
||||
private String errorMessage;
|
||||
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
private Integer ifCode;
|
||||
|
||||
}
|
@ -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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:28
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ACTION_MODULE_GROUP")
|
||||
@Api("工步集")
|
||||
public class MesActionModuleGroup extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1876053661752102998L;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@ApiParam("组件集代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("执行顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
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 :MES_缓存队列
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 14:52
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CACHA_QUEUE")
|
||||
@Api("MES缓存队列")
|
||||
public class MesCachaQueue extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6875307024103023380L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CACHA_TYPE")
|
||||
@ApiParam("缓存类型")
|
||||
private String cachaType;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
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 : MES_容器
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-03-27 14:29
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CONTAINER")
|
||||
@Api("MES_容器类型")
|
||||
public class MesContainer extends BaseBean {
|
||||
private static final long serialVersionUID = -3843389042411645111L;
|
||||
|
||||
@Column(name = "CT_NO")
|
||||
@ApiParam(value = "容器编号")
|
||||
private String ctNo;
|
||||
|
||||
@Column(name = "CT_CODE")
|
||||
@ApiParam(value = "容器类型代码")
|
||||
private String ctCode;
|
||||
|
||||
@Column(name = "USE_STATUS")
|
||||
@ApiParam(value = "使用状态")
|
||||
private String useStatus;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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 : jimmy.zeng
|
||||
* @CreateDate : 2020-03-27 14:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CONTAINER_TYPE")
|
||||
@Api("MES_容器类型")
|
||||
public class MesContainerType extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 2831600566482383573L;
|
||||
|
||||
@Column(name = "CT_CODE")
|
||||
@ApiParam(value = "容器类型代码")
|
||||
private String ctCode;
|
||||
|
||||
@Column(name = "CT_NAME")
|
||||
@ApiParam(value = "容器类型名称")
|
||||
private String ctName;
|
||||
|
||||
@Column(name = "USE_LIMIT")
|
||||
@ApiParam(value = "使用期限")
|
||||
private Integer useLimit;
|
||||
|
||||
@Column(name = "IS_RECYCLE")
|
||||
@ApiParam(value = "是否回收")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.TRUE_OR_FALSE.class, refForeignKey = "value", value = "description")
|
||||
private Integer isRecycle;
|
||||
|
||||
@Column(name = "LIMIT_UOM")
|
||||
@ApiParam(value = "期限单位")
|
||||
private String limitUom;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/18 7:33 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ENCODE_RULE_MAP")
|
||||
@Api("MES_编码规则映射表")
|
||||
public class MesEncodeRuleMap extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4668354179377433538L;
|
||||
|
||||
@Column(name = "TYPE_CODE")
|
||||
@ApiParam("编码类型代码")
|
||||
private String typeCode;
|
||||
|
||||
@Column(name = "TYPE_NAME")
|
||||
@ApiParam("编码类型名称")
|
||||
private String typeName;
|
||||
|
||||
@Column(name = "BUSINESS_CODE")
|
||||
@ApiParam("业务代码")
|
||||
private String businessCode;
|
||||
|
||||
@Column(name = "BUSINESS_VALUE")
|
||||
@ApiParam("业务值")
|
||||
private String businessValue;
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
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 javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES_设备工装关系
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQUIPMENT_TOOLING")
|
||||
@Api("MES_设备工装关系")
|
||||
public class MesEquipmentTooling extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1947971369479107711L;
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "TOOLING_NO")
|
||||
@ApiParam("工装编号")
|
||||
private String toolingNo;
|
||||
|
||||
@Column(name = "TOOLING_CODE")
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@Column(name = "TOOLING_NAME")
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@Column(name = "TOOLING_TYPE")
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@Column(name = "USE_COUNT")
|
||||
@ApiParam("使用次数")
|
||||
private Integer useCount;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("更换开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("更换结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Transient
|
||||
@ApiParam("最大次数")
|
||||
private Integer useCountMax;
|
||||
|
||||
public Integer getToolingType() {
|
||||
return this.toolingType == null ? 0 : this.toolingType;
|
||||
}
|
||||
|
||||
public Integer getUseCount() {
|
||||
return this.useCount == null ? 0 : this.useCount;
|
||||
}
|
||||
|
||||
public MesEquipmentTooling(){
|
||||
|
||||
}
|
||||
|
||||
public MesEquipmentTooling(MesTooling tooling, Integer useCount) {
|
||||
this.toolingCode = tooling.getToolingCode();
|
||||
this.toolingName = tooling.getToolingName();
|
||||
this.useCount = useCount;
|
||||
this.useCountMax = tooling.getUseCountMax();
|
||||
}
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
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 :物料校验项
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_CHECK")
|
||||
@Api("物料校验项")
|
||||
public class MesPartCheck extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7706120594398072630L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "CHECK_SPEL_EXPRESS")
|
||||
@ApiParam("校验表达式")
|
||||
private String checkSpelExpress;
|
||||
|
||||
@Column(name = "TYPE_SPEL_EXPRESS")
|
||||
@ApiParam("类型表达式")
|
||||
private String typeSpelExpress;
|
||||
|
||||
@Column(name = "RECORD_NUM_SPEL_EXPRESS")
|
||||
@ApiParam("记录数量表达式")
|
||||
private String recordNumSpelExpress;
|
||||
|
||||
@Column(name = "RECORD_NUM_DESC")
|
||||
@ApiParam("校验表达式")
|
||||
private String recordNumDesc;
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:45
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_FORMULA")
|
||||
@Api("MES_物料配方")
|
||||
public class MesPartFormula extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4905294092563287950L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "FORMULA_CONTENT")
|
||||
@ApiParam("配方内容")
|
||||
private String formulaContent;
|
||||
|
||||
@Column(name = "FORMULA_TYPE")
|
||||
@ApiParam("配方类型")
|
||||
private Integer formulaType;
|
||||
|
||||
}
|
@ -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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 17:58
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_SCATTER_CFG_BOM")
|
||||
@Api("散件产品配置明细")
|
||||
public class MesProdScatterCfgBom extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "ITEM_PART_NO")
|
||||
@ApiParam("原材料物料号")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
|
||||
@Column(name = "IS_KEY_PART")
|
||||
@ApiParam("是否关键件")
|
||||
private Integer isKeyPart ;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/11 8:59 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_SCATTER_DETAIL")
|
||||
@Api("MES_散件产品配置关系")
|
||||
public class MesProdScatterDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3602480079910597288L;
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("散件产品名称")
|
||||
private String partName;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
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;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 17:58
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCATTER_CFG_DETAIL")
|
||||
@Api("MES_散件配置报文关系")
|
||||
public class MesScatterCfgDetail extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:48
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SM_ROUTE_OPT_PARAM")
|
||||
@Api("产品流程状态机配置操作参数表")
|
||||
public class MesSmRouteOptParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5466013923105175070L;
|
||||
|
||||
@Column(name = "PROD_ROUTE_CFG_ID")
|
||||
@ApiParam("产品流程Id")
|
||||
private Integer prodRouteCfgId;
|
||||
|
||||
@Column(name="ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name="PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name="STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name="STEP_SEQ")
|
||||
@ApiParam("工步顺序")
|
||||
private Integer stepSeq;
|
||||
|
||||
@Column(name="PARAM_TYPE")
|
||||
private Integer paramType;
|
||||
|
||||
@Column(name="PARAM_CODE")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name="PARAM_VALUE")
|
||||
private String paramValue;
|
||||
|
||||
@Column(name="IS_ACTION")
|
||||
private Integer isAction;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/18 0018 - 9:02
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SN_PHOTO_RELATION")
|
||||
@Api("条码照片关系")
|
||||
public class MesSnPhotoRelation extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3062206473345277360L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PHOTO_PATH")
|
||||
@ApiParam("照片路径")
|
||||
private String photoPath;
|
||||
|
||||
@Column(name = "PHOTO_NAME")
|
||||
@ApiParam("照片名称")
|
||||
private String photoName;
|
||||
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:12
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STATE_MACHINE")
|
||||
@Api("MES状态机")
|
||||
public class MesStateMachine extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 6093522587973076640L;
|
||||
|
||||
@Column(name = "SM_CODE")
|
||||
@ApiParam("状态机代码")
|
||||
private String smCode;
|
||||
|
||||
@Column(name = "SM_NAME")
|
||||
@ApiParam("状态机名称")
|
||||
private String smName;
|
||||
|
||||
@Column(name = "SM_TYPE")
|
||||
@ApiParam("状态机类型")
|
||||
private String smType;
|
||||
|
||||
@Lob
|
||||
@Column(name = "POSITION")
|
||||
@ApiParam("GOJS的位置")
|
||||
private String position;
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:12
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STATE_MACHINE_STATUS")
|
||||
@Api("MES状态机步骤")
|
||||
public class MesStateMachineStatus extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 6093522587973076640L;
|
||||
|
||||
@Column(name = "SM_CODE")
|
||||
@ApiParam("状态机代码")
|
||||
private String smCode;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private String statusCode;
|
||||
|
||||
@Column(name = "NEXT_STATUS")
|
||||
@ApiParam("下一状态")
|
||||
private String nextStatus;
|
||||
|
||||
@Column(name = "STATUS_NAME")
|
||||
@ApiParam("状态名称")
|
||||
private String statusName;
|
||||
|
||||
@Column(name = "TRIGGER_TYPE")
|
||||
@ApiParam("触发类型 10=内部触发 20=外部触发")
|
||||
private Integer triggerType;
|
||||
|
||||
@Column(name = "TRIGGER_EVENT")
|
||||
@ApiParam("触发事件")
|
||||
private String triggerEvent;
|
||||
|
||||
@Column(name = "TRIGGER_WHERE")
|
||||
@ApiParam("触发条件")
|
||||
private String triggerWhere;
|
||||
|
||||
@Column(name = "ACTION_AMG_ID")
|
||||
@ApiParam("触发调用")
|
||||
private Integer actionAmgId;
|
||||
|
||||
@Column(name = "IN_AMG_ID")
|
||||
@ApiParam("进入调用")
|
||||
private Integer inAmgId;
|
||||
|
||||
@Column(name = "OUT_AMG_ID")
|
||||
@ApiParam("离开调用")
|
||||
private Integer outAmgId;
|
||||
|
||||
@Column(name = "STATUS_TYPE", columnDefinition = "tinyint default 0")
|
||||
@ApiParam("状态类型 10=初始化状态")
|
||||
private Integer statusType;
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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 :MES工装类型
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TOOLING")
|
||||
@Api("MES工装类型")
|
||||
public class MesTooling extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5033127912658757665L;
|
||||
|
||||
@Column(name = "TOOLING_CODE ")
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@Column(name = "TOOLING_NAME")
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@Column(name = "TOOLING_TYPE")
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@Column(name = "USE_COUNT_MAX")
|
||||
@ApiParam("最大使用次数")
|
||||
private Integer useCountMax;
|
||||
|
||||
@Column(name = "USE_TIME_MAX")
|
||||
@ApiParam("最大使用时间")
|
||||
private String useTimeMax;
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
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 :MES_工装操作记录
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-03-20
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TOOLING_ACTION_RECORD")
|
||||
@Api("MES_工装操作记录")
|
||||
public class MesToolingActionRecord extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1947971369479107712L;
|
||||
|
||||
@Column(name = "TOOLING_NO")
|
||||
@ApiParam("工装编号")
|
||||
private String toolingNo;
|
||||
|
||||
@Column(name = "ACTION_TYPE")
|
||||
@ApiParam("操作类型")
|
||||
private Integer actionType;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "TOOLING_CODE")
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@Column(name = "TOOLING_NAME")
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@Column(name = "TOOLING_TYPE")
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@Column(name = "USE_COUNT")
|
||||
@ApiParam("使用次数")
|
||||
private Integer useCount;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("更换开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("更换结束时间")
|
||||
private String endTime;
|
||||
|
||||
|
||||
public Integer getToolingType() {
|
||||
return this.toolingType == null ? 0 : this.toolingType;
|
||||
}
|
||||
|
||||
public Integer getUseCount() {
|
||||
return this.useCount == null ? 0 : this.useCount;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
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 :MES工装明细
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TOOLING_DETAIL")
|
||||
@Api("MES_工装明细")
|
||||
public class MesToolingDetail extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5033127912653649665L;
|
||||
|
||||
@Column(name = "TOOLING_NO")
|
||||
@ApiParam("工装编号")
|
||||
private String toolingNo;
|
||||
|
||||
@Column(name = "TOOLING_CODE ")
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@Column(name = "TOOLING_NAME")
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@Column(name = "TOOLING_TYPE")
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@Column(name = "USE_COUNT")
|
||||
@ApiParam("使用次数")
|
||||
private Integer useCount;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/20 0020 - 16:21
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WINDOW_MODULE")
|
||||
@Api("MES_界面组件配置")
|
||||
public class MesWindowModule extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -634938009999201410L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("菜单编号")
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("按钮组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "WINDOW_MODULE_BACK")
|
||||
@ApiParam("回调界面方法")
|
||||
private String windowModuleBack;
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
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 :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/20 0020 - 16:25
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WINDOW_MODULE_PARAM")
|
||||
@Api("MES_界面组件参数配置")
|
||||
public class MesWindowModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5834883080240684524L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面编号")
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
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 :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_MODULE")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkCellModule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3537487776977917751L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :工作单元组件参数配置
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-03-12 7:45 下午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_MODULE_PARAM", indexes = {
|
||||
@Index(columnList = "CREATE_DATE_TIME")
|
||||
})
|
||||
@Api("工作单元组件参数配置")
|
||||
public class MesWorkCellModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4836155960343256982L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
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 javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 工站分组队列
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-22 17:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_POINT_GROUP")
|
||||
@Api("工站分组队列")
|
||||
public class MesWorkCellPointGroup extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6817903235638554748L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "QUEUE_SEQ")
|
||||
@ApiParam("队列主表序号")
|
||||
private Double queueSeq;
|
||||
|
||||
@Column(name = "QUEUE_DETAIL_SEQ")
|
||||
@ApiParam("队列明细表序号")
|
||||
private Double queueDetailSeq;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Transient
|
||||
@ApiParam("显示颜色")
|
||||
private String color;
|
||||
|
||||
public double getQueueSeqVal() {
|
||||
return this.queueSeq == null ? 0 : this.queueSeq;
|
||||
}
|
||||
|
||||
public double getQueueDetailSeqVal() {
|
||||
return this.queueDetailSeq == null ? 0 : this.queueDetailSeq;
|
||||
}
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
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 :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_MODULE")
|
||||
@Api("作业程序组件")
|
||||
public class MesWorkModule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -4121840589026322086L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "MODULE_NAME")
|
||||
@ApiParam("组件名称")
|
||||
private String moduleName;
|
||||
|
||||
@Column(name = "MODULE_TYPE")
|
||||
@ApiParam("组件类型")
|
||||
private Integer moduleType;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "TRIGGER_TYPE")
|
||||
@ApiParam("触发类型")
|
||||
private Integer triggerType;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("顺序号")
|
||||
private Integer seq;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
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 :工位投料信息
|
||||
* @Reference :
|
||||
* @Author : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_MODULE_PARAM")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3965186392895014717L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_TYPE")
|
||||
@ApiParam("参数类型")
|
||||
private Integer paramType;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesProduceSn;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/25 0025 - 19:41
|
||||
*/
|
||||
@Data
|
||||
@Api("按钮组件传输响应Model")
|
||||
public class ButtonComponentResultModel {
|
||||
|
||||
@ApiParam("成功信号")
|
||||
private boolean isSuccess;
|
||||
|
||||
@ApiParam("是否跳过工序")
|
||||
private boolean isJumpProcess;
|
||||
|
||||
@ApiParam("提示信息")
|
||||
private String msg;
|
||||
|
||||
@ApiParam("动态按钮组")
|
||||
private List<ButtonModel> buttonModels;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("产品条码信息")
|
||||
private MesProduceSn produceSn;
|
||||
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/17 3:47 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class ButtonDynamicModel {
|
||||
|
||||
private Long id;
|
||||
|
||||
@ApiParam("按钮名称")
|
||||
private String buttonName;
|
||||
|
||||
@ApiParam("按钮代码")
|
||||
private String buttonCode;
|
||||
|
||||
@ApiParam("回调界面方法")
|
||||
private String windowModuleBack;
|
||||
|
||||
@ApiParam("界面编号")
|
||||
private String windowNo;
|
||||
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
|
||||
|
||||
public ButtonDynamicModel(Long id, String buttonCode, String buttonName){
|
||||
this.id = id;
|
||||
this.buttonCode = buttonCode;
|
||||
this.buttonName = buttonName;
|
||||
}
|
||||
|
||||
public ButtonDynamicModel(Long id, String buttonCode, String windowNo, String windowModuleBack, String paramCode, String paramValue){
|
||||
this.id = id;
|
||||
this.buttonCode = buttonCode;
|
||||
this.windowNo = windowNo;
|
||||
this.windowModuleBack = windowModuleBack;
|
||||
this.paramCode = paramCode;
|
||||
this.paramValue = paramValue;
|
||||
}
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description : 按钮model
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/25 0025 - 5:02
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("按钮组件")
|
||||
public class ButtonModel {
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@ApiParam("组件名称")
|
||||
private String moduleName;
|
||||
|
||||
@ApiParam("界面回调方法")
|
||||
private String windowModuleBack;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("数据复核model")
|
||||
public class DataReviewStepModel {
|
||||
|
||||
@ApiParam("关键件")
|
||||
private String itemPartNo;
|
||||
|
||||
@ApiParam("需要数量")
|
||||
private String needNum;
|
||||
|
||||
@ApiParam("实际数量")
|
||||
private String realNum;
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.mes.annotation.ElasticSearch;
|
||||
import cn.estsh.i3plus.pojo.mes.annotation.Json4Es;
|
||||
//import com.sun.tools.javac.util.List;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/20 5:51 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@ElasticSearch
|
||||
public class EsProductDataModule extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4514407617515827040L;
|
||||
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@ApiParam("工单号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partDesc;
|
||||
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@ApiParam("设备名称")
|
||||
private String equName;
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@ApiParam("对象名称")
|
||||
private String objectName;
|
||||
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@ApiParam("字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@ApiParam("字段值")
|
||||
private String fieldValue;
|
||||
|
||||
@ApiParam("数据行号")
|
||||
private String rowNo;
|
||||
|
||||
@ApiParam("数据组号")
|
||||
private String groupNo;
|
||||
|
||||
@Json4Es
|
||||
@ApiParam("生产数据")
|
||||
private ArrayList<ProductDataModel> lineData;
|
||||
|
||||
@ApiParam("字段总数")
|
||||
private Integer fieldNum;
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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 :MES_JIT发运队列
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING")
|
||||
@Api("MES_JIT发运队列")
|
||||
public class MesQueueShipping extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 655875369308414110L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("排序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户产线代码")
|
||||
private String custPlantCode;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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 :MES_JIT发运队列明细
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING_DETAIL")
|
||||
@Api("MES_JIT发运队列明细")
|
||||
public class MesQueueShippingDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1442091799346314190L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "status")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "GROUP_SEQ")
|
||||
@ApiParam("分组序号")
|
||||
private String groupSeq;
|
||||
|
||||
@Column(name = "qty")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgModel {
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("产品生产类型")
|
||||
private String pptCode;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置参数Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgParamModel {
|
||||
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@ApiParam("是否执行 1=是 2=否")
|
||||
private Integer isActive;
|
||||
|
||||
List<MesRouteCfgStepModel> stepModelList;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgStepModel {
|
||||
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
List<MesRouteCfgModel> routeCfgModelList;
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellModuleParam;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkModule;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/10 15:24
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MonitoringModel {
|
||||
|
||||
private String monitorType;
|
||||
|
||||
private Boolean isStop;
|
||||
|
||||
private MesWorkModule workModule;
|
||||
|
||||
private List<MesWorkCellModuleParam> cellModuleParams;
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("生产数据缓存model")
|
||||
public class ProductDataCacheModel {
|
||||
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@ApiParam("字段名称")
|
||||
private List<ProductDataModel> productDataModelList;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/3/20 9:02 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class QueueJitActualModule {
|
||||
|
||||
private Long id;
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
@ApiParam("排序号")
|
||||
private Double seq;
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
public QueueJitActualModule() {
|
||||
|
||||
}
|
||||
|
||||
public QueueJitActualModule(Long id, String vinCode, Double seq, String queueGroupNo, Integer groupNo) {
|
||||
this.id = id;
|
||||
this.vinCode = vinCode;
|
||||
this.seq = seq;
|
||||
this.queueGroupNo = queueGroupNo;
|
||||
this.groupNo = groupNo;
|
||||
}
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue