package com.hzs.common.domain.activity.declaration;

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

/**
 * <p>
 * 
 * </p>
 *
 * @author bd
 * @since 2025-10-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("AC_DECLARATION_GIFT_DETAIL")
@KeySequence("AC_DECLARATION_GIFT_DETAIL_SEQ")
@Builder
public class AcDeclarationGiftDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 活动规则主键
     */
    @TableField("PK_RULE_ID")
    private Long pkRuleId;

    /**
     * 活动基本规则主键
     */
    @TableField("PK_BASE_ID")
    private Long pkBaseId;

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

    /**
     * 产品规格（逗号分隔）
     */
    @TableField("SPECS_NAME")
    private String specsName;

    /**
     * 产品规格id（逗号分隔）
     */
    @TableField("SPECS_NAME_ID")
    private String specsNameId;

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


}
