add 入库pojo 和response

yun-zuoyi
bleakney.liu 6 years ago
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,85 @@
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_RULE")
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Api(value="物流线路规则表",description = "物流线路规则表")
public class WmsRoutingRule extends BaseBean {
private static final long serialVersionUID = 7759454799191378612L;
@Column(name = "RULE_CODE")
@ApiParam(value = "规则编号")
private String ruleCode;
@Column(name = "RULE_NAME")
@ApiParam(value = "规则名称")
private String ruleName;
@Column(name = "RULE_DESC")
@ApiParam(value = "规则描述")
private String ruleDesc;
@Column(name = "SEQ")
@ApiParam(value = "排序号")
private Integer seq;
@Column(name = "RULE_TYPE")
@ApiParam(value = "规则类型(10 推动规则20 补货规则)", example ="10")
private Integer ruleType;
@Column(name = "ZONE_NO_SRC")
@ApiParam(value = "源存储区")
private String zoneNoSrc;
@Column(name = "ZONE_NO_TARGET")
@ApiParam(value = "目标存储区" , example = "2")
private String zoneNoTarget;
@Column(name = "OP_TYPE_CODE")
@ApiParam(value = "作业类型" , example = "2")
private String opTypeCode;
@Column(name = "TRANS_TYPE_CODE")
@ApiParam(value = "交易类型" , example = "1")
private String transTypeCode;
@Column(name = "MODE_CODE")
@ApiParam(value = "处理模式(10:生成任务,20:自动操作,30手工操作40:自动操作 无交易)" , example = "1")
private Integer modeCode;
@Column(name = "DELAY_TIME")
@ApiParam(value = "延迟时间" , example = "1")
private Integer dalayTime;
@Column(name = "DELAY_UNIT")
@ApiParam(value = "延迟时间单位(M:分钟D:天)")
private String delayUnit;
public WmsRoutingRule(){}
}

@ -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…
Cancel
Save