From f65443d8abeaedc9d102324565e8368e7c9d90c8 Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:41:54 +0800 Subject: [PATCH] commit --- src/main/java/com/gk/firework/Domain/ProductLocusInfo.java | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 158 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Domain/ProductLocusInfo.java b/src/main/java/com/gk/firework/Domain/ProductLocusInfo.java new file mode 100644 index 0000000..e522939 --- /dev/null +++ b/src/main/java/com/gk/firework/Domain/ProductLocusInfo.java @@ -0,0 +1,158 @@ +package com.gk.firework.Domain; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; + +import java.io.Serializable; +import java.util.Date; + +@TableName("productlocus") +public class ProductLocusInfo implements Serializable { + @TableField(exist = false) + private static final long serialVersionUID = 1L; + + /** 入库 **/ + public static final Byte ENTRY_STATUS = 1; + /** 退货入库 **/ + public static final Byte RETURN_ENTRY_STATUS = 2; + /** 出库 **/ + public static final Byte DELIVERY_STATUS = 3; + /** 销售 **/ + public static final Byte SALES_STATUS = 4; + /** 退库 **/ + public static final Byte RETURN_DELIVERY_STATUS = 5; + /** 生成电子标签 **/ + public static final Byte ELECTRONIC_LABEL_STATUS = 6; + /** 补打 **/ + public static final Byte REPLENISH_PRINT_STATUS = 7; + /** 电子标签回退 **/ + public static final Byte ELECTRONIC_LABEL_RETURN_STATUS = 8; + + /** id **/ + @TableId(type = IdType.AUTO) + private Long id; + + /** 流向码(19或者22位) directioncode **/ + private String directioncode; + + /** 创建时间 createddate **/ + private Date createddate; + + /** 修改时间 modifieddate **/ + private Date modifieddate; + + /** 流向轨迹内容 content **/ + private String content; + + /** 购买人信息表id customerid **/ + private Long customerid; + + /** 流向信息类型(1.入库;2.出库;) type **/ + private Byte type; + + /** 22位流向码(包装箱码) boxcode **/ + private String boxcode; + + /** id **/ + public Long getId() { + return id; + } + + /** id **/ + public void setId(Long id) { + this.id = id; + } + + /** 流向码(19或者22位) directioncode **/ + public String getDirectioncode() { + return directioncode; + } + + /** 流向码(19或者22位) directioncode **/ + public void setDirectioncode(String directioncode) { + this.directioncode = directioncode == null ? null : directioncode.trim(); + } + + /** 创建时间 createddate **/ + public Date getCreateddate() { + return createddate; + } + + /** 创建时间 createddate **/ + public void setCreateddate(Date createddate) { + this.createddate = createddate; + } + + /** 修改时间 modifieddate **/ + public Date getModifieddate() { + return modifieddate; + } + + /** + * 修改时间 modifieddate (原) + * 前台传递的创建时间 (现) + */ + public void setModifieddate(Date modifieddate) { + this.modifieddate = modifieddate; + } + + /** 流向轨迹内容 content **/ + public String getContent() { + return content; + } + + /** + * 流向轨迹内容 content (原) + * enterprise name 企业名称(现) + * */ + public void setContent(String content) { + this.content = content == null ? null : content.trim(); + } + + /** 购买人信息表id customerid **/ + public Long getCustomerid() { + return customerid; + } + + /** 购买人信息表id customerid **/ + public void setCustomerid(Long customerid) { + this.customerid = customerid; + } + + /** 流向信息类型(1.入库;2.出库;) type **/ + public Byte getType() { + return type; + } + + /** 流向信息类型(1.入库;2.退货入库;3.出库;4.销售;5.退库) type **/ + public void setType(Byte type) { + this.type = type; + } + + /** 22位流向码(包装箱码) boxcode **/ + public String getBoxcode() { + return boxcode; + } + + /** 22位流向码(包装箱码) boxcode **/ + public void setBoxcode(String boxcode) { + this.boxcode = boxcode == null ? null : boxcode.trim(); + } + + public ProductLocusInfo() { + } + + public ProductLocusInfo(String directioncode, Date createddate, Date modifieddate, + String content, Long customerid, Byte type, String boxcode) { + this.directioncode = directioncode; + this.createddate = createddate; + this.modifieddate = modifieddate; + this.content = content; + this.customerid = customerid; + this.type = type; + this.boxcode = boxcode; + } +} -- Gitblit v1.9.2