package com.jeesharp.business.modules.mall.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotBlank;

import java.math.BigDecimal;

/**
 * 砍价助力保存DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallBargainHelpSaveDTO extends BaseSaveDTO {

    /**
     * 砍价记录ID
     */
    @NotBlank(message = "砍价记录ID不能为空")
    private String recordId;

    /**
     * 助力人会员ID
     */
    @NotBlank(message = "会员ID不能为空")
    private String memberId;

    /**
     * 助力类型：0-好友助力 1-分享助力
     */
    private Integer helpType;

    /**
     * 砍价金额
     */
    private BigDecimal cutAmount;
}
