package com.xingxi.business.ProdInventory.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xingxi.common.annotation.Excel;
import com.xingxi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * 商品库存流水对象 t_prod_inventory_bill
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class ProdInventoryBill extends BaseEntity {
    private static final long serialVersionUID = 1L;

    // 主键
    private Long inventoryBillId;

    // 流水时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "流水时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billTime;

    // 流水类型
    @Excel(name = "流水类型")
    private String billType;

    // 库存ID
    @Excel(name = "库存ID")
    private Long inventoryId;

    // 数量
    @Excel(name = "数量")
    private Integer quantity;

    // 订单ID
    @Excel(name = "订单ID")
    private Long orderId;

    // 订单号
    @Excel(name = "订单号")
    private String orderNo;

    // 删除标志
    @Excel(name = "删除标志")
    private String delFlag;
}
