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

/**
 * <p>
 * 
 * </p>
 *
 * @author hzs
 * @since 2024-06-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("SA_STORE_BONUS_SEQ")
@TableName("SA_STORE_BONUS")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SaStoreBonus extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 订单主键
     */
    @TableField("PK_ORDER")
    private Long pkOrder;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 店铺
     */
    @TableField("PK_MEMBER_STORE")
    private Integer pkMemberStore;

    /**
     * 奖金比例
     */
    @TableField("BONUS_RATIO")
    private BigDecimal bonusRatio;


}
