Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
b3a552d65d
@ -0,0 +1,47 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 打印模板
|
||||||
|
* @Reference :
|
||||||
|
* @Author : siliter
|
||||||
|
* @CreateDate : 2019-03-18 11:00
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="Mes_LABEL_TEMPLATE")
|
||||||
|
@Api(value="打印模板",description = "打印模板")
|
||||||
|
public class MesLabelTemplate extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 5371856566557305323L;
|
||||||
|
@Column(name="TEMPLATE_CODE")
|
||||||
|
@ApiParam(value ="模板代码")
|
||||||
|
private String templateCode;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATE_NAME")
|
||||||
|
@ApiParam(value ="模板名称")
|
||||||
|
private String templateName;
|
||||||
|
|
||||||
|
@Lob
|
||||||
|
@Column(name="TEMPLATE_CONTENT")
|
||||||
|
@ApiParam(value ="模板内容")
|
||||||
|
private String templateContent;
|
||||||
|
|
||||||
|
// 参数拼接,多参数都好分隔,后台在做处理
|
||||||
|
@ApiParam(value ="模板参数拼接")
|
||||||
|
@Transient
|
||||||
|
private String paramsPack;
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.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.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 打印模板参数
|
||||||
|
* @Reference :
|
||||||
|
* @Author : siliter
|
||||||
|
* @CreateDate : 2019-03-18 11:00
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="Mes_LABEL_TEMPLATE_PARAM")
|
||||||
|
@Api(value="打印模板参数",description = "打印模板参数")
|
||||||
|
public class MesLabelTemplateParam extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 6476163540527157643L;
|
||||||
|
@Column(name="TEMPLATE_ID")
|
||||||
|
@ApiParam(value ="模板ID" , access ="模板ID" ,example = "-1")
|
||||||
|
@JsonSerialize(using = ToStringSerializer.class)
|
||||||
|
private Long templateId;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATE_CODE")
|
||||||
|
@ApiParam(value ="模板代码")
|
||||||
|
private String templateCode;
|
||||||
|
|
||||||
|
@Column(name="TEMPLATE_PARAM")
|
||||||
|
@ApiParam(value ="模板参数")
|
||||||
|
private String templateParam;
|
||||||
|
|
||||||
|
@Lob
|
||||||
|
@Column(name="TEMPLATE_PARAM_TEXT")
|
||||||
|
@ApiParam(value ="模板参数描述")
|
||||||
|
private String templateParamText;
|
||||||
|
|
||||||
|
// 参数拼接,多参数都好分隔,后台在做处理
|
||||||
|
@ApiParam(value ="模板参数值")
|
||||||
|
@Transient
|
||||||
|
private String templateParamValue;
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: Wynne.Lu
|
||||||
|
* @CreateDate: 2019/8/19 7:00 PM
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("FastDfs文件model")
|
||||||
|
public class FastDfsDownloadModel {
|
||||||
|
|
||||||
|
@ApiParam("部分相对路径")
|
||||||
|
private String dirPath;
|
||||||
|
|
||||||
|
@ApiParam("文件名称")
|
||||||
|
private String fileName;
|
||||||
|
|
||||||
|
@ApiParam("文件字节")
|
||||||
|
private byte[] fileByte;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesArea;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesLabelTemplateParam;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesLabelTemplateParamRepository extends BaseRepository<MesLabelTemplateParam, Long> {
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesArea;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesLabelTemplate;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2019-04-02
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesLabelTemplateRepository extends BaseRepository<MesLabelTemplate, Long> {
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model;
|
||||||
|
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: Wynne.Lu
|
||||||
|
* @CreateDate: 2019/8/19 7:00 PM
|
||||||
|
* @Description:
|
||||||
|
**/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("FastDfs文件model")
|
||||||
|
public class FastDfsDownloadModel {
|
||||||
|
|
||||||
|
@ApiParam("部分相对路径")
|
||||||
|
private String dirPath;
|
||||||
|
|
||||||
|
@ApiParam("文件名称")
|
||||||
|
private String fileName;
|
||||||
|
|
||||||
|
@ApiParam("文件字节")
|
||||||
|
private byte[] fileByte;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,50 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 领料单模板
|
||||||
|
* @Reference :
|
||||||
|
* @author: amy.liu
|
||||||
|
* @date: 2019/8/19 17:10
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Api(value="领料单模板",description = "领料单模板")
|
||||||
|
public class WmsPickingMovement extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 2167743108452607620L;
|
||||||
|
|
||||||
|
@ApiParam(value = "领料单号")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String orderNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "物料编码")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "领料数量")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
@ApiParam(value = "源存储区")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String srcZoneNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "目标存储区")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String destZoneNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "目标库位")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String destLocateNo;
|
||||||
|
|
||||||
|
@ApiParam(value = "工厂")
|
||||||
|
@AnnoOutputColumn
|
||||||
|
private String factory;
|
||||||
|
}
|
Loading…
Reference in New Issue