Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
af8c01f915
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>i3plus-pojo</artifactId>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<version>1.0-PROD-SNAPSHOT</version>
|
||||
<relativePath>../../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-ics</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-10 16:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class IcsActuatorMetrics {
|
||||
|
||||
private String name;
|
||||
private List<Measurements> measurements;
|
||||
private List<AvailableTags> availableTags;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public static class Measurements {
|
||||
|
||||
private String statistic;
|
||||
private Object value;
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public static class AvailableTags {
|
||||
|
||||
private String tag;
|
||||
private List<String> values;
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 应用信息
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-09 17:55
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("应用信息")
|
||||
public class IcsApplication {
|
||||
|
||||
@ApiModelProperty("应用名称")
|
||||
private String appName;
|
||||
|
||||
@ApiModelProperty("实例数量")
|
||||
private Integer totalInstanceNum;
|
||||
|
||||
@ApiModelProperty("在线实例数量")
|
||||
private Integer upInstanceNum;
|
||||
|
||||
public int getUpInstanceNumVal() {
|
||||
return upInstanceNum == null ? 0 : upInstanceNum.intValue();
|
||||
}
|
||||
|
||||
|
||||
public void addUpInstanceNum() {
|
||||
if (upInstanceNum == null) {
|
||||
upInstanceNum = 0;
|
||||
}
|
||||
upInstanceNum++;
|
||||
}
|
||||
|
||||
@ApiModelProperty("下线实例数量")
|
||||
private Integer downInstanceNum;
|
||||
|
||||
public int getDownInstanceNumVal() {
|
||||
return downInstanceNum == null ? 0 : downInstanceNum.intValue();
|
||||
}
|
||||
|
||||
public void addDownInstanceNum() {
|
||||
if (downInstanceNum == null) {
|
||||
downInstanceNum = 0;
|
||||
}
|
||||
downInstanceNum++;
|
||||
}
|
||||
|
||||
@ApiModelProperty("应用状态")
|
||||
private Integer appStatus;
|
||||
|
||||
public String getAppStatusTxt(){
|
||||
return appStatus == null ?"无": CommonEnumUtil.CLOUD_APP_STATUS.valueOfDescription(appStatus);
|
||||
}
|
||||
|
||||
@ApiModelProperty("状态时间戳")
|
||||
private Long statusTimeStamp;
|
||||
|
||||
@ApiModelProperty("状态时间")
|
||||
private String statusTimeStampStr;
|
||||
|
||||
@ApiModelProperty("实例集合")
|
||||
private List<IcsInstance> icsInstanceList;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-09 18:02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("实例信息")
|
||||
public class IcsInstance {
|
||||
|
||||
@ApiModelProperty("实例id")
|
||||
private String instanceId;
|
||||
|
||||
@ApiModelProperty("实例状态url")
|
||||
private String instanceStatusUrl;
|
||||
|
||||
@ApiModelProperty("实例状态")
|
||||
private Integer instanceStatus;
|
||||
|
||||
@ApiModelProperty("状态时间戳")
|
||||
private Long statusTimeStamp;
|
||||
|
||||
@ApiModelProperty("状态时间")
|
||||
private String statusTimeStampStr;
|
||||
|
||||
public String getInstanceStatusTxt(){
|
||||
return instanceStatus == null ?"无": CommonEnumUtil.CLOUD_APP_STATUS.valueOfDescription(instanceStatus);
|
||||
}
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 实例明细
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-10 16:52
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("实例明细")
|
||||
public class IcsInstanceDetail {
|
||||
|
||||
@ApiModelProperty("pid")
|
||||
private String pid;
|
||||
|
||||
@ApiModelProperty("正常运行时间")
|
||||
private double uptime;
|
||||
|
||||
@ApiModelProperty("正常运行时间")
|
||||
private String uptimeStr;
|
||||
|
||||
@ApiModelProperty("进程Cpu使用情况")
|
||||
private double processCpuUsage;
|
||||
|
||||
@ApiModelProperty("系统Cpu使用情况")
|
||||
private double systemCpuUsage;
|
||||
|
||||
@ApiModelProperty("CPU数量")
|
||||
private int cpuNum;
|
||||
|
||||
@ApiModelProperty("gc计数")
|
||||
private int gcCount;
|
||||
|
||||
@ApiModelProperty("gc总花费时间")
|
||||
private double gcTotalTimeSpent;
|
||||
|
||||
@ApiModelProperty("gc花费的最长时间")
|
||||
private double gcMaxTimeSpent;
|
||||
|
||||
@ApiModelProperty("监控网址")
|
||||
private String monitorUrl;
|
||||
|
||||
@ApiModelProperty("ApiUrl")
|
||||
private String apiUrl;
|
||||
|
||||
@ApiModelProperty("服务网址")
|
||||
private String serviceUrl;
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 实例堆内存
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-10 16:57
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("实例堆内存")
|
||||
public class IcsInstanceMemoryHeap {
|
||||
|
||||
@ApiModelProperty("堆使用的内存")
|
||||
private double heapMemoryUsed;
|
||||
|
||||
@ApiModelProperty("堆内存大小")
|
||||
private double heapMemorySize;
|
||||
|
||||
@ApiModelProperty("堆内存最大")
|
||||
private double heapMemoryMax;
|
||||
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :实例堆非内存
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-10 16:57
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("实例堆非内存")
|
||||
public class IcsInstanceMemoryNonHeap {
|
||||
|
||||
@ApiModelProperty("非堆内存元空间")
|
||||
private double nonHeapMemoryMetaspace;
|
||||
|
||||
@ApiModelProperty("非堆内存使用")
|
||||
private double nonHeapMemoryUsed;
|
||||
|
||||
@ApiModelProperty("非堆内存大小")
|
||||
private double nonHeapMemorySize;
|
||||
|
||||
@ApiModelProperty("非堆内存最大")
|
||||
private double nonHeapMemoryMax;
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 实例线程信息
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-10 16:57
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("实例线程信息")
|
||||
public class IcsInstanceThread {
|
||||
|
||||
@ApiModelProperty("实时线程")
|
||||
private double threadLive;
|
||||
|
||||
@ApiModelProperty("守护线程")
|
||||
private double threadDaemon;
|
||||
|
||||
@ApiModelProperty("线程峰值")
|
||||
private double threadPeakLive;
|
||||
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
package cn.estsh.i3plus.pojo.ics.bean;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 注册中心信息
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-09 10:12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("注册中心")
|
||||
public class IcsRegist {
|
||||
|
||||
@ApiModelProperty("环境")
|
||||
private String environment;
|
||||
|
||||
@ApiModelProperty("数据中心")
|
||||
private String dataCenter;
|
||||
|
||||
@ApiModelProperty("集群信息")
|
||||
private List<String> clusterInfo;
|
||||
|
||||
@ApiModelProperty("是否低于续订阈值")
|
||||
private Integer isBelowRenewThresold;
|
||||
|
||||
@ApiModelProperty("启用自我保护模式")
|
||||
private Integer selfPreservationModeEnabled;
|
||||
|
||||
@ApiModelProperty("注册中心启动时长")
|
||||
private String upDateTime;
|
||||
|
||||
@ApiModelProperty("租约到期启用")
|
||||
private Integer leaseExpirationEnabled;
|
||||
|
||||
@ApiModelProperty("实例IP")
|
||||
private String instanceIp;
|
||||
|
||||
@ApiModelProperty("实例状态")
|
||||
private String instanceStatus;
|
||||
|
||||
@ApiModelProperty("cpu数量")
|
||||
private Integer cpuNum;
|
||||
|
||||
@ApiModelProperty("总可用内存")
|
||||
private Integer totalAvailMemory;
|
||||
|
||||
@ApiModelProperty("当前的内存使用情况")
|
||||
private Integer currentMemoryUsage;
|
||||
|
||||
@ApiModelProperty("应用数量")
|
||||
private Integer appNum;
|
||||
|
||||
@ApiModelProperty("实例数量")
|
||||
private Integer instanceNum;
|
||||
|
||||
@ApiModelProperty("下线实例数量")
|
||||
private Integer downInstanceNum;
|
||||
|
||||
@ApiModelProperty("应用集合")
|
||||
private List<IcsApplication> icsApplicationList;
|
||||
|
||||
}
|
Binary file not shown.
@ -0,0 +1,103 @@
|
||||
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 : amy
|
||||
* @CreateDate : 2018-11-07 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="BAS_VENDOR")
|
||||
@Api("供应商信息")
|
||||
public class BasVendor extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 9214639813072592779L;
|
||||
@Column(name="VENDOR_NO")
|
||||
@ApiParam("供应商编号")
|
||||
private String vendorNo;
|
||||
|
||||
@Column(name="VENDOR_NAME")
|
||||
@ApiParam("供应商简称")
|
||||
private String vendorName;
|
||||
|
||||
@Column(name="VENDOR_DESC")
|
||||
@ApiParam("供应商全称")
|
||||
private String vendorDesc;
|
||||
|
||||
@Column(name="VENDOR_ADDR")
|
||||
@ApiParam("供应商地址")
|
||||
private String vendorAddr;
|
||||
|
||||
@Column(name="VENDOR_OWNER")
|
||||
@ApiParam("联系人")
|
||||
private String vendorOwner;
|
||||
|
||||
@Column(name="VENDOR_EMAIL")
|
||||
@ApiParam("邮箱")
|
||||
private String vendorEmail;
|
||||
|
||||
@Column(name = "IS_ASN")
|
||||
@ApiParam(value = "是否发ASN", example = "0")
|
||||
private Integer isAsn;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam(value = "用户名")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "PASSWORD")
|
||||
@ApiParam(value = "密码")
|
||||
private String password;
|
||||
|
||||
@Column(name = "VENDOR_CALL")
|
||||
@ApiParam("供应商电话")
|
||||
private String vendorCall;
|
||||
|
||||
@Column(name = "VENDOR_FAX")
|
||||
@ApiParam("传真")
|
||||
private String vendorFax;
|
||||
|
||||
@Column(name = "VENDOR_PHONE")
|
||||
@ApiParam("手机")
|
||||
private String vendorPhone;
|
||||
|
||||
@Column(name = "KILOBIT")
|
||||
@ApiParam("千位符号")
|
||||
private String kilobit;
|
||||
|
||||
@Column(name = "DECIMALS")
|
||||
@ApiParam("小数位符号")
|
||||
private String decimals;
|
||||
|
||||
//20-承运商
|
||||
@Column(name = "VENDOR_TYPE")
|
||||
private Integer vendorType;
|
||||
|
||||
@Column(name = "MAP_LOCATION")
|
||||
@ApiParam("经纬度")
|
||||
private String mapLocation;
|
||||
|
||||
public BasVendor() {
|
||||
}
|
||||
|
||||
public BasVendor(Long id, String userName) {
|
||||
this.id = id;
|
||||
this.userName = userName;
|
||||
}
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/4/18 21:05
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "IF_RAW_PART_DATA")
|
||||
@Api("原料上线数据")
|
||||
public class IfRawPartData extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2733956307324895596L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "PART_TYPE")
|
||||
@ApiParam("原料类型")
|
||||
private String partType;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("原料条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "SRC_LOT_NO")
|
||||
@ApiParam("收货批次")
|
||||
private String srcLotNo;
|
||||
|
||||
@Column(name = "LOT_NO")
|
||||
@ApiParam("生产批次")
|
||||
private String lotNo;
|
||||
|
||||
@Column(name = "FIX_LOT_NO")
|
||||
@ApiParam("特殊批次")
|
||||
private String fixLotNo;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("供应商代码")
|
||||
private String supplierCode;
|
||||
|
||||
@Column(name = "ERROR_MESSAGE")
|
||||
@ApiParam("异常消息")
|
||||
private String errorMessage;
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
private String ifCode;
|
||||
|
||||
@Column(name = "ORGANIZATION_CODE")
|
||||
@ApiParam("工厂代码")
|
||||
private String organizationCode;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:49 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD")
|
||||
@Api("MES_看板")
|
||||
public class MesBoard extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3932883110518753734L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "BOARD_NAME")
|
||||
@ApiParam("看板名称")
|
||||
private String boardName;
|
||||
|
||||
@Column(name = "BOARD_TYPE")
|
||||
@ApiParam("看板类型")
|
||||
private String boardType;
|
||||
|
||||
@Column(name = "REFRESH_INTERVAL")
|
||||
@ApiParam("刷新时间")
|
||||
private Integer refreshInterval;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:07 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_EQU_DETAIL")
|
||||
@Api("MES_看板设备明细")
|
||||
public class MesBoardEquDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2187463105092165451L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "EQU_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@Column(name = "EQU_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equName;
|
||||
|
||||
@Column(name = "X_AXES")
|
||||
@ApiParam(value = "横坐标")
|
||||
private Double xAxes = 0d;
|
||||
|
||||
@Column(name = "Y_AXES")
|
||||
@ApiParam(value = "纵坐标")
|
||||
private Double yAxes = 0d;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:01 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_EQU_STATUS")
|
||||
@Api("MES_看板设备状态")
|
||||
public class MesBoardEquStatus extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8426698586967483537L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "EQU_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@Column(name = "EQU_STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private Integer equStatusCode;
|
||||
|
||||
@Column(name = "EQU_STATUS_DESC")
|
||||
@ApiParam("状态描述")
|
||||
private String equStatusDesc;
|
||||
|
||||
@Column(name = "COLOR")
|
||||
@ApiParam("颜色")
|
||||
private String color;
|
||||
}
|
@ -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/4/20 5:19 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_MONITOR_OBJECT")
|
||||
@Api("MES_看板监控对象")
|
||||
public class MesBoardMonitorObject extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4136991652901768961L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "OBJECT_TYPE")
|
||||
@ApiParam("对象类型")
|
||||
private String objectType;
|
||||
|
||||
@Column(name = "OBJECT_VALUE")
|
||||
@ApiParam("对象值")
|
||||
private String objectValue;
|
||||
|
||||
@Column(name = "OBJECT_VALUE_DESC")
|
||||
@ApiParam("对象值描述")
|
||||
private String objectValueDesc;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
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/4/20 4:53 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_PICTURE")
|
||||
@Api("MES_看板图片")
|
||||
public class MesBoardPicture extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5784111763887252647L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PICTURE_URL")
|
||||
@ApiParam("图片路径")
|
||||
private String pictureUrl;
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
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;
|
||||
|
||||
import java.util.List;
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 6:49 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_PLAN_CAPACITY")
|
||||
@Api("MES_看板计划产能")
|
||||
public class MesBoardPlanCapacity extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 7355311263972875850L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PLAN_DATE")
|
||||
@ApiParam("计划日期")
|
||||
private String planDate;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "PLAN_PEOPLE_NUM")
|
||||
@ApiParam("计划人数")
|
||||
private Integer planPeopleNum;
|
||||
|
||||
@Column(name = "ACTUAL_PEOPLE_NUM")
|
||||
@ApiParam("实际人数")
|
||||
private Integer actualPeopleNum;
|
||||
|
||||
@Column(name = "PLAN_CAPACITY")
|
||||
@ApiParam("计划产量")
|
||||
private Integer planCapacity;
|
||||
|
||||
@Transient
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
|
||||
@Transient
|
||||
@ApiParam("看板时段计划产量")
|
||||
private List<MesBoardShiftSectionCapacity> boardShiftSectionCapacities;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:16 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SHIFT")
|
||||
@Api("MES_看板班次")
|
||||
public class MesBoardShift extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3681747818263404086L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "SHIFT_NAME")
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:13 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SHIFT_SECTION")
|
||||
@Api("MES_看板班次时段")
|
||||
public class MesBoardShiftSection extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -957301986885952078L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("开始时段")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("结束时段")
|
||||
private String endTime;
|
||||
|
||||
@Column(name = "IS_SPANDAY")
|
||||
@ApiParam("是否跨天")
|
||||
private Integer isSpanday;
|
||||
|
||||
@Transient
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:24 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_SHIFT_SECTION_CAPACITY")
|
||||
@Api("MES_看板时段计划产量")
|
||||
public class MesBoardShiftSectionCapacity extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1184108324734484237L;
|
||||
|
||||
@Column(name = "BOARD_CODE")
|
||||
@ApiParam("看板代码")
|
||||
private String boardCode;
|
||||
|
||||
@Column(name = "PLAN_DATE")
|
||||
@ApiParam("计划日期")
|
||||
private String planDate;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "START_TIME")
|
||||
@ApiParam("开始时段")
|
||||
private String startTime;
|
||||
|
||||
@Column(name = "END_TIME")
|
||||
@ApiParam("结束时段")
|
||||
private String endTime;
|
||||
|
||||
@Column(name = "PLAN_CAPACITY")
|
||||
@ApiParam("计划产量")
|
||||
private Integer planCapacity;
|
||||
|
||||
@Transient
|
||||
@ApiParam("实际产量")
|
||||
private Integer actualCapacity;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:43 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_TYPE")
|
||||
@Api("MES_看板类型")
|
||||
public class MesBoardType extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3652595133806144706L;
|
||||
|
||||
@Column(name = "BOARD_TYPE")
|
||||
@ApiParam("看板类型")
|
||||
private String boardType;
|
||||
|
||||
@Column(name = "BOARD_TYPE_NAME")
|
||||
@ApiParam("看板类型名称")
|
||||
private String boardTypeName;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
}
|
@ -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:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 4:47 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_BOARD_TYPE_BASE_CFG")
|
||||
@Api("MES_看板类型基础配置")
|
||||
public class MesBoardTypeBaseCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5405378688706555644L;
|
||||
|
||||
@Column(name = "BOARD_TYPE")
|
||||
@ApiParam("看板类型")
|
||||
private String boardType;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面编号")
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -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,63 @@
|
||||
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: wangjie
|
||||
* @CreateDate: 2020/04/03 7:12 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DATA_WARNING")
|
||||
@Api("数据预警配置")
|
||||
public class MesDataWarning extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8328008752104417017L;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "WARNING_RULE")
|
||||
@ApiParam("预警规则")
|
||||
private String warningRule;
|
||||
|
||||
@Column(name = "CHECK_TIME")
|
||||
@ApiParam("校验时间")
|
||||
private String checkTime;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数据量最大限制(分钟)")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "WARNING_ITEM")
|
||||
@ApiParam("预警内容项")
|
||||
private String warningItem;
|
||||
|
||||
@Column(name = "INFORM_MODE")
|
||||
@ApiParam("通知方式")
|
||||
private Integer informMode;
|
||||
|
||||
@Lob
|
||||
@Column(name = "INFORM_USER")
|
||||
@ApiParam("通知对象")
|
||||
private String informUser;
|
||||
|
||||
}
|
@ -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:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_CAUSE")
|
||||
@Api("MES_设备故障原因")
|
||||
public class MesEquFaultCause extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825283741375978L;
|
||||
@Column(name = "FC_CODE")
|
||||
@ApiParam("故障原因代码")
|
||||
private String fcCode;
|
||||
|
||||
@Column(name = "FC_NAME")
|
||||
@ApiParam("故障原因描述")
|
||||
private String fcName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -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:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_METHOD")
|
||||
@Api("MES_设备故障处理措施")
|
||||
public class MesEquFaultMethod extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1366849727309967125L;
|
||||
@Column(name = "FM_CODE")
|
||||
@ApiParam("故障方法代码")
|
||||
private String fmCode;
|
||||
|
||||
@Column(name = "FM_NAME")
|
||||
@ApiParam("故障方法描述")
|
||||
private String fmName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -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:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_PHENOMENON")
|
||||
@Api("MES_设备故障现象")
|
||||
public class MesEquFaultPhenomenon extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4373435091738791300L;
|
||||
@Column(name = "FP_CODE")
|
||||
@ApiParam("故障现象代码")
|
||||
private String fpCode;
|
||||
|
||||
@Column(name = "FP_NAME")
|
||||
@ApiParam("故障现象描述")
|
||||
private String fpName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
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/4/22 11:03 上午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_OFF_LINE_RECORD")
|
||||
@Api("MES_产品下线记录")
|
||||
public class MesOffLineRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2767323581134885752L;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "WORK_ORDER_NO")
|
||||
@ApiParam("生产工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@Column(name = "OFF_LINE_TIME")
|
||||
@ApiParam("下线时间")
|
||||
private String offLineTime;
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
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_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 = "CAR_NO")
|
||||
@ApiParam("车号")
|
||||
private String carNo;
|
||||
|
||||
@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;
|
||||
|
||||
@Column(name = "JIT_LOT_NO")
|
||||
@ApiParam("JIT队列批次")
|
||||
private String jitLotNo;
|
||||
|
||||
@Column(name = "JIT_ACTUAL_NO")
|
||||
@ApiParam("客户JIT队列编号")
|
||||
private String jitActualNo;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
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_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,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,40 @@
|
||||
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: adair.song
|
||||
* @CreateDate: 2020\04\21 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SHIFT_CLASS")
|
||||
@Api("MES_班制表")
|
||||
public class MesShiftClass extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1222874834741345978L;
|
||||
@Column(name = "SHIFT_CLASS_CODE")
|
||||
@ApiParam("班制代码")
|
||||
private String shiftClassCode;
|
||||
|
||||
@Column(name = "SHIFT_CLASS_NAME")
|
||||
@ApiParam("班制名称")
|
||||
private String shiftClassName;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
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: adair.song
|
||||
* @CreateDate: 2020\04\21 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SHIFT_CLASS_DETAIL")
|
||||
@Api("MES_班制班次表")
|
||||
public class MesShiftClassDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1222874274741347278L;
|
||||
@Column(name = "SHIFT_CLASS_CODE")
|
||||
@ApiParam("班制代码")
|
||||
private String shiftClassCode;
|
||||
|
||||
@Column(name = "SHIFT_CLASS_NAME")
|
||||
@ApiParam("班制名称")
|
||||
private String shiftClassName;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "SHIFT_NAME")
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
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: adair.song
|
||||
* @CreateDate: 2020\04\21 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SKILLS")
|
||||
@Api("MES_技能表")
|
||||
public class MesSkills extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825214741345978L;
|
||||
@Column(name = "SKILL_CODE")
|
||||
@ApiParam("技能代码")
|
||||
private String skillCode;
|
||||
|
||||
@Column(name = "SKILL_NAME")
|
||||
@ApiParam("技能名称")
|
||||
private String skillName;
|
||||
}
|
@ -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,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,96 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.mes.model.StepResult;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @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 = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@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 = "TRIGGER_AMG_ID")
|
||||
@ApiParam("触发调用")
|
||||
private Long triggerAmgId;
|
||||
|
||||
@Column(name = "IN_AMG_ID")
|
||||
@ApiParam("进入调用")
|
||||
private Long inAmgId;
|
||||
|
||||
@Column(name = "OUT_AMG_ID")
|
||||
@ApiParam("离开调用")
|
||||
private Long outAmgId;
|
||||
|
||||
@Column(name = "STATUS_TYPE", columnDefinition = "tinyint default 0")
|
||||
@ApiParam("状态类型 10=初始化状态")
|
||||
private Integer statusType;
|
||||
|
||||
@Transient
|
||||
@ApiParam("状态点是否完成")
|
||||
private boolean isComplete;
|
||||
|
||||
@Transient
|
||||
@ApiParam("状态点是否完成")
|
||||
private boolean isJump;
|
||||
|
||||
@Transient
|
||||
@ApiParam("前端显示颜色")
|
||||
private String color;
|
||||
|
||||
@Transient
|
||||
@ApiParam("状态执行情况")
|
||||
private StepResult stepResult;
|
||||
}
|
@ -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_STEP_GROUP")
|
||||
@Api("工步集")
|
||||
public class MesStepGroup extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1876053661752102998L;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("组件集代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("执行顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -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,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:
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\04\21 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_USER_SKILL")
|
||||
@Api("MES_人员技能表")
|
||||
public class MesUserSkill extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1222847514741345978L;
|
||||
@Column(name = "USER_EMP_NO")
|
||||
@ApiParam("员工编码")
|
||||
private String userEmpNo;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam("员工名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "SKILL_CODE")
|
||||
@ApiParam("技能代码")
|
||||
private String skillCode;
|
||||
|
||||
@Column(name = "SKILL_NAME")
|
||||
@ApiParam("技能名称")
|
||||
private String skillName;
|
||||
|
||||
@Column(name = "SKILL_LEVEL")
|
||||
@ApiParam("技能等级")
|
||||
private String skillLevel;
|
||||
}
|
@ -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,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:
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\04\21 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_SKILL")
|
||||
@Api("MES_工位技能表")
|
||||
public class MesWorkCellSkill extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1239825214741345208L;
|
||||
@Column(name = "SKILL_CODE")
|
||||
@ApiParam("技能代码")
|
||||
private String skillCode;
|
||||
|
||||
@Column(name = "SKILL_NAME")
|
||||
@ApiParam("技能名称")
|
||||
private String skillName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
}
|
@ -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;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\04\21 13:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORKDAY")
|
||||
@Api("MES_工作日历表")
|
||||
public class MesWorkDay extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1222899824741345978L;
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_DATE")
|
||||
@ApiParam("日期")
|
||||
private String workDate;
|
||||
|
||||
@Column(name = "SHIFT_CLASS_CODE")
|
||||
@ApiParam("班制代码")
|
||||
private String shiftClassCode;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue