com.github.houbb.chinese.idiom.model.ChineseIdiomBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chinese-idiom Show documentation
Show all versions of chinese-idiom Show documentation
The chinese-idiom tools for chinese by java.
package com.github.houbb.chinese.idiom.model;
/**
* @author binbin.hou
* @since 0.0.1
*/
public class ChineseIdiomBean {
/**
* 出处
* @since 0.0.1
*/
private String derivation;
/**
* 例子
* @since 0.0.1
*/
private String example;
/**
* 解释
* @since 0.0.1
*/
private String explanation;
/**
* 拼音
* @since 0.0.1
*/
private String pinyin;
/**
* 简写
* @since 0.0.1
*/
private String abbreviation;
/**
* 词语信息
* @since 0.0.1
*/
private String word;
public String getDerivation() {
return derivation;
}
public void setDerivation(String derivation) {
this.derivation = derivation;
}
public String getExample() {
return example;
}
public void setExample(String example) {
this.example = example;
}
public String getExplanation() {
return explanation;
}
public void setExplanation(String explanation) {
this.explanation = explanation;
}
public String getPinyin() {
return pinyin;
}
public void setPinyin(String pinyin) {
this.pinyin = pinyin;
}
public String getAbbreviation() {
return abbreviation;
}
public void setAbbreviation(String abbreviation) {
this.abbreviation = abbreviation;
}
public String getWord() {
return word;
}
public void setWord(String word) {
this.word = word;
}
@Override
public String toString() {
return "IdiomBean{" +
"derivation='" + derivation + '\'' +
", example='" + example + '\'' +
", explanation='" + explanation + '\'' +
", pinyin='" + pinyin + '\'' +
", abbreviation='" + abbreviation + '\'' +
", word='" + word + '\'' +
'}';
}
}