package com.gxwebsoft.credit.param;

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

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Min;
import javax.validation.constraints.Max;

/**
 * 跟进步骤审核DTO
 *
 * @author 科技小王子
 * @since 2026-03-22
 */
@Data
@Schema(name = "FollowStepApprovalDTO对象", description = "跟进步骤审核DTO")
public class FollowStepApprovalDTO {

    @Schema(description = "客户ID", required = true)
    @NotNull(message = "客户ID不能为空")
    private Long customerId;

    @Schema(description = "步骤号", required = true, example = "5")
    @NotNull(message = "步骤号不能为空")
    @Min(value = 1, message = "步骤号最小为1")
    @Max(value = 7, message = "步骤号最大为7")
    private Integer step;

    @Schema(description = "是否审核通过", required = true)
    @NotNull(message = "审核状态不能为空")
    private Boolean approved;

    @Schema(description = "审核备注")
    private String remark;
}
