package com.infoepoch.pms.dispatchassistant.domain.langchain.history;

import com.infoepoch.pms.dispatchassistant.common.component.AbstractCriteria;

/**
 * generated by code-generator
 * 查询条件类
 */
public class ConversationsCriteria extends AbstractCriteria {

    //region 样例
    //public boolean byId() {
    //    return this.andMap.containsKey("Id");
    //}
    //
    //private String id;
    //
    //public String getId() {
    //    if (byId())
    //        return id;
    //    return null;
    //}
    //
    //public void setId(String value) {
    //    this.id = value;
    //    this.andMap.put("Id", value);
    //}
    //endregion

    //region 用户ID
    public boolean byUserId() {
        return this.andMap.containsKey("UserId");
    }

    private String userId;

    public String getUserId() {
        if (byUserId())
            return userId;
        return null;
    }

    public void setUserId(String value) {
        this.userId = value;
        this.andMap.put("UserId", value);
    }
    //endregion

    //region 用户名
    public boolean byUserName() {
        return this.andMap.containsKey("UserName");
    }

    private String userName;

    public String getUserName() {
        if (byUserName())
            return userName;
        return null;
    }

    public void setUserName(String value) {
        this.userName = value;
        this.andMap.put("UserName", value);
    }
    //endregion

    //region 用户姓名
    public boolean byName() {
        return this.andMap.containsKey("Name");
    }

    private String name;

    public String getName() {
        if (byName())
            return name;
        return null;
    }

    public void setName(String value) {
        this.name = value;
        this.andMap.put("Name", value);
    }
    //endregion

    //region 会话id
    public boolean bySessionId() {
        return this.andMap.containsKey("SessionId");
    }

    private String sessionId;

    public String getSessionId() {
        if (bySessionId())
            return sessionId;
        return null;
    }

    public void setSessionId(String value) {
        this.sessionId = value;
        this.andMap.put("SessionId", value);
    }
    //endregion

    //region 智能体专业类型
    public boolean byAiType() {
        return this.andMap.containsKey("AiType");
    }

    private String aiType;

    public String getAiType() {
        if (byAiType())
            return aiType;
        return null;
    }

    public void setAiType(String value) {
        this.aiType = value;
        this.andMap.put("AiType", value);
    }
    //endregion

    //region 条件1
    public boolean byCondition1() {
        return this.andMap.containsKey("Condition1");
    }

    private String condition1;

    public String getCondition1() {
        if (byCondition1())
            return condition1;
        return null;
    }

    public void setCondition1(String value) {
        this.condition1 = value;
        this.andMap.put("Condition1", value);
    }
    //endregion

    //region 查询近几天会话
    public boolean byConversationsDays() {
        return this.andMap.containsKey("ConversationsDays");
    }

    private Integer conversationsDays;

    public Integer getConversationsDays() {
        if (byConversationsDays())
            return conversationsDays;
        return null;
    }

    public void setConversationsDays(Integer value) {
        this.conversationsDays = value;
        this.andMap.put("ConversationsDays", value);
    }
    //endregion

}