package com.youchain.businessdata.service.vo;

import cn.idev.excel.annotation.ExcelProperty;
import cn.idev.excel.annotation.write.style.ColumnWidth;
import cn.idev.excel.annotation.write.style.ContentStyle;
import cn.idev.excel.enums.poi.HorizontalAlignmentEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ColumnWidth(20)
public class InventoryExcelVO {
    @ExcelProperty("序号")
    @ColumnWidth(10)
    private Long id;

    @ExcelProperty("库区")
    private String areaName;

    @ExcelProperty("品番")
    private String itemCode;

   @ExcelProperty("品名")
    private String itemName;

    @ExcelProperty("操作类型")
    private String logType;

    @ExcelProperty("增加/减少")
    private String incDec;

    @ExcelProperty("原库位")
    private String srcPointCode;

    @ExcelProperty("目标库位")
    private String dstPointCode;

    @ExcelProperty("原数量")
    private Double srcQty;

    @ExcelProperty("目标数量")
    private Double dstQty;

    @ExcelProperty("发生数量")
    private Double occurQuantity;

    @ExcelProperty("关联单号")
    private String relatedBill;

    @ExcelProperty("描述")
    private String description;

    @ExcelProperty("创建人")
    private String createBy;

    @ExcelProperty("发生日期")
    private LocalDateTime occurTime;
}
