package com.erp.warehouse.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;

import java.time.LocalDateTime;

/**
 * 库存响应DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StockDTO {

    private Long id;
    private String skuCode;
    private String skuName;
    private Long warehouseId;
    private String warehouseName;
    private Integer quantity;
    private Integer lockedQuantity;
    private Integer reservedQuantity;
    private Integer availableQuantity;
    private Integer defectiveQuantity;
    private Integer warningThreshold;
    private Boolean isLow;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
