Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
d59318a024
@ -0,0 +1,110 @@
|
||||
package cn.estsh.i3plus.pojo.base.enumutil;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
||||
/**
|
||||
* @Description : sweb枚举类
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-04-02 20:21
|
||||
* @Modify:
|
||||
**/
|
||||
public class SwebEnumUtil {
|
||||
|
||||
/**
|
||||
* 单据主表状态(ASN,PO,MOVE,QC)
|
||||
*/
|
||||
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
||||
public enum ORDER_MASTER_STATUS {
|
||||
CREATE(10, "新建"),
|
||||
RECEIPT(20, "已发布"),
|
||||
RECEIPT_FINISH(30, "已确认"),
|
||||
CLOSED(40, "已打印"),
|
||||
CANCELLED(50, "已发货");
|
||||
|
||||
private int value;
|
||||
private String description;
|
||||
|
||||
ORDER_MASTER_STATUS(int value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public static String valueOf(int val) {
|
||||
String tmp = null;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].value == val) {
|
||||
tmp = values()[i].description;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
|
||||
public static int descOf(String desc) {
|
||||
int tmp = 1;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].description.equals(desc)) {
|
||||
tmp = values()[i].value;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单明细状态
|
||||
*/
|
||||
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
||||
public enum ORDER_DETAILS_STATUS {
|
||||
CREATE(10, "新建"),
|
||||
RECEIPT(20, "已发布"),
|
||||
RECEIPT_FINISH(30, "已确认"),
|
||||
CLOSED(40, "已打印"),
|
||||
CANCELLED(50, "已发货");
|
||||
|
||||
private int value;
|
||||
private String description;
|
||||
|
||||
ORDER_DETAILS_STATUS(int value, String description) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public int getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public static String valueOf(int val) {
|
||||
String tmp = null;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].value == val) {
|
||||
tmp = values()[i].description;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
|
||||
public static int descOf(String desc) {
|
||||
int tmp = 1;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].description.equals(desc)) {
|
||||
tmp = values()[i].value;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-09-04 15:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Entity
|
||||
@Table(name="machine_factory")
|
||||
@Api("工厂")
|
||||
public class MachineFactory extends BaseBean {
|
||||
|
||||
@Column(name="factory_code")
|
||||
@ApiParam("工厂代码")
|
||||
private String factoryCode;
|
||||
|
||||
@Column(name="factory_name")
|
||||
@ApiParam("工厂名称")
|
||||
private String factoryName;
|
||||
|
||||
public MachineFactory() {
|
||||
}
|
||||
|
||||
public MachineFactory(String factoryCode, String factoryName) {
|
||||
this.factoryCode = factoryCode;
|
||||
this.factoryName = factoryName;
|
||||
}
|
||||
|
||||
public String getFactoryCode() {
|
||||
return factoryCode;
|
||||
}
|
||||
|
||||
public void setFactoryCode(String factoryCode) {
|
||||
this.factoryCode = factoryCode;
|
||||
}
|
||||
|
||||
public String getFactoryName() {
|
||||
return factoryName;
|
||||
}
|
||||
|
||||
public void setFactoryName(String factoryName) {
|
||||
this.factoryName = factoryName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MachineFactory{" +
|
||||
"factoryCode='" + factoryCode + '\'' +
|
||||
", factoryName='" + factoryName + '\'' +
|
||||
", id=" + id +
|
||||
", createDate='" + createDatetime + '\'' +
|
||||
", modifyDate='" + modifyDatetime + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2018-09-04 15:58
|
||||
* @Modify::
|
||||
**/
|
||||
public class WorkPlan {
|
||||
private String desc;
|
||||
|
||||
public String getDesc() {
|
||||
return desc;
|
||||
}
|
||||
|
||||
public void setDesc(String desc) {
|
||||
this.desc = desc;
|
||||
}
|
||||
}
|
@ -1,73 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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 : Adair Peng
|
||||
* @CreateDate : 2019-03-21 13:14
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BF_ELEMENT")
|
||||
@Api(value = "对象元素基础", description = "元素基础表")
|
||||
public class BfElement extends BaseBean {
|
||||
|
||||
//外键关联数据对象主键
|
||||
@Column(name = "ELEMENT_INFO_ID")
|
||||
@ApiParam(value = "对象元素明细ID", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long elementInfoId;
|
||||
|
||||
//外键关联数据对象主键
|
||||
@Column(name = "DATA_OBJECT_ID")
|
||||
@ApiParam(value = "数据对象ID", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long dataObjectId;
|
||||
|
||||
@Column(name="ELEMENT_TYPE")
|
||||
@ApiParam(value ="元素类型")
|
||||
private Integer elementType;
|
||||
|
||||
@Column(name="ELEMENT_NAME")
|
||||
@ApiParam(value ="元素名称")
|
||||
private String elementName;
|
||||
|
||||
@Column(name="ELEMENT_CODE")
|
||||
@ApiParam(value ="元素编码")
|
||||
private String elementCode;
|
||||
|
||||
@Column(name="ELEMENT_ATTR_ID")
|
||||
@ApiParam(value ="默认排序属性")
|
||||
private String elementAttrId;
|
||||
|
||||
@Column(name="ELEMENT_SORT_TYPE")
|
||||
@ApiParam(value ="默认排序规则")
|
||||
private String elementSortType;
|
||||
|
||||
@Column(name="ELEMENT_CSS_STYLE")
|
||||
@ApiParam(value ="元素样式")
|
||||
private String elementCssStyle;
|
||||
|
||||
@Column(name="ELEMENT_DESCRIPTION")
|
||||
@ApiParam(value ="元素描述")
|
||||
private String elementDescription;
|
||||
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_AREA")
|
||||
@Api("生产区域")
|
||||
public class MesArea extends BaseBean {
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name="AREA_NAME")
|
||||
@ApiParam("区域名称")
|
||||
private String areaName;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROCESS")
|
||||
@Api("工序")
|
||||
public class MesProcess extends BaseBean {
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "PROCESS_NAME")
|
||||
@ApiParam("工序名称")
|
||||
private String processName;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_ROUTE_CFG")
|
||||
@Api("产品类流程配置表")
|
||||
public class MesProdRouteCfg extends BaseBean {
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :产品流程配置操作参数表
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_ROUTE_OPT_PARAM")
|
||||
@Api("产品流程配置操作参数表")
|
||||
public class MesProdRouteOptParam extends BaseBean {
|
||||
@Column(name = "PROD_ROUTE_CFG_ID")
|
||||
@ApiParam("产品流程ID")
|
||||
private Long 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_CODE")
|
||||
@ApiParam("工步参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("工步参数值")
|
||||
private String paramValue;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ROUTE")
|
||||
@Api("流程表")
|
||||
public class MesRoute extends BaseBean {
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "ROUTE_NAME")
|
||||
@ApiParam("流程名称")
|
||||
private String routeName;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :流程工序关系
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ROUTE_PROCESS")
|
||||
@Api("流程工序关系")
|
||||
public class MesRouteProcess extends BaseBean {
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "NEXT_PROCESS")
|
||||
@ApiParam("下一工序")
|
||||
private String nextProcess;
|
||||
|
||||
@Column(name = "REPAIR_PROCESS")
|
||||
@ApiParam("维修工序")
|
||||
private String repairProcess;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("顺序")
|
||||
private Integer seq;
|
||||
|
||||
@Column(name = "IS_NECESSARY")
|
||||
@ApiParam("是否必须")
|
||||
private Integer isNecessary;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ROUTE_PROCESS_CELL")
|
||||
@Api("工序工作单元对照")
|
||||
public class MesRouteProcessCell extends BaseBean {
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :流程工序工步关系
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ROUTE_PROCESS_STEP")
|
||||
@Api("流程工序工步关系")
|
||||
public class MesRouteProcessStep extends BaseBean {
|
||||
@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_CODE")
|
||||
@ApiParam("工步参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("工步参数值")
|
||||
private String paramValue;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :工步
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STEP")
|
||||
@Api("工步")
|
||||
public class MesStep extends BaseBean {
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "STEP_NAME")
|
||||
@ApiParam("工步名称")
|
||||
private String stepName;
|
||||
|
||||
@Column(name = "STEP_TEXT")
|
||||
@ApiParam("工步描述")
|
||||
private String stepText;
|
||||
|
||||
@Column(name = "STEP_TYPE")
|
||||
@ApiParam("工步类型")
|
||||
private String stepType;
|
||||
|
||||
@Column(name = "STEP_OBJECT")
|
||||
@ApiParam("工步对象")
|
||||
private String stepObject;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :工步参数
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STEP_PARAM")
|
||||
@Api("工步参数")
|
||||
public class MesStepParam extends BaseBean {
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_ATTRIBUTE")
|
||||
@ApiParam("参数属性")
|
||||
private String paramAttribute;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :工作单元
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL")
|
||||
@Api("工作单元")
|
||||
public class MesWorkCell extends BaseBean {
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @Description :工作中心
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CENTER")
|
||||
@Api("工作中心")
|
||||
public class MesWorkCenter extends BaseBean {
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "ERP_WORK_CENTER")
|
||||
@ApiParam("ERP工作中心")
|
||||
private String erpWorkCenter;
|
||||
|
||||
@Column(name = "WORK_VER")
|
||||
@ApiParam("工作版本")
|
||||
private String workVer;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.BfElement;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Adair Peng
|
||||
* @CreateDate : 2019-03-21 15:24
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BfElementRepository extends BaseRepository<BfElement,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesAreaRepository extends BaseRepository<MesArea, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellRepository extends BaseRepository<MesWorkCell, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCell;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCenter;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCenterRepository extends BaseRepository<MesWorkCenter, Long> {
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.bean.ListPager;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.SwebPurchaseChangeLog;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 查看订单明细修改历史
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-04-02 13:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SwebPODetailsUpdateHistoryModel extends BaseBean {
|
||||
|
||||
@ApiParam("单据号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("供应商编号")
|
||||
private String vendorCode;
|
||||
|
||||
@ApiParam(value = "零件号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam(value = "零件名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam(value = "订单数量")
|
||||
private Double refQty;
|
||||
|
||||
@ApiParam(value = "确认到货数量")
|
||||
private Double confirmQty;
|
||||
|
||||
@ApiParam(value = "变更列表")
|
||||
private ListPager<SwebPurchaseChangeLog> history;
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 待发布订单列表输入模型
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-04-02 13:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SwebPOForPubListEnterModel extends BaseBean {
|
||||
|
||||
@ApiParam("单据号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("供应商编号")
|
||||
private String vendorCode;
|
||||
|
||||
@ApiParam(value = "订单类型", example = "1")
|
||||
public Integer orderType;
|
||||
|
||||
@ApiParam(value = "预计到货日期开始日期")
|
||||
public String recTimeStart;
|
||||
|
||||
@ApiParam(value = "预计到货日期结束日期")
|
||||
public String recTimeEnd;
|
||||
|
||||
@ApiParam(value = "零件号")
|
||||
private String partNo;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import org.hibernate.annotations.ColumnDefault;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 待发布订单列表输出模型
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-04-02 13:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SwebPOForPubListResultModel extends BaseBean {
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单据号")
|
||||
public String orderNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam(value = "零件名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam(value = "单位")
|
||||
@Column(name = "UNIT")
|
||||
private String unit;
|
||||
|
||||
@ApiParam(value = "订单状态", example = "1")
|
||||
@Column(name = "ITEM_STATUS")
|
||||
private Integer itemStatus;
|
||||
|
||||
@ApiParam(value = "订单类型", example = "1")
|
||||
@Column(name = "ORDER_TYPE")
|
||||
public Integer orderType;
|
||||
|
||||
@ApiParam(value = "时间数量列表", example = "1")
|
||||
public List<Map<String,Double>> timeList;
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-04-02 13:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SwebPurchaseForPubListModel {
|
||||
}
|
Loading…
Reference in New Issue