package com.yingpaipay.setting.domain.bo;

import com.yingpaipay.setting.domain.KeywordSetting;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 文件夹关键词设置业务对象 keyword_setting
 *
 * @author Huanyi
 * @date 2026-01-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = KeywordSetting.class, reverseConvertGenerate = false)
public class KeywordSettingBo extends BaseEntity {

    /**
     * 序号
     */
    @NotNull(message = "序号不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 文本
     */
    @NotBlank(message = "文本不能为空", groups = { AddGroup.class, EditGroup.class })
    private String content;

    /**
     * 备注
     */
    private String note;


}
