| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- package com.xjrsoft.module.textbook.dto;
- import com.alibaba.excel.annotation.ExcelProperty;
- import com.alibaba.excel.annotation.write.style.ContentStyle;
- import com.xjrsoft.common.annotation.Required;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.Data;
- import java.math.BigDecimal;
- import java.util.Date;
- @Data
- public class TextbookImportDto {
- /**
- * 学科组名称
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("学科组(必须是系统中已有的学科组名称)")
- @ApiModelProperty("学科组名称")
- @Required
- private String groupName;
- /**
- * 课程
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("对应课程(必须是系统中已有的课程名称)")
- @ApiModelProperty("对应课程")
- @Required
- private String courseName;
- /**
- * 使用类型(单位:学期)
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("使用时长(一学期~六学期)")
- @ApiModelProperty("使用类型(单位:学期)")
- @Required
- private String useTypeCn;
- /**
- * 国际标准刊号
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("书号(ISSN)")
- @ApiModelProperty("国际标准刊号")
- @Required
- private String issn;
- /**
- * 书名
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("书名")
- @ApiModelProperty("书名")
- @Required
- private String bookName;
- /**
- * 出版社
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("出版社")
- @ApiModelProperty("出版社")
- @Required
- private String publishingHouse;
- /**
- * 主编
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("作者(主编)")
- @ApiModelProperty("主编")
- @Required
- private String editorInChief;
- /**
- * 版本
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("版次")
- @ApiModelProperty("版本")
- @Required
- private String version;
- /**
- * 是否为规划教材
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("规划教材(是或否)")
- @ApiModelProperty("是否为规划教材")
- @Required
- private String isTextbookPlanCn;
- /**
- * 教材类型(xjr_dictionary_item[textbook_type])
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("教材分类(教材、辅材、作业本)")
- @ApiModelProperty("教材类型-中文")
- @Required
- private String textbookTypeCn;
- /**
- * 规格型号
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("规格型号")
- @ApiModelProperty("规格型号")
- private String specificationsModels;
- /**
- * 出版日期
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("出版日期")
- @ApiModelProperty("出版日期")
- private Date publishingDate;
- /**
- * 是否为校企合作教材
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("是否为校企合作教材(是或否)")
- @ApiModelProperty("是否校企合作开发教材")
- @Required
- private String isSecd;
- /**
- * 分类号
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("分类号")
- @ApiModelProperty("分类号")
- private String category;
- /**
- * 规划批次
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("规划批次")
- @ApiModelProperty("规划批次")
- private String planBatch;
- /**
- * 编著作总数
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("编著作总数")
- @ApiModelProperty("编著作总数")
- private Integer workTotalCount;
- /**
- * 教材类型
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("教材类型(纸质教材、数字教材、纸质与数字资源结合教材)")
- @ApiModelProperty("教材类型")
- @Required
- private String textbookCategory;
- /**
- * 定价(元)
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("定价(元)")
- @ApiModelProperty("定价(元)")
- @Required
- private BigDecimal price;
- /**
- * 折扣
- */
- @ContentStyle(dataFormat = 49)
- @ExcelProperty("折扣(折)")
- @ApiModelProperty("折扣")
- private Double discount;
- }
|