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

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "创建或修改空投参数")
public class AirdropManagerReq implements Serializable {

    @Schema(description = "空投目标人")
    @NotNull(message = "空投目标用户不能为空")
    private Long targetUser;

    @Schema(description = "空投金币数量")
    @NotNull(message = "空投金币数量不能为空")
    private Integer goldCoinNum;

    @Schema(description = "操作类型【0 新增空投 1 减去空投】")
    @NotNull(message = "操作类型不能为空")
    private Integer operationType;
}
