package com.greenorange.promotion.model.dto.advancementApply;

import com.greenorange.promotion.annotation.EnumValue;
import com.greenorange.promotion.model.enums.UserRoleEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 晋升申请批准请求体
 */
@Data
@Schema(description = "晋升申请批准请求体", requiredProperties = {
        "applyId",
        "invitationCode"
})
public class AdvancementApplyApproveRequest implements Serializable {

    /**
     * 晋升申请id
     */
    @Min(value = 1, message = "晋升申请id不能小于1")
    @Schema(description = "晋升申请id", example = "1")
    private Long applyId;

    /**
     * 用户id
     */
    @Min(value = 1, message = "用户id不能小于1")
    @Schema(description = "用户id", example = "666999")
    private Long userId;


    @Serial
    private static final long serialVersionUID = 1L;
}
