package com.pharmacopoeia.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class QuickAskCreateRequest {

    @NotBlank(message = "请输入推荐位文字")
    @Size(min = 2, max = 20, message = "推荐位文字长度需在2-20个字符之间")
    private String label;

    private String question;

    @Builder.Default
    private int sortOrder = 0;
}
