package com.xingxi.business.ProdInventory.domain;

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

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

    // 主键
    private Long prodInventoryId;

    // 商品ID
    @Excel(name = "商品ID")
    private Long prodId;

    // 商品属性ID
    @Excel(name = "商品属性ID")
    private Long prodAttrId;

    // 商户ID
    @Excel(name = "商户ID")
    private Long mercId;

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

    // 可售数
    @Excel(name = "可售数")
    private Integer availQty;

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