package com.ruoyi.stock.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.ruoyi.stock.pojo.StockInventory;
|
import io.swagger.annotations.ApiModelProperty;
|
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;
|
|
@ApiModelProperty("父ID")
|
private Long parentId;
|
|
/**
|
* 产品图片
|
*/
|
// @Excel(name = "产品图片")
|
private String url;
|
|
/**
|
* 高度
|
*/
|
private String height;
|
|
/**
|
* 每件数量/支
|
*/
|
private String boxNum;
|
|
/**
|
* 单价(美元)/件
|
*/
|
private String dollarPrice;
|
|
/**
|
* 单价(元)/件
|
*/
|
private String taxInclusiveUnitPrice;
|
}
|