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

import com.jeesharp.framework.pojo.dto.BaseSaveDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import jakarta.validation.constraints.NotBlank;

/**
 * 搜索历史保存DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MallSearchLogSaveDTO extends BaseSaveDTO {

    /**
     * 会员ID
     */
    @NotBlank(message = "会员ID不能为空")
    private String memberId;

    /**
     * 搜索关键词
     */
    @NotBlank(message = "搜索关键词不能为空")
    private String keyword;
}
