package com.qiwu.chatbotbackend.actiongenerate.entity; public class Variable { Integer botId; Integer variableId; Integer categoryId = 0; String description; String name; String value; public Variable(Integer botId, Integer categoryId, String name, String description, String value) { this.botId = botId; if(categoryId != null) this.categoryId = categoryId; this.description = description; this.name = name; this.value = value; } public Variable(Integer botId, Integer variableId, Integer categoryId, String name, String description, String value) { this.botId = botId; this.variableId = variableId; if(categoryId != null) this.categoryId = categoryId; this.description = description; this.name = name; this.value = value; } public void setBotId(Integer botId) { this.botId = botId; } public void setVariableId(Integer variableId) { this.variableId = variableId; } public void setCategoryId(Integer categoryId) { this.categoryId = categoryId; } public void setDescription(String description) { this.description = description; } public void setName(String name) { this.name = name; } public void setValue(String value) { this.value = value; } public Integer getBotId() { return botId; } public Integer getVariableId() { return variableId; } public Integer getCategoryId() { return categoryId; } public String getDescription() { return description; } public String getName() { return name; } public String getValue() { return value; } }