package top.continew.admin.business.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotNull;

/**
 * 任务回调请求参数（带第三方平台传入的实际消费金额）
 *
 * @author jiay
 * @since 2025/11/14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TaskCallbackWithAmountReq extends TaskCallbackReq {

    /**
     * 实际消费金额（分）- 由第三方平台传入
     */
    @Schema(description = "实际消费金额（分）", example = "100")
    @NotNull(message = "实际消费金额不能为空")
    private Long actualAmount;
}
