package com.gxwebsoft.shop.param;

import java.math.BigDecimal;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 查询参数
 *
 * @author 科技小王子
 * @since 2024-11-18 22:03:11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "MessageParam对象", description = "查询参数")
public class MessageParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer id;

    private String type;

    @QueryField(type = QueryType.EQ)
    private Integer pk;

    private String title;

    private String content;

    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @QueryField(type = QueryType.EQ)
    private Boolean hasRead;

}
