package org.aibidding.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.aibidding.common.core.validate.AddGroup;
import org.aibidding.common.core.validate.EditGroup;
import org.aibidding.common.mybatis.core.domain.BaseEntity;
import org.aibidding.system.domain.WxRobKeyword;

/**
 * 【请填写功能名称】业务对象 wx_rob_keyword
 *
 * @author Lion Li
 * @date 2024-05-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WxRobKeyword.class, reverseConvertGenerate = false)
public class WxRobKeywordBo extends BaseEntity {

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

    /**
     * 机器唯一码
     */
    @NotBlank(message = "机器唯一码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String uniqueKey;

    /**
     * 关键词
     */
    @NotBlank(message = "关键词不能为空", groups = { AddGroup.class, EditGroup.class })
    private String keyData;

    /**
     * 回复内容
     */
    @NotBlank(message = "回复内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String valueData;

    /**
     * 回复类型
     */
    @NotBlank(message = "回复类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String typeData;

    /**
     * 目标昵称
     */
    @NotBlank(message = "目标昵称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nickName;

    /**
     * 群1好友0
     */
    @NotNull(message = "群1好友0不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer toGroup;

    /**
     * 启用1禁用0
     */
    @NotNull(message = "启用1禁用0不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer enable;


}
