package com.backendsys.modules.sdk.bocha.entity;

import lombok.Data;

@Data
public class BochaParam {
    private String query;
    private String freshness = "noLimit";   // (oneDay 一天内, oneWeek 一周内, oneMonth 一个月内, oneYear 一年内, noLimit 不限（默认）)
    private Boolean summary = true;         // 是否显示文本摘要，默认值为 false
    private Integer count = 10;             // 返回结果的条数，默认值为 10
    private Integer page = 1;               // 页码，默认值为 1

    public BochaParam(){}
    public BochaParam(String query) {
        this.query = query;
    }
}
