Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
86c9bce2aa
@ -0,0 +1,81 @@
|
|||||||
|
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/4/18 21:05
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "IF_PART_PULL")
|
||||||
|
@Api("IF_物料拉动")
|
||||||
|
public class IfPartPull extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -2733956307324895596L;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("产线")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工位")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "ORDER_NO")
|
||||||
|
@ApiParam("工单号")
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@Column(name = "PACKAGE_NO")
|
||||||
|
@ApiParam("包装编号")
|
||||||
|
private String packageNo;
|
||||||
|
|
||||||
|
@Column(name = "PARENT_PART_NO")
|
||||||
|
@ApiParam("产品物料编码")
|
||||||
|
private String parentPartNo;
|
||||||
|
|
||||||
|
@Column(name = "ITEM_PART_NO")
|
||||||
|
@ApiParam("子物料编码")
|
||||||
|
private String itemPartNo;
|
||||||
|
|
||||||
|
@Column(name = "QTY")
|
||||||
|
@ApiParam("拉动数量")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
@Column(name = "ORGANIZTION_CODE")
|
||||||
|
@ApiParam("工厂代码")
|
||||||
|
private String organizationCode;
|
||||||
|
|
||||||
|
@Column(name = "SYNC_STATUS")
|
||||||
|
@ApiParam("同步状态")
|
||||||
|
private Integer syncStatus;
|
||||||
|
|
||||||
|
@Column(name = "ERROR_MESSAGE")
|
||||||
|
@ApiParam("异常消息")
|
||||||
|
@Lob
|
||||||
|
private String errorMessage;
|
||||||
|
|
||||||
|
@Column(name = "ACTION_CODE")
|
||||||
|
@ApiParam("动作代码")
|
||||||
|
private String actionCode;
|
||||||
|
|
||||||
|
@Column(name = "IF_CODE")
|
||||||
|
@ApiParam("接口代码")
|
||||||
|
private String ifCode;
|
||||||
|
}
|
@ -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/8/1 5:55 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_BOARD_DISPLAY")
|
||||||
|
@Api("MES_看板跑马灯")
|
||||||
|
public class MesBoardDisplay extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -1537754345697889680L;
|
||||||
|
|
||||||
|
@Column(name = "BOARD_CODE")
|
||||||
|
@ApiParam("看板代码")
|
||||||
|
private String boardCode;
|
||||||
|
|
||||||
|
@Column(name = "DISPLAY_CONTENT")
|
||||||
|
@ApiParam("显示内容")
|
||||||
|
private String displayContent;
|
||||||
|
|
||||||
|
@Column(name = "IS_ROLL")
|
||||||
|
@ApiParam("是否滚动")
|
||||||
|
private Integer isRoll;
|
||||||
|
|
||||||
|
@Column(name = "ROLL_SPEED")
|
||||||
|
@ApiParam("滚动速度")
|
||||||
|
private Integer rollSpeed;
|
||||||
|
}
|
@ -0,0 +1,50 @@
|
|||||||
|
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/8/3 17:51
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_HNC_AGV_RUNNING")
|
||||||
|
@Api("延锋海纳川agv运行状态表")
|
||||||
|
public class MesHncAgvRunning extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 4293079676019967513L;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("产线")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工位")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "TIME_OUT")
|
||||||
|
@ApiParam("倒计时超时")
|
||||||
|
private Integer timeOut;
|
||||||
|
|
||||||
|
@Column(name = "DELAY_HELP")
|
||||||
|
@ApiParam("延时帮助")
|
||||||
|
private Integer delayHelp;
|
||||||
|
|
||||||
|
@Column(name = "EMERGENCY_STOP")
|
||||||
|
@ApiParam("紧急停止")
|
||||||
|
private Integer emergencyStop;
|
||||||
|
}
|
@ -0,0 +1,106 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/7/28 2:37 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class BiModel {
|
||||||
|
@ApiParam("工作中心代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@ApiParam("工作中心名称")
|
||||||
|
private String workCenterName;
|
||||||
|
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@ApiParam(value = "物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "物料名称")
|
||||||
|
private String partName;
|
||||||
|
|
||||||
|
@ApiParam(value = "计划数量")
|
||||||
|
private double planQty;
|
||||||
|
|
||||||
|
@ApiParam(value = "合格数量")
|
||||||
|
private double passQty = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "不良数量")
|
||||||
|
private double ngQty = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "实际数量")
|
||||||
|
private double actualQty = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "合格率")
|
||||||
|
private double passRate;
|
||||||
|
|
||||||
|
@ApiParam(value = "不良率")
|
||||||
|
private double ngRate;
|
||||||
|
|
||||||
|
@ApiParam(value = "警戒值")
|
||||||
|
private double sentinelValue;
|
||||||
|
|
||||||
|
@ApiParam(value = "总数")
|
||||||
|
private double total;
|
||||||
|
|
||||||
|
@ApiParam(value = "合格数")
|
||||||
|
private double qualifiedQty = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "不合格数")
|
||||||
|
private double unQualifiedQty = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "合格率")
|
||||||
|
private double qualifiedRate = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "一次合格率")
|
||||||
|
private double onceQualifiedRate = 0;
|
||||||
|
|
||||||
|
@ApiParam(value = "不合格率")
|
||||||
|
private double unQualifiedRate = 0;
|
||||||
|
|
||||||
|
@ApiParam("目标合格率")
|
||||||
|
private double targetPassRate;
|
||||||
|
|
||||||
|
@ApiParam("颜色标识")
|
||||||
|
private Integer colorFlag = 0;
|
||||||
|
|
||||||
|
@ApiParam("首检")
|
||||||
|
private Integer firstCheck;
|
||||||
|
|
||||||
|
@ApiParam("巡检")
|
||||||
|
private Integer onSiteCheck;
|
||||||
|
|
||||||
|
@ApiParam("首件")
|
||||||
|
private Integer firstArticle;
|
||||||
|
|
||||||
|
@ApiParam("中件")
|
||||||
|
private Integer mediumSized;
|
||||||
|
|
||||||
|
@ApiParam("末件")
|
||||||
|
private Integer lastPiece;
|
||||||
|
|
||||||
|
@ApiParam("末检")
|
||||||
|
private Integer endCheck;//首件、30中件、40末件
|
||||||
|
|
||||||
|
@ApiParam("x坐标内容")
|
||||||
|
private List<String> xAxis;
|
||||||
|
|
||||||
|
@ApiParam("一些携带值 eg:异常类型,异常次数")
|
||||||
|
private Map<String, Object> carryMap;
|
||||||
|
|
||||||
|
@ApiParam("图表显示的数据")
|
||||||
|
private List<ProductBiSeriesModel> series;
|
||||||
|
|
||||||
|
@ApiParam("列名")
|
||||||
|
private Map<String, String> colMap;
|
||||||
|
}
|
@ -0,0 +1,24 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class TorqueReviewModel {
|
||||||
|
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@ApiParam("工作单元名称")
|
||||||
|
private String workCellName;
|
||||||
|
|
||||||
|
@ApiParam("枪类型")
|
||||||
|
private String gunType;
|
||||||
|
|
||||||
|
@ApiParam("检测结果")
|
||||||
|
private String checkResult;
|
||||||
|
|
||||||
|
@ApiParam("显示颜色")
|
||||||
|
private String showColor;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.IfPartPull;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.IfRawPartData;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @CreateDate : 2020-04-21 09:53
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface IfPartPullRepository extends BaseRepository<IfPartPull, Long> {
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesBoardDisplay;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2020/8/1 6:03 下午
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
public interface MesBoardDisplayRepository extends BaseRepository<MesBoardDisplay, Long> {
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesHncAgvRunning;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2020/8/3 17:54
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
public interface MesHncAgvRunningRepository extends BaseRepository<MesHncAgvRunning, Long> {
|
||||||
|
}
|
@ -0,0 +1,107 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.softswitch.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.BlockSoftSwitchEnumUtil;
|
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||||
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.apache.commons.lang3.math.NumberUtils;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 业务脚本
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2020-07-28 14:35
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "BS_BUSI_SCRIPT")
|
||||||
|
@ApiModel(value = "业务脚本", description = "业务脚本")
|
||||||
|
public class BsBusiScript extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1419277265159912600L;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_NAME")
|
||||||
|
@ApiModelProperty(value = "脚本名称")
|
||||||
|
private String scriptName;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_CODE")
|
||||||
|
@ApiModelProperty(value = "脚本代码")
|
||||||
|
private String scriptCode;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_TYPE")
|
||||||
|
@ApiModelProperty(value = "脚本类型")
|
||||||
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.BS_SCRIPT_TYPE.class)
|
||||||
|
private Integer scriptType;
|
||||||
|
|
||||||
|
public String getScriptTypeTxt() {
|
||||||
|
return scriptType == null ? "无" : BlockSoftSwitchEnumUtil.BS_SCRIPT_TYPE.valueOfDescription(scriptType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_LANGUAGE")
|
||||||
|
@ApiModelProperty(value = "脚本语言")
|
||||||
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.BS_SCRIPT_LANGUAGE.class)
|
||||||
|
private Integer scriptLanguage;
|
||||||
|
|
||||||
|
public String getScriptLanguageTxt() {
|
||||||
|
return scriptLanguage == null ? "无" : BlockSoftSwitchEnumUtil.BS_SCRIPT_LANGUAGE.valueOfDescription(scriptLanguage);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_EXECUTE_METHOD")
|
||||||
|
@ApiModelProperty(value = "脚本执行方式")
|
||||||
|
@AnnoOutputColumn(refClass = BlockSoftSwitchEnumUtil.BS_SCRIPT_EXECUTE_METHOD.class)
|
||||||
|
private Integer scriptExecuteMethod;
|
||||||
|
|
||||||
|
public String getScriptExecuteMethodTxt() {
|
||||||
|
return scriptExecuteMethod == null ? "无" : BlockSoftSwitchEnumUtil.BS_SCRIPT_EXECUTE_METHOD.valueOfDescription(scriptExecuteMethod);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_OBJ_NAME")
|
||||||
|
@ApiModelProperty(value = "脚本对象名称")
|
||||||
|
private String scriptObjName;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_METHOD_NAME")
|
||||||
|
@ApiModelProperty(value = "脚本方法名称")
|
||||||
|
private String scriptMethodName;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_CONTENT")
|
||||||
|
@ApiModelProperty(value = "脚本内容")
|
||||||
|
private String scriptContent;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_DESC")
|
||||||
|
@ApiModelProperty(value = "脚本描述")
|
||||||
|
private String scriptDesc;
|
||||||
|
|
||||||
|
@Column(name = "REF_ID")
|
||||||
|
@ApiModelProperty(value = "关联id")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long refId;
|
||||||
|
|
||||||
|
@Column(name = "SCRIPT_VERSION")
|
||||||
|
@ApiModelProperty(value = "脚本版本")
|
||||||
|
private Integer scriptVersion;
|
||||||
|
|
||||||
|
public int getScriptVersion(){
|
||||||
|
return scriptVersion == null ? NumberUtils.INTEGER_ONE : scriptVersion;
|
||||||
|
}
|
||||||
|
|
||||||
|
public BsBusiScript nextVersion() {
|
||||||
|
setScriptVersion(getScriptVersion() + 1);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.softswitch.bean.BsBusiScript;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 业务脚本
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2020-07-28 15:13
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface BsBusiScriptRepository extends BaseRepository<BsBusiScript,Long> {
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||||
|
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 : jason.niu
|
||||||
|
* @CreateDate : 2020-07-30
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "WMS_ENUM")
|
||||||
|
@Api("数据字典-枚举")
|
||||||
|
public class WmsEnum extends BaseBean {
|
||||||
|
private static final long serialVersionUID = -6422649826279645604L;
|
||||||
|
|
||||||
|
@Column(name = "ENUM_TYPE")
|
||||||
|
@ApiParam(value = "枚举类型")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String enumType;
|
||||||
|
|
||||||
|
@Column(name = "ENUM_TYPE_DESC")
|
||||||
|
@ApiParam(value = "枚举类型描述")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String enumTypeDesc;
|
||||||
|
|
||||||
|
@Column(name = "ENUM_VALUE_SEQ")
|
||||||
|
@ApiParam(value = "枚举值序号")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER)
|
||||||
|
private Integer enumValueSeq;
|
||||||
|
|
||||||
|
@Column(name = "ENUM_VALUE")
|
||||||
|
@ApiParam(value = "枚举值")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String enumValue;
|
||||||
|
|
||||||
|
@Column(name = "ENUM_VALUE_DESC")
|
||||||
|
@ApiParam(value = "枚举值描述")
|
||||||
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
||||||
|
private String enumValueDesc;
|
||||||
|
}
|
@ -0,0 +1,30 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.dto;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsDocMovementDetails;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :单据
|
||||||
|
* @Reference :
|
||||||
|
* @Author :puxiao.liao
|
||||||
|
* @CreateDate : 2020-07-21 2:37 下午
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Api("单据")
|
||||||
|
public class WmsDocMovementMasterDto implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -1388177116144308137L;
|
||||||
|
|
||||||
|
@ApiParam("工厂编号")
|
||||||
|
private String organizeCode;
|
||||||
|
|
||||||
|
@ApiParam("单据明细")
|
||||||
|
private List<WmsDocMovementDetails> wmsDocMovementDetailsList;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsEnum;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface WmsEnumRepository extends BaseRepository<WmsEnum, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue