24年6月份po1项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
po106/shkj-wms/src/main/java/com/shkj/wms/bo/SysStockReduceBo.java

100 lines
1.7 KiB

package com.shkj.wms.bo;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
/**
* 库存管理对象
*
* @author zjx
* @date 2023-06-10
*/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class SysStockReduceBo implements Serializable {
private static final long serialVersionUID=1L;
/**
* 所属仓库
*/
@NotNull(message = "所属仓库不得为空")
private Long branchId;
/**
* 所属库房
*/
@NotNull(message = "所属库房不得为空")
private Long storageId;
/**
* 所属区域
*/
@NotNull(message = "所属区域不得为空")
private Long areaId;
/**
* 货位
*/
@NotNull(message = "货位信息")
private Long locationId;
/**
* 所属巷道
*/
private String tunnel;
/**
* 产品信息
*/
@NotBlank(message = "产品信息不得为空")
private String goodsNo;
/**
* 实际库存
*/
private Long qty;
/**
* 入预占库存
*/
private Long inQty;
/**
* 出预占库存
*/
private Long outQty;
/**
* 库存状态
*/
private String stockStatus;
/**
* 更新时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updateTime;
}