parent
7a5c0208b8
commit
fbe732e042
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="gp_union@rm-m5e856330s821071w8o.mysql.rds.aliyuncs.com" uuid="bf2f2e4d-7f95-48c5-be80-f2776a06a503">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://rm-m5e856330s821071w8o.mysql.rds.aliyuncs.com:3306/gp_union</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,124 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Palette2">
|
||||
<group name="Swing">
|
||||
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||
</item>
|
||||
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.svg" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||
<initial-values>
|
||||
<property name="text" value="Button" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="RadioButton" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="CheckBox" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||
<initial-values>
|
||||
<property name="text" value="Label" />
|
||||
</initial-values>
|
||||
</item>
|
||||
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||
<preferred-size width="150" height="-1" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||
<preferred-size width="150" height="50" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||
<preferred-size width="200" height="200" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.svg" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||
</item>
|
||||
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||
<preferred-size width="-1" height="20" />
|
||||
</default-constraints>
|
||||
</item>
|
||||
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.svg" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||
</item>
|
||||
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.svg" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||
</item>
|
||||
</group>
|
||||
</component>
|
||||
</project>
|
@ -1,16 +0,0 @@
|
||||
package com.hc.business.dto;
|
||||
|
||||
import com.hc.business.model.CourseChapterVideo;
|
||||
import com.hc.business.model.UserVideoPosition;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author 10696
|
||||
* @since 2020/11/25 10:41
|
||||
*/
|
||||
@Data
|
||||
public class CourseVideoDto {
|
||||
|
||||
private CourseChapterVideo video;
|
||||
private UserVideoPosition position;
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
package com.hc.business.dto;
|
||||
|
||||
import com.hc.business.model.Paper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 10696
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class PaperResultDto {
|
||||
|
||||
private Paper paper;
|
||||
|
||||
private List<QuestionTypeDto> questionTypeDtoList;
|
||||
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
package com.hc.business.dto;
|
||||
|
||||
import com.hc.business.model.Course;
|
||||
import com.hc.business.model.CourseChapterVideo;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 10696
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class ThirdCourseDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -570784181035882992L;
|
||||
|
||||
private Course course;
|
||||
|
||||
private List<CourseChapterVideo> courseChapterVideoList;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package com.hc.business.dto;
|
||||
|
||||
import com.hc.business.model.ZccmCourseChapterVideo;
|
||||
import com.hc.business.model.ZccmUserVideoPosition;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author 10696
|
||||
* @since 2020/11/25 10:41
|
||||
*/
|
||||
@Data
|
||||
public class ZccmCourseVideoDto {
|
||||
|
||||
private ZccmCourseChapterVideo video;
|
||||
private ZccmUserVideoPosition position;
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package com.hc.business.dto;
|
||||
|
||||
import com.hc.business.model.ZccmPaper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 10696
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class ZccmPaperResultDto {
|
||||
|
||||
private ZccmPaper paper;
|
||||
|
||||
private List<ZccmQuestionTypeDto> zccmQuestionTypeDtoList;
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package com.hc.business.dto;
|
||||
|
||||
import com.hc.business.model.ZccmCourse;
|
||||
import com.hc.business.model.ZccmCourseChapterVideo;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author 10696
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class ZccmThirdCourseDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -570784181035882992L;
|
||||
|
||||
private ZccmCourse course;
|
||||
|
||||
private List<ZccmCourseChapterVideo> courseChapterVideoList;
|
||||
|
||||
|
||||
}
|
@ -1,143 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Transient;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 省份表(AreaDistrict)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-20 12:48:44
|
||||
*/
|
||||
|
||||
@ApiModel(value = "地区表")
|
||||
public class AreaDistrict implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -60609528264342036L;
|
||||
|
||||
/**
|
||||
* 地区编号
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "地区编号")
|
||||
private Integer areaId;
|
||||
|
||||
/**
|
||||
* 地区名称
|
||||
*/
|
||||
@ApiModelProperty(value = "地区名称", required = true)
|
||||
@NotNull
|
||||
private String areaName;
|
||||
|
||||
/**
|
||||
* 父级编号
|
||||
*/
|
||||
@ApiModelProperty(value = "父级编号", required = true)
|
||||
@NotNull
|
||||
private Integer parentId;
|
||||
|
||||
/**
|
||||
* 省级配图
|
||||
*/
|
||||
@ApiModelProperty(value = "省级配图", required = true)
|
||||
private String areaImage;
|
||||
|
||||
/**
|
||||
* 地区状态 0/锁定 1/开放
|
||||
*/
|
||||
@ApiModelProperty(value = "地区状态 0/锁定 1/开放", required = true)
|
||||
private Integer areaStatus;
|
||||
|
||||
/**
|
||||
* 地区索引
|
||||
*/
|
||||
@ApiModelProperty(value = "地区索引", required = true)
|
||||
@NotNull
|
||||
private Integer areaIndex;
|
||||
|
||||
/**
|
||||
* 构造的
|
||||
*/
|
||||
@Transient
|
||||
private List<AreaDistrict> areaDistrictList;
|
||||
|
||||
public AreaDistrict(Integer areaId, @NotNull String areaName,
|
||||
@NotNull Integer parentId, String areaImage,
|
||||
Integer areaStatus, @NotNull Integer areaIndex) {
|
||||
this.areaId = areaId;
|
||||
this.areaName = areaName;
|
||||
this.parentId = parentId;
|
||||
this.areaImage = areaImage;
|
||||
this.areaStatus = areaStatus;
|
||||
this.areaIndex = areaIndex;
|
||||
}
|
||||
|
||||
public AreaDistrict() {
|
||||
}
|
||||
|
||||
public Integer getAreaId() {
|
||||
return areaId;
|
||||
}
|
||||
|
||||
public void setAreaId(Integer areaId) {
|
||||
this.areaId = areaId;
|
||||
}
|
||||
|
||||
public String getAreaName() {
|
||||
return areaName;
|
||||
}
|
||||
|
||||
public void setAreaName(String areaName) {
|
||||
this.areaName = areaName;
|
||||
}
|
||||
|
||||
public Integer getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(Integer parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public String getAreaImage() {
|
||||
return areaImage;
|
||||
}
|
||||
|
||||
public void setAreaImage(String areaImage) {
|
||||
this.areaImage = areaImage;
|
||||
}
|
||||
|
||||
public Integer getAreaStatus() {
|
||||
return areaStatus;
|
||||
}
|
||||
|
||||
public void setAreaStatus(Integer areaStatus) {
|
||||
this.areaStatus = areaStatus;
|
||||
}
|
||||
|
||||
public Integer getAreaIndex() {
|
||||
return areaIndex;
|
||||
}
|
||||
|
||||
public void setAreaIndex(Integer areaIndex) {
|
||||
this.areaIndex = areaIndex;
|
||||
}
|
||||
|
||||
public List<AreaDistrict> getAreaDistrictList() {
|
||||
return areaDistrictList;
|
||||
}
|
||||
|
||||
public void setAreaDistrictList(List<AreaDistrict> areaDistrictList) {
|
||||
this.areaDistrictList = areaDistrictList;
|
||||
}
|
||||
|
||||
}
|
@ -1,165 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Transient;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 课程章节表(CourseChapter)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-09 10:04:47
|
||||
*/
|
||||
|
||||
|
||||
@ApiModel(value = "章节表")
|
||||
public class CourseChapter implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 873871660383226119L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer courseChapterId;
|
||||
|
||||
/**
|
||||
* 章节名字
|
||||
*/
|
||||
@ApiModelProperty(value = "章节名字", required = true)
|
||||
@NotNull
|
||||
private String chapterName;
|
||||
|
||||
/**
|
||||
* 父节点ID
|
||||
*/
|
||||
@ApiModelProperty(value = "父节点ID", required = true)
|
||||
@NotNull
|
||||
private Integer parentId;
|
||||
|
||||
/**
|
||||
* 章节层级
|
||||
*/
|
||||
@ApiModelProperty(value = "章节层级", required = true)
|
||||
@NotNull
|
||||
private Integer chapterLevel;
|
||||
|
||||
/**
|
||||
* 课程ID
|
||||
*/
|
||||
@ApiModelProperty(value = "课程ID", required = true)
|
||||
@NotNull
|
||||
private Integer courseId;
|
||||
|
||||
/**
|
||||
* 构造
|
||||
*/
|
||||
@Transient
|
||||
private List<CourseChapter> childChapter;
|
||||
|
||||
@Transient
|
||||
private CourseChapterVideo chapterVideo;
|
||||
|
||||
@Transient
|
||||
private CourseChapterAnnex courseChapterAnnex;
|
||||
|
||||
@Transient
|
||||
private UserVideoPosition userVideoPosition;
|
||||
|
||||
public CourseChapter(Integer courseChapterId, @NotNull String chapterName,
|
||||
@NotNull Integer parentId,
|
||||
@NotNull Integer chapterLevel,
|
||||
@NotNull Integer courseId) {
|
||||
this.courseChapterId = courseChapterId;
|
||||
this.chapterName = chapterName;
|
||||
this.parentId = parentId;
|
||||
this.chapterLevel = chapterLevel;
|
||||
this.courseId = courseId;
|
||||
}
|
||||
|
||||
public CourseChapter() {
|
||||
}
|
||||
|
||||
public Integer getCourseChapterId() {
|
||||
return courseChapterId;
|
||||
}
|
||||
|
||||
public void setCourseChapterId(Integer courseChapterId) {
|
||||
this.courseChapterId = courseChapterId;
|
||||
}
|
||||
|
||||
public String getChapterName() {
|
||||
return chapterName;
|
||||
}
|
||||
|
||||
public void setChapterName(String chapterName) {
|
||||
this.chapterName = chapterName;
|
||||
}
|
||||
|
||||
public Integer getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setParentId(Integer parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public Integer getChapterLevel() {
|
||||
return chapterLevel;
|
||||
}
|
||||
|
||||
public void setChapterLevel(Integer chapterLevel) {
|
||||
this.chapterLevel = chapterLevel;
|
||||
}
|
||||
|
||||
public Integer getCourseId() {
|
||||
return courseId;
|
||||
}
|
||||
|
||||
public void setCourseId(Integer courseId) {
|
||||
this.courseId = courseId;
|
||||
}
|
||||
|
||||
public List<CourseChapter> getChildChapter() {
|
||||
return childChapter;
|
||||
}
|
||||
|
||||
public void setChildChapter(List<CourseChapter> childChapter) {
|
||||
this.childChapter = childChapter;
|
||||
}
|
||||
|
||||
public CourseChapterVideo getChapterVideo() {
|
||||
return chapterVideo;
|
||||
}
|
||||
|
||||
public void setChapterVideo(CourseChapterVideo chapterVideo) {
|
||||
this.chapterVideo = chapterVideo;
|
||||
}
|
||||
|
||||
public CourseChapterAnnex getCourseChapterAnnex() {
|
||||
return courseChapterAnnex;
|
||||
}
|
||||
|
||||
public void setCourseChapterAnnex(CourseChapterAnnex courseChapterAnnex) {
|
||||
this.courseChapterAnnex = courseChapterAnnex;
|
||||
}
|
||||
|
||||
public UserVideoPosition getUserVideoPosition() {
|
||||
return userVideoPosition;
|
||||
}
|
||||
|
||||
public void setUserVideoPosition(UserVideoPosition userVideoPosition) {
|
||||
this.userVideoPosition = userVideoPosition;
|
||||
}
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 章节附件表(CourseChapterAnnex)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-09 10:04:48
|
||||
*/
|
||||
|
||||
|
||||
@ApiModel(value = "章节附件表")
|
||||
public class CourseChapterAnnex implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 282553089268625985L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer courseChapterAnnexId;
|
||||
|
||||
/**
|
||||
* 附件名字
|
||||
*/
|
||||
@ApiModelProperty(value = "附件名字", required = true)
|
||||
@NotNull
|
||||
private String annexName;
|
||||
|
||||
/**
|
||||
* 章节ID
|
||||
*/
|
||||
@ApiModelProperty(value = "章节ID", required = true)
|
||||
@NotNull
|
||||
private Integer courseChapterId;
|
||||
|
||||
/**
|
||||
* 介绍
|
||||
*/
|
||||
@ApiModelProperty(value = "介绍", required = true)
|
||||
@NotNull
|
||||
private String annexIntroduction;
|
||||
|
||||
/**
|
||||
* 附件地址
|
||||
*/
|
||||
@ApiModelProperty(value = "附件地址", required = true)
|
||||
@NotNull
|
||||
private String annexUrl;
|
||||
|
||||
public CourseChapterAnnex(Integer courseChapterAnnexId, @NotNull String annexName,
|
||||
@NotNull Integer courseChapterId,
|
||||
@NotNull String annexIntroduction, @NotNull String annexUrl) {
|
||||
this.courseChapterAnnexId = courseChapterAnnexId;
|
||||
this.annexName = annexName;
|
||||
this.courseChapterId = courseChapterId;
|
||||
this.annexIntroduction = annexIntroduction;
|
||||
this.annexUrl = annexUrl;
|
||||
}
|
||||
|
||||
public CourseChapterAnnex() {
|
||||
}
|
||||
|
||||
public Integer getCourseChapterAnnexId() {
|
||||
return courseChapterAnnexId;
|
||||
}
|
||||
|
||||
public void setCourseChapterAnnexId(Integer courseChapterAnnexId) {
|
||||
this.courseChapterAnnexId = courseChapterAnnexId;
|
||||
}
|
||||
|
||||
public String getAnnexName() {
|
||||
return annexName;
|
||||
}
|
||||
|
||||
public void setAnnexName(String annexName) {
|
||||
this.annexName = annexName;
|
||||
}
|
||||
|
||||
public Integer getCourseChapterId() {
|
||||
return courseChapterId;
|
||||
}
|
||||
|
||||
public void setCourseChapterId(Integer courseChapterId) {
|
||||
this.courseChapterId = courseChapterId;
|
||||
}
|
||||
|
||||
public String getAnnexIntroduction() {
|
||||
return annexIntroduction;
|
||||
}
|
||||
|
||||
public void setAnnexIntroduction(String annexIntroduction) {
|
||||
this.annexIntroduction = annexIntroduction;
|
||||
}
|
||||
|
||||
public String getAnnexUrl() {
|
||||
return annexUrl;
|
||||
}
|
||||
|
||||
public void setAnnexUrl(String annexUrl) {
|
||||
this.annexUrl = annexUrl;
|
||||
}
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* (CourseTypeRelation)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2021-02-02 09:25:06
|
||||
*/
|
||||
|
||||
@ApiModel(value = "课程类别关系表")
|
||||
public class CourseTypeRelation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -48750814361274136L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer courseTypeReId;
|
||||
|
||||
/**
|
||||
* 课程id
|
||||
*/
|
||||
@ApiModelProperty(value = "课程id", required = true)
|
||||
private Integer courseId;
|
||||
|
||||
/**
|
||||
* 类别id
|
||||
*/
|
||||
@ApiModelProperty(value = "类别id", required = true)
|
||||
private Integer courseTypeId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Long createTime;
|
||||
|
||||
public CourseTypeRelation(Integer courseTypeReId, Integer courseId, Integer courseTypeId, Long createTime) {
|
||||
this.courseTypeReId = courseTypeReId;
|
||||
this.courseId = courseId;
|
||||
this.courseTypeId = courseTypeId;
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public CourseTypeRelation() {
|
||||
}
|
||||
|
||||
public Integer getCourseTypeReId() {
|
||||
return courseTypeReId;
|
||||
}
|
||||
|
||||
public void setCourseTypeReId(Integer courseTypeReId) {
|
||||
this.courseTypeReId = courseTypeReId;
|
||||
}
|
||||
|
||||
public Integer getCourseId() {
|
||||
return courseId;
|
||||
}
|
||||
|
||||
public void setCourseId(Integer courseId) {
|
||||
this.courseId = courseId;
|
||||
}
|
||||
|
||||
public Integer getCourseTypeId() {
|
||||
return courseTypeId;
|
||||
}
|
||||
|
||||
public void setCourseTypeId(Integer courseTypeId) {
|
||||
this.courseTypeId = courseTypeId;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
}
|
@ -1,259 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import tk.mybatis.mapper.annotation.Order;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 订单表(Orders)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-26 16:46:40
|
||||
*/
|
||||
|
||||
@ApiModel(value = "订单表")
|
||||
public class Orders implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 204802189701833123L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
@Order("DESC")
|
||||
private Integer ordersId;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@ApiModelProperty(value = "订单号")
|
||||
@NotBlank
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id", required = true)
|
||||
@NotNull
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 班级id
|
||||
*/
|
||||
@ApiModelProperty(value = "班级id", required = true)
|
||||
@NotNull
|
||||
private Integer classId;
|
||||
|
||||
/**
|
||||
* 订单状态
|
||||
*/
|
||||
@ApiModelProperty(value = "订单状态 0 未支付 1 已支付 2 已退款")
|
||||
private Integer orderStatus;
|
||||
|
||||
/**
|
||||
* 商品介绍
|
||||
*/
|
||||
@ApiModelProperty(value = "商品介绍", required = true)
|
||||
@NotNull
|
||||
private String body;
|
||||
|
||||
/**
|
||||
* 订单名称
|
||||
*/
|
||||
@ApiModelProperty(value = "订单名称", required = true)
|
||||
@NotNull
|
||||
private String subject;
|
||||
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
@ApiModelProperty(value = "订单总金额", required = true)
|
||||
@NotNull
|
||||
private Double totalAmount;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Long createTime;
|
||||
|
||||
/**
|
||||
* 支付宝交易号
|
||||
*/
|
||||
@ApiModelProperty(value = "支付宝交易号")
|
||||
private String tradeNo;
|
||||
|
||||
/**
|
||||
* 失效时间
|
||||
*/
|
||||
@ApiModelProperty(value = "失效时间")
|
||||
private Long overTime;
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
*/
|
||||
@ApiModelProperty(value = "订单备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除 1 未删除 0 已删除")
|
||||
private Integer isDe;
|
||||
|
||||
/**
|
||||
* 发票id
|
||||
*/
|
||||
@ApiModelProperty(value = "发票id")
|
||||
private Integer userInvoicesId;
|
||||
|
||||
|
||||
public Orders(Integer ordersId, String orderNo,
|
||||
@NotNull Integer userId, @NotNull Integer classId,
|
||||
Integer orderStatus, @NotNull String body, @NotNull String subject,
|
||||
@NotNull Double totalAmount,
|
||||
Long createTime, String tradeNo, Long overTime, Integer isDe,
|
||||
Integer userInvoicesId, String remark
|
||||
) {
|
||||
this.ordersId = ordersId;
|
||||
this.orderNo = orderNo;
|
||||
this.userId = userId;
|
||||
this.classId = classId;
|
||||
this.orderStatus = orderStatus;
|
||||
this.body = body;
|
||||
this.subject = subject;
|
||||
this.totalAmount = totalAmount;
|
||||
this.createTime = createTime;
|
||||
this.tradeNo = tradeNo;
|
||||
this.overTime = overTime;
|
||||
this.isDe = isDe;
|
||||
this.userInvoicesId = userInvoicesId;
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Orders() {
|
||||
}
|
||||
|
||||
public Integer getOrdersId() {
|
||||
return ordersId;
|
||||
}
|
||||
|
||||
public void setOrdersId(Integer ordersId) {
|
||||
this.ordersId = ordersId;
|
||||
}
|
||||
|
||||
public String getOrderNo() {
|
||||
return orderNo;
|
||||
}
|
||||
|
||||
public void setOrderNo(String orderNo) {
|
||||
this.orderNo = orderNo;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Integer getClassId() {
|
||||
return classId;
|
||||
}
|
||||
|
||||
public void setClassId(Integer classId) {
|
||||
this.classId = classId;
|
||||
}
|
||||
|
||||
public Integer getOrderStatus() {
|
||||
return orderStatus;
|
||||
}
|
||||
|
||||
public void setOrderStatus(Integer orderStatus) {
|
||||
this.orderStatus = orderStatus;
|
||||
}
|
||||
|
||||
public String getBody() {
|
||||
return body;
|
||||
}
|
||||
|
||||
public void setBody(String body) {
|
||||
this.body = body;
|
||||
}
|
||||
|
||||
public String getSubject() {
|
||||
return subject;
|
||||
}
|
||||
|
||||
public void setSubject(String subject) {
|
||||
this.subject = subject;
|
||||
}
|
||||
|
||||
public Double getTotalAmount() {
|
||||
return totalAmount;
|
||||
}
|
||||
|
||||
public void setTotalAmount(Double totalAmount) {
|
||||
this.totalAmount = totalAmount;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getTradeNo() {
|
||||
return tradeNo;
|
||||
}
|
||||
|
||||
public void setTradeNo(String tradeNo) {
|
||||
this.tradeNo = tradeNo;
|
||||
}
|
||||
|
||||
public Long getOverTime() {
|
||||
return overTime;
|
||||
}
|
||||
|
||||
public void setOverTime(Long overTime) {
|
||||
this.overTime = overTime;
|
||||
}
|
||||
|
||||
public Integer getIsDe() {
|
||||
return isDe;
|
||||
}
|
||||
|
||||
public void setIsDe(Integer isDe) {
|
||||
this.isDe = isDe;
|
||||
}
|
||||
|
||||
public Integer getUserInvoicesId() {
|
||||
return userInvoicesId;
|
||||
}
|
||||
|
||||
public void setUserInvoicesId(Integer userInvoicesId) {
|
||||
this.userInvoicesId = userInvoicesId;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return remark;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 随机试卷问题表(PaperQuestion)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-12-07 11:35:09
|
||||
*/
|
||||
|
||||
@ApiModel(value = "抽题表")
|
||||
public class PaperQuestion implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -31457085483443169L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer paperRuleId;
|
||||
|
||||
/**
|
||||
* 试卷编号
|
||||
*/
|
||||
@ApiModelProperty(value = "试卷编号", required = true)
|
||||
@NotNull
|
||||
private Integer paperId;
|
||||
|
||||
/**
|
||||
* 问题数量
|
||||
*/
|
||||
@ApiModelProperty(value = "问题数量", required = true)
|
||||
@NotNull
|
||||
private Integer questionNum;
|
||||
|
||||
/**
|
||||
* 难易程度
|
||||
*/
|
||||
@ApiModelProperty(value = "难易程度", required = true)
|
||||
private Integer questionLevel;
|
||||
|
||||
/**
|
||||
* 题目类型
|
||||
*/
|
||||
@ApiModelProperty(value = "题目类型", required = true)
|
||||
@NotNull
|
||||
private Integer questionType;
|
||||
|
||||
/**
|
||||
* 分值
|
||||
*/
|
||||
@ApiModelProperty(value = "分值", required = true)
|
||||
private Integer score;
|
||||
|
||||
/**
|
||||
* 基于哪个题库
|
||||
*/
|
||||
@ApiModelProperty(value = "基于哪个题库", required = true)
|
||||
@NotNull
|
||||
private Integer questionTagId;
|
||||
|
||||
public PaperQuestion(Integer paperRuleId, @NotNull Integer paperId,
|
||||
@NotNull Integer questionNum, Integer questionLevel,
|
||||
@NotNull Integer questionType, Integer score,
|
||||
@NotNull Integer questionTagId) {
|
||||
this.paperRuleId = paperRuleId;
|
||||
this.paperId = paperId;
|
||||
this.questionNum = questionNum;
|
||||
this.questionLevel = questionLevel;
|
||||
this.questionType = questionType;
|
||||
this.score = score;
|
||||
this.questionTagId = questionTagId;
|
||||
}
|
||||
|
||||
public PaperQuestion() {
|
||||
}
|
||||
|
||||
public Integer getPaperRuleId() {
|
||||
return paperRuleId;
|
||||
}
|
||||
|
||||
public void setPaperRuleId(Integer paperRuleId) {
|
||||
this.paperRuleId = paperRuleId;
|
||||
}
|
||||
|
||||
public Integer getPaperId() {
|
||||
return paperId;
|
||||
}
|
||||
|
||||
public void setPaperId(Integer paperId) {
|
||||
this.paperId = paperId;
|
||||
}
|
||||
|
||||
public Integer getQuestionNum() {
|
||||
return questionNum;
|
||||
}
|
||||
|
||||
public void setQuestionNum(Integer questionNum) {
|
||||
this.questionNum = questionNum;
|
||||
}
|
||||
|
||||
public Integer getQuestionLevel() {
|
||||
return questionLevel;
|
||||
}
|
||||
|
||||
public void setQuestionLevel(Integer questionLevel) {
|
||||
this.questionLevel = questionLevel;
|
||||
}
|
||||
|
||||
public Integer getQuestionType() {
|
||||
return questionType;
|
||||
}
|
||||
|
||||
public void setQuestionType(Integer questionType) {
|
||||
this.questionType = questionType;
|
||||
}
|
||||
|
||||
public Integer getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(Integer score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public Integer getQuestionTagId() {
|
||||
return questionTagId;
|
||||
}
|
||||
|
||||
public void setQuestionTagId(Integer questionTagId) {
|
||||
this.questionTagId = questionTagId;
|
||||
}
|
||||
}
|
@ -1,97 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 问题答案表(QuestionAnswer)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-12-07 11:36:17
|
||||
*/
|
||||
|
||||
@ApiModel(value = "题目答案表")
|
||||
public class QuestionAnswer implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 408168416998479718L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer questionAnswerId;
|
||||
|
||||
/**
|
||||
* 习题id
|
||||
*/
|
||||
@ApiModelProperty(value = "习题id", required = true)
|
||||
@NotNull
|
||||
private Integer questionId;
|
||||
|
||||
/**
|
||||
* 试题答案
|
||||
*/
|
||||
@ApiModelProperty(value = "试题答案", required = true)
|
||||
@NotNull
|
||||
private String questionAnswer;
|
||||
|
||||
/**
|
||||
* 是否正确
|
||||
*/
|
||||
@ApiModelProperty(value = "是否正确", required = true)
|
||||
@NotNull
|
||||
private Byte isTrue;
|
||||
|
||||
public QuestionAnswer(Integer questionAnswerId, @NotNull Integer questionId,
|
||||
@NotNull String questionAnswer, @NotNull Byte isTrue) {
|
||||
this.questionAnswerId = questionAnswerId;
|
||||
this.questionId = questionId;
|
||||
this.questionAnswer = questionAnswer;
|
||||
this.isTrue = isTrue;
|
||||
}
|
||||
|
||||
public QuestionAnswer() {
|
||||
}
|
||||
|
||||
public Integer getQuestionAnswerId() {
|
||||
return questionAnswerId;
|
||||
}
|
||||
|
||||
public void setQuestionAnswerId(Integer questionAnswerId) {
|
||||
this.questionAnswerId = questionAnswerId;
|
||||
}
|
||||
|
||||
public Integer getQuestionId() {
|
||||
return questionId;
|
||||
}
|
||||
|
||||
public void setQuestionId(Integer questionId) {
|
||||
this.questionId = questionId;
|
||||
}
|
||||
|
||||
public String getQuestionAnswer() {
|
||||
return questionAnswer;
|
||||
}
|
||||
|
||||
public void setQuestionAnswer(String questionAnswer) {
|
||||
this.questionAnswer = questionAnswer;
|
||||
}
|
||||
|
||||
public Byte getIsTrue() {
|
||||
return isTrue;
|
||||
}
|
||||
|
||||
public void setIsTrue(Byte isTrue) {
|
||||
this.isTrue = isTrue;
|
||||
}
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 第三方用户表(Third)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-06-17 17:29:30
|
||||
*/
|
||||
|
||||
public class Third implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 449560525009961962L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
private Integer thirdId;
|
||||
/**
|
||||
* 第三方访问TOKEN
|
||||
*/
|
||||
private String thirdToken;
|
||||
/**
|
||||
* 第三方名字
|
||||
*/
|
||||
private String thirdName;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Long createTime = System.currentTimeMillis();
|
||||
/**
|
||||
* 失效时间
|
||||
*/
|
||||
private Long expireTime;
|
||||
|
||||
public Third(Integer thirdId, String thirdToken, String thirdName, Long createTime, Long expireTime) {
|
||||
this.thirdId = thirdId;
|
||||
this.thirdToken = thirdToken;
|
||||
this.thirdName = thirdName;
|
||||
this.createTime = createTime;
|
||||
this.expireTime = expireTime;
|
||||
}
|
||||
|
||||
public Third() {
|
||||
}
|
||||
|
||||
public Integer getThirdId() {
|
||||
return thirdId;
|
||||
}
|
||||
|
||||
public void setThirdId(Integer thirdId) {
|
||||
this.thirdId = thirdId;
|
||||
}
|
||||
|
||||
public String getThirdToken() {
|
||||
return thirdToken;
|
||||
}
|
||||
|
||||
public void setThirdToken(String thirdToken) {
|
||||
this.thirdToken = thirdToken;
|
||||
}
|
||||
|
||||
public String getThirdName() {
|
||||
return thirdName;
|
||||
}
|
||||
|
||||
public void setThirdName(String thirdName) {
|
||||
this.thirdName = thirdName;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Long getExpireTime() {
|
||||
return expireTime;
|
||||
}
|
||||
|
||||
public void setExpireTime(Long expireTime) {
|
||||
this.expireTime = expireTime;
|
||||
}
|
||||
}
|
@ -1,114 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 管理员表(UserAdmin)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-16 13:45:03
|
||||
*/
|
||||
|
||||
@ApiModel(value = "管理员表")
|
||||
public class UserAdmin implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -33023267070799101L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer userAdminId;
|
||||
|
||||
/**
|
||||
* 管理员名字
|
||||
*/
|
||||
@ApiModelProperty(value = "管理员名字", required = true)
|
||||
@NotNull
|
||||
private String adminName;
|
||||
|
||||
/**
|
||||
* 管理员账号
|
||||
*/
|
||||
@ApiModelProperty(value = "管理员账号", required = true)
|
||||
@NotNull
|
||||
private String adminAccount;
|
||||
|
||||
/**
|
||||
* 管理员密码
|
||||
*/
|
||||
@ApiModelProperty(value = "管理员密码", required = true)
|
||||
@NotNull
|
||||
private String adminPass;
|
||||
|
||||
/**
|
||||
* 管理员级别
|
||||
*/
|
||||
@ApiModelProperty(value = "管理员级别", required = true)
|
||||
@NotNull
|
||||
private Integer permissionLevel;
|
||||
|
||||
public UserAdmin(Integer userAdminId, @NotNull String adminName,
|
||||
@NotNull String adminAccount,
|
||||
@NotNull String adminPass, @NotNull Integer permissionLevel) {
|
||||
this.userAdminId = userAdminId;
|
||||
this.adminName = adminName;
|
||||
this.adminAccount = adminAccount;
|
||||
this.adminPass = adminPass;
|
||||
this.permissionLevel = permissionLevel;
|
||||
}
|
||||
|
||||
public UserAdmin() {
|
||||
}
|
||||
|
||||
public Integer getUserAdminId() {
|
||||
return userAdminId;
|
||||
}
|
||||
|
||||
public void setUserAdminId(Integer userAdminId) {
|
||||
this.userAdminId = userAdminId;
|
||||
}
|
||||
|
||||
public String getAdminName() {
|
||||
return adminName;
|
||||
}
|
||||
|
||||
public void setAdminName(String adminName) {
|
||||
this.adminName = adminName;
|
||||
}
|
||||
|
||||
public String getAdminAccount() {
|
||||
return adminAccount;
|
||||
}
|
||||
|
||||
public void setAdminAccount(String adminAccount) {
|
||||
this.adminAccount = adminAccount;
|
||||
}
|
||||
|
||||
public String getAdminPass() {
|
||||
return adminPass;
|
||||
}
|
||||
|
||||
public void setAdminPass(String adminPass) {
|
||||
this.adminPass = adminPass;
|
||||
}
|
||||
|
||||
public Integer getPermissionLevel() {
|
||||
return permissionLevel;
|
||||
}
|
||||
|
||||
public void setPermissionLevel(Integer permissionLevel) {
|
||||
this.permissionLevel = permissionLevel;
|
||||
}
|
||||
}
|
@ -1,172 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.Email;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 用户建议表
|
||||
* (UserAdvise)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-16 14:20:01
|
||||
*/
|
||||
|
||||
@ApiModel(value = "用户信息表")
|
||||
public class UserAdvise implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -75842427826309033L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private Integer adviceId;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@ApiModelProperty(value = "用户ID", required = true)
|
||||
@NotNull
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
@ApiModelProperty(value = "邮箱", required = true)
|
||||
@NotNull
|
||||
@Email
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
@ApiModelProperty(value = "标题", required = true)
|
||||
@NotNull
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 用户建议
|
||||
*/
|
||||
@ApiModelProperty(value = "通知信息", required = true)
|
||||
@NotNull
|
||||
private String advise;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*/
|
||||
@ApiModelProperty(value = "时间")
|
||||
private Long createTime;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "通知图片")
|
||||
private String adviceLogo;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "通知类型")
|
||||
private Integer adviceType;
|
||||
|
||||
@ApiModelProperty(value = "是否回复")
|
||||
private Integer isReply;
|
||||
|
||||
public UserAdvise(Integer adviceId, @NotNull Integer userId,
|
||||
@NotNull @Email String email,
|
||||
@NotNull String title, @NotNull String advise,
|
||||
Long createTime, String adviceLogo,
|
||||
Integer adviceType, Integer isReply) {
|
||||
this.adviceId = adviceId;
|
||||
this.userId = userId;
|
||||
this.email = email;
|
||||
this.title = title;
|
||||
this.advise = advise;
|
||||
this.createTime = createTime;
|
||||
this.adviceLogo = adviceLogo;
|
||||
this.adviceType = adviceType;
|
||||
this.isReply = isReply;
|
||||
}
|
||||
|
||||
public UserAdvise() {
|
||||
}
|
||||
|
||||
public Integer getAdviceId() {
|
||||
return adviceId;
|
||||
}
|
||||
|
||||
public void setAdviceId(Integer adviceId) {
|
||||
this.adviceId = adviceId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getAdvise() {
|
||||
return advise;
|
||||
}
|
||||
|
||||
public void setAdvise(String advise) {
|
||||
this.advise = advise;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public String getAdviceLogo() {
|
||||
return adviceLogo;
|
||||
}
|
||||
|
||||
public void setAdviceLogo(String adviceLogo) {
|
||||
this.adviceLogo = adviceLogo;
|
||||
}
|
||||
|
||||
public Integer getAdviceType() {
|
||||
return adviceType;
|
||||
}
|
||||
|
||||
public void setAdviceType(Integer adviceType) {
|
||||
this.adviceType = adviceType;
|
||||
}
|
||||
|
||||
public Integer getIsReply() {
|
||||
return isReply;
|
||||
}
|
||||
|
||||
public void setIsReply(Integer isReply) {
|
||||
this.isReply = isReply;
|
||||
}
|
||||
}
|
@ -1,114 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 用户课程表(UserCourse)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-09 10:05:18
|
||||
*/
|
||||
|
||||
@ApiModel(value = "用户课程表")
|
||||
public class UserCourse implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 367696525637009095L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer userCourseId;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id", required = true)
|
||||
@NotNull
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 课程SKUid
|
||||
*/
|
||||
@ApiModelProperty(value = "课程SKUid", required = true)
|
||||
@NotNull
|
||||
private Integer courseId;
|
||||
|
||||
/**
|
||||
* 总体进度
|
||||
*/
|
||||
@ApiModelProperty(value = "总体进度")
|
||||
@NotNull
|
||||
private Double coursePercent;
|
||||
|
||||
/**
|
||||
* 班级ID
|
||||
*/
|
||||
@ApiModelProperty(value = "班级ID", required = true)
|
||||
@NotNull
|
||||
private Integer classId;
|
||||
|
||||
public UserCourse(Integer userCourseId, @NotNull Integer userId,
|
||||
@NotNull Integer courseId, Double coursePercent,
|
||||
@NotNull Integer classId) {
|
||||
this.userCourseId = userCourseId;
|
||||
this.userId = userId;
|
||||
this.courseId = courseId;
|
||||
this.coursePercent = coursePercent;
|
||||
this.classId = classId;
|
||||
}
|
||||
|
||||
public UserCourse() {
|
||||
}
|
||||
|
||||
public Integer getUserCourseId() {
|
||||
return userCourseId;
|
||||
}
|
||||
|
||||
public void setUserCourseId(Integer userCourseId) {
|
||||
this.userCourseId = userCourseId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Integer getCourseId() {
|
||||
return courseId;
|
||||
}
|
||||
|
||||
public void setCourseId(Integer courseId) {
|
||||
this.courseId = courseId;
|
||||
}
|
||||
|
||||
public Double getCoursePercent() {
|
||||
return coursePercent;
|
||||
}
|
||||
|
||||
public void setCoursePercent(Double coursePercent) {
|
||||
this.coursePercent = coursePercent;
|
||||
}
|
||||
|
||||
public Integer getClassId() {
|
||||
return classId;
|
||||
}
|
||||
|
||||
public void setClassId(Integer classId) {
|
||||
this.classId = classId;
|
||||
}
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* (UserTeacher)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-20 11:08:17
|
||||
*/
|
||||
|
||||
@ApiModel(value = "老师表")
|
||||
public class UserTeacher implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 354661860163916483L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键")
|
||||
private Integer teacherId;
|
||||
|
||||
/**
|
||||
* 老师名称
|
||||
*/
|
||||
@ApiModelProperty(value = "老师名称", required = true)
|
||||
@NotNull
|
||||
private String teacherName;
|
||||
|
||||
/**
|
||||
* 老师简介
|
||||
*/
|
||||
@ApiModelProperty(value = "老师简介", required = true)
|
||||
@NotNull
|
||||
private String teacherIntroduce;
|
||||
|
||||
/**
|
||||
* 老师头像
|
||||
*/
|
||||
@ApiModelProperty(value = "老师头像", required = true)
|
||||
@NotNull
|
||||
private String teacherLogo;
|
||||
|
||||
/**
|
||||
* 老师图片
|
||||
*/
|
||||
@ApiModelProperty(value = "老师图片", required = true)
|
||||
@NotNull
|
||||
private String teacherUrl;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*/
|
||||
@ApiModelProperty(value = "时间")
|
||||
private Long createTime;
|
||||
|
||||
public UserTeacher(Integer teacherId, @NotNull String teacherName,
|
||||
@NotNull String teacherIntroduce,
|
||||
@NotNull String teacherLogo,
|
||||
@NotNull String teacherUrl, Long createTime) {
|
||||
this.teacherId = teacherId;
|
||||
this.teacherName = teacherName;
|
||||
this.teacherIntroduce = teacherIntroduce;
|
||||
this.teacherLogo = teacherLogo;
|
||||
this.teacherUrl = teacherUrl;
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public UserTeacher() {
|
||||
}
|
||||
|
||||
public Integer getTeacherId() {
|
||||
return teacherId;
|
||||
}
|
||||
|
||||
public void setTeacherId(Integer teacherId) {
|
||||
this.teacherId = teacherId;
|
||||
}
|
||||
|
||||
public String getTeacherName() {
|
||||
return teacherName;
|
||||
}
|
||||
|
||||
public void setTeacherName(String teacherName) {
|
||||
this.teacherName = teacherName;
|
||||
}
|
||||
|
||||
public String getTeacherIntroduce() {
|
||||
return teacherIntroduce;
|
||||
}
|
||||
|
||||
public void setTeacherIntroduce(String teacherIntroduce) {
|
||||
this.teacherIntroduce = teacherIntroduce;
|
||||
}
|
||||
|
||||
public String getTeacherLogo() {
|
||||
return teacherLogo;
|
||||
}
|
||||
|
||||
public void setTeacherLogo(String teacherLogo) {
|
||||
this.teacherLogo = teacherLogo;
|
||||
}
|
||||
|
||||
public String getTeacherUrl() {
|
||||
return teacherUrl;
|
||||
}
|
||||
|
||||
public void setTeacherUrl(String teacherUrl) {
|
||||
this.teacherUrl = teacherUrl;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
}
|
@ -1,165 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 用户考试记录表(UserTestHistory)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-12-07 11:28:17
|
||||
*/
|
||||
|
||||
@ApiModel(value = "考试记录表")
|
||||
public class UserTestHistory implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -86805600747462758L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer testId;
|
||||
|
||||
/**
|
||||
* 用户Id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户Id", required = true)
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 试卷ID
|
||||
*/
|
||||
@ApiModelProperty(value = "试卷ID", required = true)
|
||||
private Integer paperId;
|
||||
|
||||
/**
|
||||
* 班次id
|
||||
*/
|
||||
@ApiModelProperty(value = "班次ID", required = true)
|
||||
private Integer classId;
|
||||
|
||||
/**
|
||||
* 成绩
|
||||
*/
|
||||
@ApiModelProperty(value = "成绩", required = true)
|
||||
private Integer score;
|
||||
|
||||
/**
|
||||
* 问题ID数组
|
||||
*/
|
||||
@ApiModelProperty(value = "问题ID数组", required = true)
|
||||
private String answer;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Long createTime;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "总分", required = true)
|
||||
private Integer totalScore;
|
||||
|
||||
/**
|
||||
* 考试时间
|
||||
*/
|
||||
@ApiModelProperty(value = "考试时间", required = true)
|
||||
private String testTime;
|
||||
|
||||
public UserTestHistory(Integer testId, Integer userId, Integer paperId,
|
||||
Integer classId, Integer score, String answer,
|
||||
Long createTime, Integer totalScore, String testTime) {
|
||||
this.testId = testId;
|
||||
this.userId = userId;
|
||||
this.paperId = paperId;
|
||||
this.classId = classId;
|
||||
this.score = score;
|
||||
this.answer = answer;
|
||||
this.createTime = createTime;
|
||||
this.totalScore = totalScore;
|
||||
this.testTime = testTime;
|
||||
}
|
||||
|
||||
public UserTestHistory() {
|
||||
}
|
||||
|
||||
public Integer getTestId() {
|
||||
return testId;
|
||||
}
|
||||
|
||||
public void setTestId(Integer testId) {
|
||||
this.testId = testId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public Integer getPaperId() {
|
||||
return paperId;
|
||||
}
|
||||
|
||||
public void setPaperId(Integer paperId) {
|
||||
this.paperId = paperId;
|
||||
}
|
||||
|
||||
public Integer getClassId() {
|
||||
return classId;
|
||||
}
|
||||
|
||||
public void setClassId(Integer classId) {
|
||||
this.classId = classId;
|
||||
}
|
||||
|
||||
public Integer getScore() {
|
||||
return score;
|
||||
}
|
||||
|
||||
public void setScore(Integer score) {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
public String getAnswer() {
|
||||
return answer;
|
||||
}
|
||||
|
||||
public void setAnswer(String answer) {
|
||||
this.answer = answer;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public Integer getTotalScore() {
|
||||
return totalScore;
|
||||
}
|
||||
|
||||
public void setTotalScore(Integer totalScore) {
|
||||
this.totalScore = totalScore;
|
||||
}
|
||||
|
||||
public String getTestTime() {
|
||||
return testTime;
|
||||
}
|
||||
|
||||
public void setTestTime(String testTime) {
|
||||
this.testTime = testTime;
|
||||
}
|
||||
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 用户视频观看记录(UserVideoPosition)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-05-29 15:50:50
|
||||
*/
|
||||
|
||||
@ApiModel(value = "视频记录表")
|
||||
public class UserVideoPosition implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 133164084604002223L;
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键ID")
|
||||
private Integer userVideoPositionId;
|
||||
|
||||
/**
|
||||
* 视频id
|
||||
*/
|
||||
@ApiModelProperty(value = "视频id", required = true)
|
||||
@NotNull
|
||||
private Integer videoId;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id", required = true)
|
||||
@NotNull
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 视频观看时间
|
||||
*/
|
||||
private String videoPosition;
|
||||
|
||||
/**
|
||||
* 是否观看解鼠
|
||||
*/
|
||||
private Integer watchEnd;
|
||||
|
||||
/**
|
||||
* 视频时长
|
||||
*/
|
||||
private String videoTime;
|
||||
|
||||
public UserVideoPosition(Integer userVideoPositionId, @NotNull Integer videoId,
|
||||
@NotNull Integer userId,
|
||||
String videoPosition, Integer watchEnd, String videoTime) {
|
||||
this.userVideoPositionId = userVideoPositionId;
|
||||
this.videoId = videoId;
|
||||
this.userId = userId;
|
||||
this.videoPosition = videoPosition;
|
||||
this.watchEnd = watchEnd;
|
||||
this.videoTime = videoTime;
|
||||
}
|
||||
|
||||
public UserVideoPosition() {
|
||||
}
|
||||
|
||||
public Integer getUserVideoPositionId() {
|
||||
return userVideoPositionId;
|
||||
}
|
||||
|
||||
public void setUserVideoPositionId(Integer userVideoPositionId) {
|
||||
this.userVideoPositionId = userVideoPositionId;
|
||||
}
|
||||
|
||||
public Integer getVideoId() {
|
||||
return videoId;
|
||||
}
|
||||
|
||||
public void setVideoId(Integer videoId) {
|
||||
this.videoId = videoId;
|
||||
}
|
||||
|
||||
public Integer getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Integer userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
|
||||
public String getVideoPosition() {
|
||||
return videoPosition;
|
||||
}
|
||||
|
||||
public void setVideoPosition(String videoPosition) {
|
||||
this.videoPosition = videoPosition;
|
||||
}
|
||||
|
||||
public Integer getWatchEnd() {
|
||||
return watchEnd;
|
||||
}
|
||||
|
||||
public void setWatchEnd(Integer watchEnd) {
|
||||
this.watchEnd = watchEnd;
|
||||
}
|
||||
|
||||
public String getVideoTime() {
|
||||
return videoTime;
|
||||
}
|
||||
|
||||
public void setVideoTime(String videoTime) {
|
||||
this.videoTime = videoTime;
|
||||
}
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Transient;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 省份表(ZccmAreaDistrict)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-20 12:48:44
|
||||
*/
|
||||
|
||||
@ApiModel(value = "地区表")
|
||||
@Data
|
||||
public class ZccmAreaDistrict implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -60609528264342036L;
|
||||
|
||||
/**
|
||||
* 地区编号
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "地区编号")
|
||||
private Integer areaId;
|
||||
|
||||
/**
|
||||
* 地区名称
|
||||
*/
|
||||
@ApiModelProperty(value = "地区名称", required = true)
|
||||
@NotNull
|
||||
private String areaName;
|
||||
|
||||
/**
|
||||
* 父级编号
|
||||
*/
|
||||
@ApiModelProperty(value = "父级编号", required = true)
|
||||
@NotNull
|
||||
private Integer parentId;
|
||||
|
||||
/**
|
||||
* 省级配图
|
||||
*/
|
||||
@ApiModelProperty(value = "省级配图", required = true)
|
||||
private String areaImage;
|
||||
|
||||
/**
|
||||
* 地区状态 0/锁定 1/开放
|
||||
*/
|
||||
@ApiModelProperty(value = "地区状态 0/锁定 1/开放", required = true)
|
||||
private Integer areaStatus;
|
||||
|
||||
/**
|
||||
* 地区索引
|
||||
*/
|
||||
@ApiModelProperty(value = "地区索引", required = true)
|
||||
@NotNull
|
||||
private Integer areaIndex;
|
||||
|
||||
/**
|
||||
* 构造的
|
||||
*/
|
||||
@Transient
|
||||
private List<ZccmAreaDistrict> areaDistrictList;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.Transient;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
* 课程章节表(CourseChapter)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-09 10:04:47
|
||||
*/
|
||||
|
||||
|
||||
@ApiModel(value = "章节表")
|
||||
@Data
|
||||
public class ZccmCourseChapter implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 873871660383226119L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer courseChapterId;
|
||||
|
||||
/**
|
||||
* 章节名字
|
||||
*/
|
||||
@ApiModelProperty(value = "章节名字", required = true)
|
||||
@NotNull
|
||||
private String chapterName;
|
||||
|
||||
/**
|
||||
* 父节点ID
|
||||
*/
|
||||
@ApiModelProperty(value = "父节点ID", required = true)
|
||||
@NotNull
|
||||
private Integer parentId;
|
||||
|
||||
/**
|
||||
* 章节层级
|
||||
*/
|
||||
@ApiModelProperty(value = "章节层级", required = true)
|
||||
@NotNull
|
||||
private Integer chapterLevel;
|
||||
|
||||
/**
|
||||
* 课程ID
|
||||
*/
|
||||
@ApiModelProperty(value = "课程ID", required = true)
|
||||
@NotNull
|
||||
private Integer courseId;
|
||||
|
||||
/**
|
||||
* 构造
|
||||
*/
|
||||
@Transient
|
||||
private List<ZccmCourseChapter> childChapter;
|
||||
|
||||
@Transient
|
||||
private ZccmCourseChapterVideo chapterVideo;
|
||||
|
||||
@Transient
|
||||
private ZccmCourseChapterAnnex courseChapterAnnex;
|
||||
|
||||
@Transient
|
||||
private ZccmUserVideoPosition userVideoPosition;
|
||||
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 章节附件表(CourseChapterAnnex)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-09 10:04:48
|
||||
*/
|
||||
|
||||
|
||||
@ApiModel(value = "章节附件表")
|
||||
@Data
|
||||
public class ZccmCourseChapterAnnex implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 282553089268625985L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer courseChapterAnnexId;
|
||||
|
||||
/**
|
||||
* 附件名字
|
||||
*/
|
||||
@ApiModelProperty(value = "附件名字", required = true)
|
||||
@NotNull
|
||||
private String annexName;
|
||||
|
||||
/**
|
||||
* 章节ID
|
||||
*/
|
||||
@ApiModelProperty(value = "章节ID", required = true)
|
||||
@NotNull
|
||||
private Integer courseChapterId;
|
||||
|
||||
/**
|
||||
* 介绍
|
||||
*/
|
||||
@ApiModelProperty(value = "介绍", required = true)
|
||||
@NotNull
|
||||
private String annexIntroduction;
|
||||
|
||||
/**
|
||||
* 附件地址
|
||||
*/
|
||||
@ApiModelProperty(value = "附件地址", required = true)
|
||||
@NotNull
|
||||
private String annexUrl;
|
||||
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* (CourseTypeRelation)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2021-02-02 09:25:06
|
||||
*/
|
||||
|
||||
@ApiModel(value = "课程类别关系表")
|
||||
@Data
|
||||
public class ZccmCourseTypeRelation implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -48750814361274136L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer courseTypeReId;
|
||||
|
||||
/**
|
||||
* 课程id
|
||||
*/
|
||||
@ApiModelProperty(value = "课程id", required = true)
|
||||
private Integer courseId;
|
||||
|
||||
/**
|
||||
* 类别id
|
||||
*/
|
||||
@ApiModelProperty(value = "类别id", required = true)
|
||||
private Integer courseTypeId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Long createTime;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,124 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import tk.mybatis.mapper.annotation.Order;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotBlank;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 订单表(Orders)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-11-26 16:46:40
|
||||
*/
|
||||
|
||||
@ApiModel(value = "订单表")
|
||||
@Data
|
||||
public class ZccmOrders implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 204802189701833123L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
@Order("DESC")
|
||||
private Integer ordersId;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
@ApiModelProperty(value = "订单号")
|
||||
@NotBlank
|
||||
private String orderNo;
|
||||
|
||||
/**
|
||||
* 用户id
|
||||
*/
|
||||
@ApiModelProperty(value = "用户id", required = true)
|
||||
@NotNull
|
||||
private Integer userId;
|
||||
|
||||
/**
|
||||
* 班级id
|
||||
*/
|
||||
@ApiModelProperty(value = "班级id", required = true)
|
||||
@NotNull
|
||||
private Integer classId;
|
||||
|
||||
/**
|
||||
* 订单状态
|
||||
*/
|
||||
@ApiModelProperty(value = "订单状态 0 未支付 1 已支付 2 已退款")
|
||||
private Integer orderStatus;
|
||||
|
||||
/**
|
||||
* 商品介绍
|
||||
*/
|
||||
@ApiModelProperty(value = "商品介绍", required = true)
|
||||
@NotNull
|
||||
private String body;
|
||||
|
||||
/**
|
||||
* 订单名称
|
||||
*/
|
||||
@ApiModelProperty(value = "订单名称", required = true)
|
||||
@NotNull
|
||||
private String subject;
|
||||
|
||||
/**
|
||||
* 订单总金额
|
||||
*/
|
||||
@ApiModelProperty(value = "订单总金额", required = true)
|
||||
@NotNull
|
||||
private Double totalAmount;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@ApiModelProperty(value = "创建时间")
|
||||
private Long createTime;
|
||||
|
||||
/**
|
||||
* 支付宝交易号
|
||||
*/
|
||||
@ApiModelProperty(value = "支付宝交易号")
|
||||
private String tradeNo;
|
||||
|
||||
/**
|
||||
* 失效时间
|
||||
*/
|
||||
@ApiModelProperty(value = "失效时间")
|
||||
private Long overTime;
|
||||
|
||||
/**
|
||||
* 订单备注
|
||||
*/
|
||||
@ApiModelProperty(value = "订单备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 是否删除
|
||||
*/
|
||||
@ApiModelProperty(value = "是否删除 1 未删除 0 已删除")
|
||||
private Integer isDe;
|
||||
|
||||
/**
|
||||
* 发票id
|
||||
*/
|
||||
@ApiModelProperty(value = "发票id")
|
||||
private Integer userInvoicesId;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
package com.hc.business.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.GeneratedValue;
|
||||
import javax.persistence.GenerationType;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
|
||||
/**
|
||||
* 随机试卷问题表(PaperQuestion)实体类
|
||||
*
|
||||
* @author java
|
||||
* @since 2020-12-07 11:35:09
|
||||
*/
|
||||
|
||||
@ApiModel(value = "抽题表")
|
||||
@Data
|
||||
public class ZccmPaperQuestion implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -31457085483443169L;
|
||||
|
||||
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@ApiModelProperty(value = "主键id")
|
||||
private Integer paperRuleId;
|
||||
|
||||
/**
|
||||
* 试卷编号
|
||||
*/
|
||||
@ApiModelProperty(value = "试卷编号", required = true)
|
||||
@NotNull
|
||||
private Integer paperId;
|
||||
|
||||
/**
|
||||
* 问题数量
|
||||
*/
|
||||
@ApiModelProperty(value = "问题数量", required = true)
|
||||
@NotNull
|
||||
private Integer questionNum;
|
||||
|
||||
/**
|
||||
* 难易程度
|
||||
*/
|
||||
@ApiModelProperty(value = "难易程度", required = true)
|
||||
private Integer questionLevel;
|
||||
|
||||
/**
|
||||
* 题目类型
|
||||
*/
|
||||
@ApiModelProperty(value = "题目类型", required = true)
|
||||
@NotNull
|
||||
private Integer questionType;
|
||||
|
||||
/**
|
||||
* 分值
|
||||
*/
|
||||
@ApiModelProperty(value = "分值", required = true)
|
||||
private Integer score;
|
||||
|
||||
/**
|
||||
* 基于哪个题库
|
||||
*/
|
||||
@ApiModelProperty(value = "基于哪个题库", required = true)
|
||||
@NotNull
|
||||
private Integer questionTagId;
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue