package com.hzs.common.domain.sale.all;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 全系统产品
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("ALL_PRODUCT_SEQ")
@TableName("ALL_PRODUCT")
public class AllProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 仓储产品编号
     */
    @TableField("WMS_CODE")
    private String wmsCode;

    /**
     * 产品名称
     */
    @TableField("PRODUCT_NAME")
    private String productName;

    /**
     * 封面图
     */
    @TableField("COVER")
    private String cover;

    /**
     * 备注
     */
    @TableField("REMARK")
    private String remark;

    /**
     * 库存数量
     */
    @TableField("INVENTORY")
    private Integer inventory;


}
