提交 957feb66 authored 作者: yangdongming's avatar yangdongming

--no commit message

上级 506a22c4
package com.zrqx.core.vo.resource.themeLexicon;
import lombok.Data;
import com.zrqx.core.util.excelutil.ExcelResources;
import com.zrqx.core.util.excelutil.ExcelSheetParams;
/** 主题词库导出、导入*/
@ExcelSheetParams(startRow = 2)
@Data
public class ImportExcelThemeLexiconVO {
@ExcelResources(title="中文词根")
private String chineseRoot;
@ExcelResources(title="英文词根")
private String englishRoot;
@ExcelResources(title="英文缩写")
private String abbreviation;
@ExcelResources(title="中文同义词")
private String chineseSynonym;
@ExcelResources(title="英文同义词")
private String englishSynonym;
@ExcelResources(title="中文释义")
private String interpretation;
@ExcelResources(title="中文别字")
private String faultWord;
@ExcelResources(title="词条属性")
private String belong;
@ExcelResources(title="中文说明")
private String chineseExplain;
@ExcelResources(title="英文说明")
private String englishExplain;
@ExcelResources(title="上位词")
private String hypernym;
@ExcelResources(title="下位词")
private String hyponym;
@ExcelResources(title="分类编码")
private String codes;
}
/**
* @author niguanghui
* @date 2018年12月20日 下午5:04:20
*/
package com.zrqx.core.vo.resource.themeLexicon;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @author niguanghui
* @date 2018年12月20日下午5:04:20
*/
@Data
@ApiModel(value = "ThemeLexiconVo", description = "查询主题词返回的实体")
public class ThemeLexiconVo {
@Id
@GeneratedValue(generator = "JDBC")
@ApiModelProperty("丛书id,添加时不用填写")
private String id;
@ApiModelProperty(value = "中文词根", required = true)
private String chineseRoot;
@ApiModelProperty("中文同义词")
private String chineseSynonym;
@ApiModelProperty("词条属性")
private String belong;
@ApiModelProperty("分类编码")
private String codes;
@ApiModelProperty("上传时间")
private String uploadTime;
@ApiModelProperty("状态:0未审核,1已通过,2未通过")
private Integer status;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论