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

import java.math.BigDecimal;

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.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 退款明细表
 *
 * @author hzs
 * @since 2023-08-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("SA_REFUND_ITEMS_SEQ")
@TableName("SA_REFUND_ITEMS")
public class SaRefundItems extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 退款ID
     */
    @TableField("PK_REFUND")
    private Long pkRefund;

    /**
     * 订单明细ID
     */
    @TableField("PK_ORDER_ITEMS")
    private Long pkOrderItems;

    /**
     * 产品主键
     */
    @TableField("PK_PRODUCT")
    private Integer pkProduct;

    /**
     * 产品单价
     */
    @TableField("PRICE")
    private BigDecimal price;

    /**
     * 业绩
     */
    @TableField("ACHIEVEMENT")
    private BigDecimal achievement;

    /**
     * 考核业绩
     */
    @TableField("ASS_ACHIEVEMENT")
    private BigDecimal assAchievement;

    /**
     * 数量
     */
    @TableField("QUANTITY")
    private Integer quantity;

    /**
     * 产品规格（冗余显示）
     */
    @TableField("SPECS_NAME")
    private String specsName;

    /**
     * 产品规格主键（冗余显示）
     */
    @TableField("SPECS_NAME_ID")
    private String specsNameId;


}
