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

105 lines
2.5 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 {
@ColumnWidth(80)
@ExcelProperty("序号")
@ApiModelProperty(value = "序号")
private Integer id;
@ColumnWidth(80)
@ExcelProperty("产品通用名")
@ApiModelProperty(value = "产品通用名")
private String productName;
@ColumnWidth(80)
@ExcelProperty("规格型号")
@ApiModelProperty(value = "规格型号")
private String ggxh;
@ColumnWidth(80)
@ExcelProperty("批次号")
@ApiModelProperty(value = "批次号")
private String batchNo;
@ColumnWidth(80)
@ExcelProperty("数量")
@ApiModelProperty(value = "数量")
private Integer beginCount;
@ColumnWidth(80)
@ExcelProperty("价格")
@ApiModelProperty(value = "价格")
private BigDecimal beginPrice;
@ColumnWidth(80)
@ExcelProperty("金额")
@ApiModelProperty(value = "金额")
private BigDecimal beginAmount;
@ColumnWidth(80)
@ExcelProperty("数量")
@ApiModelProperty(value = "数量")
private Integer inCount;
@ColumnWidth(80)
@ExcelProperty("价格")
@ApiModelProperty(value = "价格")
private BigDecimal inPrice;
@ColumnWidth(80)
@ExcelProperty("金额")
@ApiModelProperty(value = "金额")
private BigDecimal inAmount;
@ColumnWidth(80)
@ExcelProperty("数量")
@ApiModelProperty(value = "数量")
private Integer outCount;
@ColumnWidth(80)
@ExcelProperty("价格")
@ApiModelProperty(value = "价格")
private BigDecimal outPrice;
@ColumnWidth(80)
@ExcelProperty("金额")
@ApiModelProperty(value = "金额")
private BigDecimal outAmount;
@ColumnWidth(80)
@ExcelProperty("数量")
@ApiModelProperty(value = "数量")
private Integer balanceCount;
@ColumnWidth(80)
@ExcelProperty("价格")
@ApiModelProperty(value = "价格")
private BigDecimal balancePrice;
@ColumnWidth(80)
@ExcelProperty("金额")
@ApiModelProperty(value = "金额")
private BigDecimal balanceAmount;
//无需导出字段使用此注解
//@JsonSerialize(using = ToStringSerializer.class)
}