From 472adfd03c8638c37bb96bcca61b9a752962c388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E6=B4=81?= Date: Tue, 31 Dec 2019 10:41:14 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90KT-1339=20=E5=AE=89=E5=85=A8=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E6=8B=89=E5=8A=A8=EF=BC=8C=E6=96=B0=E5=A2=9E=E4=BD=8E?= =?UTF-8?q?=E4=BA=8E=E8=B5=B7=E8=AE=A2=E9=87=8F=E6=A6=82=E5=BF=B5=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/estsh/i3plus/pojo/wms/bean/WmsZonePart.java | 73 ++++++++++++++++++++++ .../pojo/wms/repository/WmsZonePartRepository.java | 17 +++++ 2 files changed, 90 insertions(+) create mode 100644 modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsZonePart.java create mode 100644 modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsZonePartRepository.java diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsZonePart.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsZonePart.java new file mode 100644 index 0000000..11d9020 --- /dev/null +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/bean/WmsZonePart.java @@ -0,0 +1,73 @@ +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.ColumnDefault; +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 : jessica.chen + * @CreateDate : 2018-11-07 14:21 + * @Modify: + **/ +@Data +@Entity +@DynamicInsert +@DynamicUpdate +@EqualsAndHashCode(callSuper = true) +@Table(name="WMS_ZONE_PART") +@Api("库区物料") +public class WmsZonePart extends BaseBean{ + + private static final long serialVersionUID = 9214639813072592546L; + @Column(name="ZONE_NO") + @ApiParam("存储区编号") + private String zoneNo; + + @Column(name="PART_NO") + @ApiParam("物料编码") + private String partNo; + + @Column(name="PART_NAME_RDD") + @ApiParam("物料名称") + private String partNameRdd; + + @Column(name="PULL_QTY", columnDefinition = "decimal(18,8)") + @ColumnDefault("0") + @ApiParam(value = "拉动数量", example = "0") + private Double pullQty; + + @Column(name="MAX", columnDefinition = "decimal(18,8)") + @ColumnDefault("0") + @ApiParam(value = "最大值", example = "0") + private Double max; + + @Column(name="MIN", columnDefinition = "decimal(18,8)") + @ColumnDefault("0") + @ApiParam(value = "最小值", example = "0") + private Double min; + + @Column(name = "IS_GENERATE_PICKLIST") + @ApiParam(value = "是否生成领料单", example = "2") + private Integer isGeneratePickList; + + @Column(name="MOQ", columnDefinition = "decimal(18,8)") + @ColumnDefault("0") + @ApiParam(value = "起订量", example = "0") + private Double moq; + + @Column(name="SAFETY_QTY", columnDefinition = "decimal(18,8)") + @ColumnDefault("0") + @ApiParam(value = "安全量", example = "0") + private Double safetyQty; +} \ No newline at end of file diff --git a/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsZonePartRepository.java b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsZonePartRepository.java new file mode 100644 index 0000000..ecfa631 --- /dev/null +++ b/modules/i3plus-pojo-wms/src/main/java/cn/estsh/i3plus/pojo/wms/repository/WmsZonePartRepository.java @@ -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.BasCustomer; +import cn.estsh.i3plus.pojo.wms.bean.WmsZonePart; +import org.springframework.stereotype.Repository; + +/** + * @Description :库区物料 + * @Reference : + * @Author : jessica.chen + * @CreateDate : 2019-12-30 17:27 + * @Modify: + **/ +@Repository +public interface WmsZonePartRepository extends BaseRepository { +}