package com.jeesharp.business.modules.ai.dto;

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
public class AiFaqSaveDTO extends BaseSaveDTO {

    @NotBlank(message = "分类ID不能为空")
    private String categoryId;

    @NotBlank(message = "问题不能为空")
    private String question;

    @NotBlank(message = "答案不能为空")
    private String answer;

    private String keywords;

    @NotNull(message = "状态不能为空")
    private Integer status;

    private Integer sortNo;
}
