You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/java/com/glxp/api/entity/inout/ExcelVO.java

96 lines
2.4 KiB
Java

package com.glxp.api.entity.inout;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;
/**
* @author : zhangsan
* @date : 2023/4/17 11:11
* @modyified By :
*/
@Data
@ApiModel(value = "导出实体")
public class ExcelVO {
@ExcelProperty("序号")
@ApiModelProperty(value = "序号")
private Integer id;
@ExcelProperty("产品通用名")
@ApiModelProperty(value = "产品通用名")
private String productName;
@ExcelProperty("规格型号")
@ApiModelProperty(value = "规格型号")
private String ggxh;
@ExcelProperty("批次号")
@ApiModelProperty(value = "批次号")
private String batchNo;
@ExcelProperty("仓库")
@ApiModelProperty(value = "仓库")
private String deptName;
@ExcelProperty({"期初","数量"})
@ApiModelProperty(value = "数量")
private Integer beginCount;
@ExcelProperty({"期初","价格"})
@ApiModelProperty(value = "价格")
private BigDecimal beginPrice;
@ExcelProperty({"期初","金额"})
@ApiModelProperty(value = "金额")
private BigDecimal beginAmount;
@ExcelProperty({"入库","数量"})
@ApiModelProperty(value = "数量")
private Integer inCount;
@ExcelProperty({"入库","价格"})
@ApiModelProperty(value = "价格")
private BigDecimal inPrice;
@ExcelProperty({"入库","金额"})
@ApiModelProperty(value = "金额")
private BigDecimal inAmount;
@ExcelProperty({"出库","数量"})
@ApiModelProperty(value = "数量")
private Integer outCount;
@ExcelProperty({"出库","价格"})
@ApiModelProperty(value = "价格")
private BigDecimal outPrice;
@ExcelProperty({"出库","金额"})
@ApiModelProperty(value = "金额")
private BigDecimal outAmount;
@ExcelProperty({"结余","数量"})
@ApiModelProperty(value = "数量")
private Integer balanceCount;
@ExcelProperty({"结余","价格"})
@ApiModelProperty(value = "价格")
private BigDecimal balancePrice;
@ExcelProperty({"结余","金额"})
@ApiModelProperty(value = "金额")
private BigDecimal balanceAmount;
//无需导出字段使用此注解
//@JsonSerialize(using = ToStringSerializer.class)
}