package com.ruoyi.stock.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.stock.pojo.StockInventory;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDate;
|
|
@Data
|
public class StockInventoryDto extends StockInventory {
|
|
private String productName;
|
private String model;
|
private String unit;
|
|
|
//入库类型
|
private String recordType;
|
|
//入库类型对应的id
|
private Long recordId;
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private LocalDate reportDate;
|
|
//库存月报查询字段
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private LocalDate startMonth;
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
private LocalDate endMonth;
|
|
private BigDecimal totalStockIn;
|
private BigDecimal totalStockOut;
|
private BigDecimal currentStock;
|
|
private BigDecimal unLockedQuantity;
|
}
|