Wave.java 5.46 KB
package com.huaheng.pc.shipment.wave.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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel(value="com.huaheng.pc.shipment.wave.domain.Wave")
@Data
@TableName(value = "wave")
public class Wave implements Serializable {
    /**
     * 波次内部号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="波次内部号")
    private Integer id;

    /**
     * 仓库
     */
    @TableField(value = "warehouseCode")
    @ApiModelProperty(value="仓库")
    private String warehouseCode;

    /**
     * 波次名称
     */
    @TableField(value = "waveName")
    @ApiModelProperty(value="波次名称")
    private String waveName;

    /**
     * 波次主表
     */
    @TableField(value = "masterCode")
    @ApiModelProperty(value="波次主表")
    private String masterCode;

    /**
     * 状态
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态")
    private Integer status;

    /**
     * 当前波次步骤
     */
    @TableField(value = "currentWaveStep")
    @ApiModelProperty(value="当前波次步骤")
    private String currentWaveStep;

    /**
     * 上一波次步骤
     */
    @TableField(value = "lastWaveStep")
    @ApiModelProperty(value="上一波次步骤")
    private String lastWaveStep;

    /**
     * 总单数
     */
    @TableField(value = "totalShipments")
    @ApiModelProperty(value="总单数")
    private Integer totalShipments;

    /**
     * 总行数
     */
    @TableField(value = "totalLines")
    @ApiModelProperty(value="总行数")
    private Integer totalLines;

    /**
     * 总数量
     */
    @TableField(value = "totalQty")
    @ApiModelProperty(value="总数量")
    private BigDecimal totalQty;

    /**
     * 波次开始时间
     */
    @TableField(value = "startedAt")
    @ApiModelProperty(value="波次开始时间")
    private Date startedAt;

    /**
     * 波次结束时间
     */
    @TableField(value = "completedAt")
    @ApiModelProperty(value="波次结束时间")
    private Date completedAt;

    /**
     * 波次模式
     */
    @TableField(value = "waveMode")
    @ApiModelProperty(value="波次模式")
    private String waveMode;

    /**
     * 错误信息
     */
    @TableField(value = "errorMessage")
    @ApiModelProperty(value="错误信息")
    private String errorMessage;

    /**
     * 是否锁定
     */
    @TableField(value = "locked")
    @ApiModelProperty(value="是否锁定")
    private Boolean locked;

    /**
     * 是否需要补货
     */
    @TableField(value = "replenishmentReqd")
    @ApiModelProperty(value="是否需要补货")
    private Boolean replenishmentReqd;

    /**
     * 信息编码
     */
    @TableField(value = "messageId")
    @ApiModelProperty(value="信息编码")
    private String messageId;

    /**
     * 运行用户
     */
    @TableField(value = "runBy")
    @ApiModelProperty(value="运行用户")
    private String runBy;

    /**
     * 释放用户
     */
    @TableField(value = "releasedBy")
    @ApiModelProperty(value="释放用户")
    private String releasedBy;

    /**
     * 释放时间
     */
    @TableField(value = "releasedAt")
    @ApiModelProperty(value="释放时间")
    private Date releasedAt;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    @ApiModelProperty(value="创建时间")
    private Date created;

    /**
     * 创建用户
     */
    @TableField(value = "createdBy")
    @ApiModelProperty(value="创建用户")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "lastUpdated")
    @ApiModelProperty(value="创建时间")
    private Date lastUpdated;

    /**
     * 更新用户
     */
    @TableField(value = "lastUpdatedBy")
    @ApiModelProperty(value="更新用户")
    private String lastUpdatedBy;

    /**
     * 数据版本
     */
    @TableField(value = "version")
    @ApiModelProperty(value="数据版本")
    private Integer version;

    /**
     * 自定义字段1
     */
    @TableField(value = "userDef1")
    @ApiModelProperty(value="自定义字段1")
    private String userDef1;

    /**
     * 自定义字段2
     */
    @TableField(value = "userDef2")
    @ApiModelProperty(value="自定义字段2")
    private String userDef2;

    /**
     * 自定义字段3
     */
    @TableField(value = "userDef3")
    @ApiModelProperty(value="自定义字段3")
    private String userDef3;

    /**
     * 自定义字段4
     */
    @TableField(value = "userDef4")
    @ApiModelProperty(value="自定义字段4")
    private String userDef4;


    /**
     * 处理标记
     */
    @TableField(value = "processStamp")
    @ApiModelProperty(value="处理标记")
    private String processStamp;

    @TableField(value = "closed")
    @ApiModelProperty(value="null")
    private Integer closed;

    @TableField(value = "closedBy")
    @ApiModelProperty(value="null")
    private String closedBy;

    @TableField(value = "closedAt")
    @ApiModelProperty(value="null")
    private Date closedAt;

    @TableField(value = "released")
    @ApiModelProperty(value="null")
    private Integer released;

    private static final long serialVersionUID = 1L;
}