add 入库pojo 和response
parent
15d399e4c7
commit
e52c310d38
@ -0,0 +1,45 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :存储区
|
||||||
|
* @Reference :
|
||||||
|
* @Author : hansen.ke
|
||||||
|
* @CreateDate : 2018-11-06 11:50
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@Table(name="WMS_PART_ROUTING")
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api(value="物料线路关系表",description = "物料线路关系表")
|
||||||
|
public class WmsPartRouting extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 7759454799191378612L;
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam(value = "物料编号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "ROUTING_CODE")
|
||||||
|
@ApiParam(value = "线路编号")
|
||||||
|
private String areaNo;
|
||||||
|
|
||||||
|
|
||||||
|
public WmsPartRouting(){}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,62 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.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.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :存储区
|
||||||
|
* @Reference :
|
||||||
|
* @Author : hansen.ke
|
||||||
|
* @CreateDate : 2018-11-06 11:50
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@Table(name="WMS_ROUTING")
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Api(value="物流线路信息表",description = "物流线路信息表")
|
||||||
|
public class WmsRouting extends BaseBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 7759454799191378612L;
|
||||||
|
@Column(name = "ROUTING_CODE")
|
||||||
|
@ApiParam(value = "线路代码")
|
||||||
|
private String routingCode;
|
||||||
|
|
||||||
|
@Column(name = "ROUTING_NAME")
|
||||||
|
@ApiParam(value = "线路名称")
|
||||||
|
private String routingName;
|
||||||
|
|
||||||
|
@Column(name = "ROUTING_DESC")
|
||||||
|
@ApiParam(value = "线路描述")
|
||||||
|
private String routingDesc;
|
||||||
|
|
||||||
|
@Column(name = "FOR_PROUCT_CLASS")
|
||||||
|
@ApiParam(value = "适用产品分类")
|
||||||
|
private Integer forProductClass;
|
||||||
|
|
||||||
|
@Column(name = "FOR_WAREHOUSE")
|
||||||
|
@ApiParam(value = "适用仓库", example ="1")
|
||||||
|
private Integer forWareHouse;
|
||||||
|
|
||||||
|
@Column(name = "FOR_PRODUCT")
|
||||||
|
@ApiParam(value = "适用产品")
|
||||||
|
private Integer forProduct;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public WmsRouting(){}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,18 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsPartRouting;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :对象持久层仓用方法控制(存储区信息)
|
||||||
|
* @Reference :
|
||||||
|
* @Author : hansen.ke
|
||||||
|
* @CreateDate : 2018-11-06 13:40
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsPartRoutingRepository extends BaseRepository<WmsPartRouting ,Long> {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsRouting;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :对象持久层仓用方法控制(存储区信息)
|
||||||
|
* @Reference :
|
||||||
|
* @Author : hansen.ke
|
||||||
|
* @CreateDate : 2018-11-06 13:40
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsRoutingRepository extends BaseRepository<WmsRouting ,Long> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsRoutingRule;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :对象持久层仓用方法控制(存储区信息)
|
||||||
|
* @Reference :
|
||||||
|
* @Author : hansen.ke
|
||||||
|
* @CreateDate : 2018-11-06 13:40
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsRoutingRoleRepository extends BaseRepository<WmsRoutingRule ,Long> {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue