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_DETAIL_SEQ")
@TableName("ALL_PRODUCT_DETAIL")
public class AllProductDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 全网商品主键
     */
    @TableField("PK_ALL_PRODUCT")
    private Integer pkAllProduct;

    /**
     * 来源系统
     */
    @TableField("SOURCE")
    private String source;

    /**
     * 来源订单号
     */
    @TableField("ORDER_CODE")
    private String orderCode;

    /**
     * 变动数量
     */
    @TableField("CHANGE_NUM")
    private Integer changeNum;

    /**
     * 变动说明
     */
    @TableField("REMARK")
    private String remark;


}
