package com.bailuntec.balancesheet.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SemiStockLogDTO {
    @JSONField(name = "log_id")
    private Integer logId;
    @JSONField(name = "sku")
    private String skuCode;
    @JSONField(name = "sku_name")
    private String skuName;
    @JSONField(name = "log_type_id")
    private Integer logTypeId;
    @JSONField(name = "log_type")
    private String logType;
    @JSONField(name = "log_quantity")
    private Integer logQuantity;
    @JSONField(name = "final_stock")
    private BigDecimal finalStock;
    @JSONField(name = "warehouse_id")
    private Integer warehouseId;
    @JSONField(name = "warehouse_name")
    private String warehouseName;
    @JSONField(name = "create_time", format = "yyyy-MM-dd")
    private Date createTime;
    @JSONField(name = "redundancy_stock")
    private BigDecimal redundancyStock;
    @JSONField(name = "warehouse_type")
    private Integer warehouseType;

    @JSONField(name = "type_id")
    private Integer typeId;
    @JSONField(name = "type_name")
    private String typeName;
    @JSONField(name = "product_category_id")
    private Integer productCategoryId;
    @JSONField(name =  "product_category_id_name")
    private String productCategoryName;
}
