完成表更改

master
ymnets 9 months ago
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;
}

@ -7,7 +7,7 @@ import lombok.Getter;
* @since 2020/11/25 10:41
*/
@Getter
public class ClassCourseDto {
public class ZccmClassCourseDto {
private Integer classCourseId;

@ -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;
}

@ -8,7 +8,7 @@ import lombok.ToString;
*/
@Getter
@ToString
public class OrderInvoicesDto {
public class ZccmOrderInvoicesDto {
private Integer ordersId;

@ -3,7 +3,7 @@ package com.hc.business.dto;
import java.io.Serializable;
import java.util.List;
public class PaperAnswer implements Serializable{
public class ZccmPaperAnswer implements Serializable{
private Integer questionId;

@ -7,7 +7,7 @@ import java.io.Serializable;
import java.util.List;
@Data
public class PaperCommitDTO implements Serializable {
public class ZccmPaperCommitDTO implements Serializable {
@NotNull(message = "用户id不可以为空")
private Integer userId;
@ -21,6 +21,6 @@ public class PaperCommitDTO implements Serializable {
@NotNull(message = "考试时间不可以为空")
private String testTime;
private List<PaperAnswer> answerList;
private List<ZccmPaperAnswer> answerList;
}

@ -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;
}

@ -8,7 +8,7 @@ import java.util.List;
* @author 10696
*/
@Data
public class QuestionTypeDto {
public class ZccmQuestionTypeDto {
private String typeName;

@ -9,7 +9,7 @@ import javax.validation.constraints.NotNull;
*/
@Data
public class RetrievePasswordDto {
public class ZccmRetrievePasswordDto {
@NotNull(message = "手机号不可以为空")
private String userMobile;

@ -9,7 +9,7 @@ import javax.validation.constraints.NotNull;
*/
@Data
public class SmsLoginDto {
public class ZccmSmsLoginDto {
@NotNull(message = "手机号不可以为空")
private String userMobile;

@ -8,7 +8,7 @@ import lombok.Data;
*/
@Data
public class StaTimeTable {
public class ZccmStaTimeTable {
private String clickDate;

@ -15,7 +15,7 @@ import java.io.Serializable;
*/
@Data
public class ThirdCourseBack implements Serializable {
public class ZccmThirdCourseBack implements Serializable {
private static final long serialVersionUID = 819515458055433747L;

@ -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;
}

@ -10,7 +10,7 @@ import lombok.Getter;
* @since 2020-11-09 10:05:18
*/
@Getter
public class TypeCourseDto {
public class ZccmTypeCourseDto {
private Integer courseTypeReId;

@ -1,17 +1,6 @@
package com.hc.business.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
/**
@ -21,7 +10,7 @@ import java.io.Serializable;
* @since 2020-11-09 10:05:18
*/
@Getter
public class UserCourseDto {
public class ZccmUserCourseDto {
private Integer userCourseId;

@ -1,16 +1,7 @@
package com.hc.business.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Getter;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@ -21,7 +12,7 @@ import java.io.Serializable;
* @since 2020-11-09 10:04:13
*/
@Getter
public class UserListDto implements Serializable {
public class ZccmUserListDto implements Serializable {

@ -10,7 +10,7 @@ import java.math.BigDecimal;
*/
@Data
public class UserPriceTotal {
public class ZccmUserPriceTotal {
private BigDecimal totalUserCount;

@ -8,7 +8,7 @@ import lombok.Getter;
*/
@Getter
public class UserStatusClassDto {
public class ZccmUserStatusClassDto {
private Integer statusId;

@ -8,7 +8,7 @@ import lombok.Data;
*/
@Data
public class UserTimeTotal {
public class ZccmUserTimeTotal {
private Integer totalUserCount;

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.AreaDistrict;
import com.hc.business.model.ZccmAreaDistrict;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface AreaDistrictMapper extends Mapper<AreaDistrict> {
public interface ZccmAreaDistrictMapper extends Mapper<ZccmAreaDistrict> {
/**
* parentId
@ -22,6 +22,6 @@ public interface AreaDistrictMapper extends Mapper<AreaDistrict> {
* @param parentId id
* @return
*/
List<AreaDistrict> queryAllByParentId(Integer parentId);
List<ZccmAreaDistrict> queryAllByParentId(Integer parentId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.Banner;
import com.hc.business.model.ZccmBanner;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -13,6 +13,6 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface BannerMapper extends Mapper<Banner> {
public interface ZccmBannerMapper extends Mapper<ZccmBanner> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.ClassConfig;
import com.hc.business.model.ZccmClassConfig;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface ClassConfigMapper extends Mapper<ClassConfig> {
public interface ZccmClassConfigMapper extends Mapper<ZccmClassConfig> {
/**
*
@ -22,7 +22,7 @@ public interface ClassConfigMapper extends Mapper<ClassConfig> {
* @param valid 线
* @return
*/
List<ClassConfig> queryByValid(Integer valid);
List<ZccmClassConfig> queryByValid(Integer valid);
/**
* id
@ -30,7 +30,7 @@ public interface ClassConfigMapper extends Mapper<ClassConfig> {
* @param areaId id
* @return
*/
List<ClassConfig> queryByAreaId(Integer areaId);
List<ZccmClassConfig> queryByAreaId(Integer areaId);
/**
*
@ -38,7 +38,7 @@ public interface ClassConfigMapper extends Mapper<ClassConfig> {
* @param name
* @return
*/
List<ClassConfig> queryByClassName(String name);
List<ZccmClassConfig> queryByClassName(String name);
/**
*
@ -46,12 +46,12 @@ public interface ClassConfigMapper extends Mapper<ClassConfig> {
* @param studyStartTime
* @return
*/
List<ClassConfig> queryByTime(Long studyStartTime);
List<ZccmClassConfig> queryByTime(Long studyStartTime);
/**
*
*
* @return
*/
List<ClassConfig> queryAll();
List<ZccmClassConfig> queryAll();
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.ClassConfigSponsor;
import com.hc.business.model.ZccmClassConfigSponsor;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface ClassConfigSponsorMapper extends Mapper<ClassConfigSponsor> {
public interface ZccmClassConfigSponsorMapper extends Mapper<ZccmClassConfigSponsor> {
/**
*
@ -22,5 +22,5 @@ public interface ClassConfigSponsorMapper extends Mapper<ClassConfigSponsor> {
* @param classId id
* @return
*/
List<ClassConfigSponsor> queryListByClassId(Integer classId);
List<ZccmClassConfigSponsor> queryListByClassId(Integer classId);
}

@ -1,7 +1,7 @@
package com.hc.business.mapper;
import com.hc.business.dto.ClassCourseDto;
import com.hc.business.model.ClassCourse;
import com.hc.business.dto.ZccmClassCourseDto;
import com.hc.business.model.ZccmClassCourse;
import com.hc.core.utils.mapper.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@ -16,7 +16,7 @@ import java.util.List;
*/
@Repository
public interface ClassCourseMapper extends Mapper<ClassCourse> {
public interface ZccmClassCourseMapper extends Mapper<ZccmClassCourse> {
/**
*
@ -25,8 +25,8 @@ public interface ClassCourseMapper extends Mapper<ClassCourse> {
* @param courseType
* @return
*/
List<ClassCourseDto> queryByClassId(@Param("classId") Integer classId,
@Param("courseType") Integer courseType);
List<ZccmClassCourseDto> queryByClassId(@Param("classId") Integer classId,
@Param("courseType") Integer courseType);
/**
*
@ -35,7 +35,7 @@ public interface ClassCourseMapper extends Mapper<ClassCourse> {
* @param courseId id
* @return
*/
List<ClassCourse> queryByClassIdWithCourseId(@Param("classId") Integer classId,
List<ZccmClassCourse> queryByClassIdWithCourseId(@Param("classId") Integer classId,
@Param("courseId") Integer courseId);

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseChapterAnnex;
import com.hc.business.model.ZccmCourseChapterAnnex;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -12,6 +12,6 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface CourseChapterAnnexMapper extends Mapper<CourseChapterAnnex> {
public interface ZccmCourseChapterAnnexMapper extends Mapper<ZccmCourseChapterAnnex> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseChapter;
import com.hc.business.model.ZccmCourseChapter;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -16,7 +16,7 @@ import java.util.Map;
@Repository
public interface CourseChapterMapper extends Mapper<CourseChapter> {
public interface ZccmCourseChapterMapper extends Mapper<ZccmCourseChapter> {
/**
* william
@ -24,5 +24,5 @@ public interface CourseChapterMapper extends Mapper<CourseChapter> {
* @param map
* @return
*/
List<CourseChapter> getCourseChapterChildList(Map<String, Object> map);
List<ZccmCourseChapter> getCourseChapterChildList(Map<String, Object> map);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseChapterTag;
import com.hc.business.model.ZccmCourseChapterTag;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -12,6 +12,6 @@ import com.hc.core.utils.mapper.Mapper;
*/
@Repository
public interface CourseChapterTagMapper extends Mapper<CourseChapterTag> {
public interface ZccmCourseChapterTagMapper extends Mapper<ZccmCourseChapterTag> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseChapterTest;
import com.hc.business.model.ZccmCourseChapterTest;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -12,6 +12,6 @@ import com.hc.core.utils.mapper.Mapper;
*/
@Repository
public interface CourseChapterTestMapper extends Mapper<CourseChapterTest> {
public interface ZccmCourseChapterTestMapper extends Mapper<ZccmCourseChapterTest> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseChapterVideo;
import com.hc.business.model.ZccmCourseChapterVideo;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface CourseChapterVideoMapper extends Mapper<CourseChapterVideo> {
public interface ZccmCourseChapterVideoMapper extends Mapper<ZccmCourseChapterVideo> {
/**
*
@ -22,7 +22,7 @@ public interface CourseChapterVideoMapper extends Mapper<CourseChapterVideo> {
* @param chapterId id
* @return
*/
List<CourseChapterVideo> selectVideoByChapterId(Integer chapterId);
List<ZccmCourseChapterVideo> selectVideoByChapterId(Integer chapterId);
/**
*
@ -30,6 +30,6 @@ public interface CourseChapterVideoMapper extends Mapper<CourseChapterVideo> {
* @param courseId id
* @return
*/
List<CourseChapterVideo> selectVideoByCourseId(Integer courseId);
List<ZccmCourseChapterVideo> selectVideoByCourseId(Integer courseId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.Course;
import com.hc.business.model.ZccmCourse;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface CourseMapper extends Mapper<Course> {
public interface ZccmCourseMapper extends Mapper<ZccmCourse> {
/**
* id
@ -22,7 +22,7 @@ public interface CourseMapper extends Mapper<Course> {
* @param typeId id
* @return
*/
List<Course> queryByTypeId(Integer typeId);
List<ZccmCourse> queryByTypeId(Integer typeId);
/**
*
@ -30,7 +30,7 @@ public interface CourseMapper extends Mapper<Course> {
* @param name
* @return
*/
List<Course> queryTeacherName(String name);
List<ZccmCourse> queryTeacherName(String name);
/**
*
@ -38,7 +38,7 @@ public interface CourseMapper extends Mapper<Course> {
* @param name
* @return
*/
List<Course> queryCourseName(String name);
List<ZccmCourse> queryCourseName(String name);
/**
*
@ -46,5 +46,5 @@ public interface CourseMapper extends Mapper<Course> {
* @param valid
* @return
*/
List<Course> queryAll(Integer valid);
List<ZccmCourse> queryAll(Integer valid);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseType;
import com.hc.business.model.ZccmCourseType;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface CourseTypeMapper extends Mapper<CourseType> {
public interface ZccmCourseTypeMapper extends Mapper<ZccmCourseType> {
/**
*
@ -22,7 +22,7 @@ public interface CourseTypeMapper extends Mapper<CourseType> {
* @param courseName
* @return
*/
List<CourseType> queryAllByCourseName(String courseName);
List<ZccmCourseType> queryAllByCourseName(String courseName);

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.CourseTypeRelation;
import com.hc.business.model.ZccmCourseTypeRelation;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -12,6 +12,6 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface CourseTypeRelationMapper extends Mapper<CourseTypeRelation> {
public interface ZccmCourseTypeRelationMapper extends Mapper<ZccmCourseTypeRelation> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.News;
import com.hc.business.model.ZccmNews;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -15,7 +15,7 @@ import java.util.List;
*/
@Repository
public interface NewsMapper extends Mapper<News> {
public interface ZccmNewsMapper extends Mapper<ZccmNews> {
/**
* idnews
@ -23,7 +23,7 @@ public interface NewsMapper extends Mapper<News> {
* @param tagId id
* @return
*/
List<News> queryByTagId(Integer tagId);
List<ZccmNews> queryByTagId(Integer tagId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.NewsTag;
import com.hc.business.model.ZccmNewsTag;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,13 +14,13 @@ import java.util.List;
*/
@Repository
public interface NewsTagMapper extends Mapper<NewsTag> {
public interface ZccmNewsTagMapper extends Mapper<ZccmNewsTag> {
/**
*
*
* @return
*/
List<NewsTag> queryAll();
List<ZccmNewsTag> queryAll();
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.OrderUserLog;
import com.hc.business.model.ZccmOrderUserLog;
import com.hc.core.utils.mapper.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@ -15,7 +15,7 @@ import java.util.List;
*/
@Repository
public interface OrderUserLogMapper extends Mapper<OrderUserLog> {
public interface ZccmOrderUserLogMapper extends Mapper<ZccmOrderUserLog> {
/**
* id
@ -23,7 +23,7 @@ public interface OrderUserLogMapper extends Mapper<OrderUserLog> {
* @param ordersId id
* @return
*/
List<OrderUserLog> queryByOrderId(Integer ordersId);
List<ZccmOrderUserLog> queryByOrderId(Integer ordersId);
/**
* idid
@ -32,7 +32,7 @@ public interface OrderUserLogMapper extends Mapper<OrderUserLog> {
* @param userId id
* @return
*/
List<OrderUserLog> queryByUserIdAndOrderId(@Param("ordersId") Integer ordersId,
List<ZccmOrderUserLog> queryByUserIdAndOrderId(@Param("ordersId") Integer ordersId,
@Param("userId") Integer userId);
}

@ -1,7 +1,7 @@
package com.hc.business.mapper;
import com.hc.business.dto.OrderInvoicesDto;
import com.hc.business.model.Orders;
import com.hc.business.dto.ZccmOrderInvoicesDto;
import com.hc.business.model.ZccmOrders;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -16,7 +16,7 @@ import java.util.List;
*/
@Repository
public interface OrdersMapper extends Mapper<Orders> {
public interface ZccmOrdersMapper extends Mapper<ZccmOrders> {
/**
*
@ -24,7 +24,7 @@ public interface OrdersMapper extends Mapper<Orders> {
* @param orderNo
* @return
*/
Orders queryByOrderNo(String orderNo);
ZccmOrders queryByOrderNo(String orderNo);
/**
* id
@ -32,7 +32,7 @@ public interface OrdersMapper extends Mapper<Orders> {
* @param userId id
* @return
*/
List<Orders> queryAllByUserId(Integer userId);
List<ZccmOrders> queryAllByUserId(Integer userId);
/**
*
@ -40,7 +40,7 @@ public interface OrdersMapper extends Mapper<Orders> {
* @param classId id
* @return
*/
List<Orders> queryAllByClassId(Integer classId);
List<ZccmOrders> queryAllByClassId(Integer classId);
/**
*
@ -48,7 +48,7 @@ public interface OrdersMapper extends Mapper<Orders> {
* @param className
* @return
*/
List<Orders> queryAllByClassName(String className);
List<ZccmOrders> queryAllByClassName(String className);
/**
*
@ -56,7 +56,7 @@ public interface OrdersMapper extends Mapper<Orders> {
* @param status
* @return
*/
List<Orders> queryAllByStatus(Integer status);
List<ZccmOrders> queryAllByStatus(Integer status);
/**
* id
@ -64,7 +64,7 @@ public interface OrdersMapper extends Mapper<Orders> {
* @param userInvoicesId id
* @return
*/
List<Orders> queryByUserInvoicesId(Integer userInvoicesId);
List<ZccmOrders> queryByUserInvoicesId(Integer userInvoicesId);
/**
*
@ -107,6 +107,6 @@ public interface OrdersMapper extends Mapper<Orders> {
*
* @return
*/
List<OrderInvoicesDto> queryAllWithInvoices();
List<ZccmOrderInvoicesDto> queryAllWithInvoices();
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.Paper;
import com.hc.business.model.ZccmPaper;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -12,6 +12,6 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface PaperMapper extends Mapper<Paper> {
public interface ZccmPaperMapper extends Mapper<ZccmPaper> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.PaperQuestion;
import com.hc.business.model.ZccmPaperQuestion;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface PaperQuestionMapper extends Mapper<PaperQuestion> {
public interface ZccmPaperQuestionMapper extends Mapper<ZccmPaperQuestion> {
/**
* id
@ -22,6 +22,6 @@ public interface PaperQuestionMapper extends Mapper<PaperQuestion> {
* @param paperId id
* @return
*/
List<PaperQuestion> queryByPaperId(Integer paperId);
List<ZccmPaperQuestion> queryByPaperId(Integer paperId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.QuestionAnswer;
import com.hc.business.model.ZccmQuestionAnswer;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface QuestionAnswerMapper extends Mapper<QuestionAnswer> {
public interface ZccmQuestionAnswerMapper extends Mapper<ZccmQuestionAnswer> {
/**
*
@ -22,7 +22,7 @@ public interface QuestionAnswerMapper extends Mapper<QuestionAnswer> {
* @param questionId id
* @return
*/
List<QuestionAnswer> queryByQuestionId(Integer questionId);
List<ZccmQuestionAnswer> queryByQuestionId(Integer questionId);
/**
* idid

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.Question;
import com.hc.business.model.ZccmQuestion;
import com.hc.core.utils.mapper.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@ -15,7 +15,7 @@ import java.util.List;
*/
@Repository
public interface QuestionMapper extends Mapper<Question> {
public interface ZccmQuestionMapper extends Mapper<ZccmQuestion> {
/**
@ -24,7 +24,7 @@ public interface QuestionMapper extends Mapper<Question> {
* @param questionId id
* @return
*/
Question queryById(Integer questionId);
ZccmQuestion queryById(Integer questionId);
/**
@ -32,7 +32,7 @@ public interface QuestionMapper extends Mapper<Question> {
*
* @return
*/
List<Question> queryQuestions();
List<ZccmQuestion> queryQuestions();
/**

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.QuestionTag;
import com.hc.business.model.ZccmQuestionTag;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -12,6 +12,6 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface QuestionTagMapper extends Mapper<QuestionTag> {
public interface ZccmQuestionTagMapper extends Mapper<ZccmQuestionTag> {
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.QuestionType;
import com.hc.business.model.ZccmQuestionType;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -12,6 +12,6 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface QuestionTypeMapper extends Mapper<QuestionType> {
public interface ZccmQuestionTypeMapper extends Mapper<ZccmQuestionType> {
}

@ -1,7 +1,7 @@
package com.hc.business.mapper;
import com.hc.business.model.Course;
import com.hc.business.model.ThirdCourse;
import com.hc.business.model.ZccmCourse;
import com.hc.business.model.ZccmThirdCourse;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -16,7 +16,7 @@ import java.util.List;
*/
@Repository
public interface ThirdCourseMapper extends Mapper<ThirdCourse> {
public interface ZccmThirdCourseMapper extends Mapper<ZccmThirdCourse> {
/**
*
@ -24,6 +24,6 @@ public interface ThirdCourseMapper extends Mapper<ThirdCourse> {
* @param thirdId
* @return
*/
List<Course> queryThreadCourse(Integer thirdId);
List<ZccmCourse> queryThreadCourse(Integer thirdId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.Third;
import com.hc.business.model.ZccmThird;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -15,7 +15,7 @@ import java.util.List;
*/
@Repository
public interface ThirdMapper extends Mapper<Third> {
public interface ZccmThirdMapper extends Mapper<ZccmThird> {
/**
* token
@ -23,7 +23,7 @@ public interface ThirdMapper extends Mapper<Third> {
* @param token
* @return
*/
List<Third> queryThirdByToken(String token);
List<ZccmThird> queryThirdByToken(String token);

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserAdmin;
import com.hc.business.model.ZccmUserAdmin;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface UserAdminMapper extends Mapper<UserAdmin> {
public interface ZccmUserAdminMapper extends Mapper<ZccmUserAdmin> {
/**
*
@ -22,6 +22,6 @@ public interface UserAdminMapper extends Mapper<UserAdmin> {
* @param adminAccount
* @return
*/
List<UserAdmin> selectUserAdmin(String adminAccount);
List<ZccmUserAdmin> selectUserAdmin(String adminAccount);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserAdvise;
import com.hc.business.model.ZccmUserAdvise;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -15,7 +15,7 @@ import java.util.List;
*/
@Repository
public interface UserAdviseMapper extends Mapper<UserAdvise> {
public interface ZccmUserAdviseMapper extends Mapper<ZccmUserAdvise> {
/**
* id
@ -23,7 +23,7 @@ public interface UserAdviseMapper extends Mapper<UserAdvise> {
* @param userId id
* @return
*/
List<UserAdvise> queryAllByUserId(Integer userId);
List<ZccmUserAdvise> queryAllByUserId(Integer userId);
/**
* id
@ -31,12 +31,12 @@ public interface UserAdviseMapper extends Mapper<UserAdvise> {
* @param adviceType id
* @return
*/
List<UserAdvise> queryAllByAdviceType(Integer adviceType);
List<ZccmUserAdvise> queryAllByAdviceType(Integer adviceType);
/**
*
*
* @return
*/
List<UserAdvise> queryAll();
List<ZccmUserAdvise> queryAll();
}

@ -1,7 +1,7 @@
package com.hc.business.mapper;
import com.hc.business.dto.UserCourseDto;
import com.hc.business.model.UserCourse;
import com.hc.business.dto.ZccmUserCourseDto;
import com.hc.business.model.ZccmUserCourse;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -16,7 +16,7 @@ import java.util.List;
*/
@Repository
public interface UserCourseMapper extends Mapper<UserCourse> {
public interface ZccmUserCourseMapper extends Mapper<ZccmUserCourse> {
/**
* id id
@ -24,8 +24,8 @@ public interface UserCourseMapper extends Mapper<UserCourse> {
* @param userId id
* @return
*/
List<UserCourseDto> selectUserCourseList(@Param("userId") Integer userId,
@Param("classId") Integer classId);
List<ZccmUserCourseDto> selectUserCourseList(@Param("userId") Integer userId,
@Param("classId") Integer classId);
/**
* id id
@ -34,7 +34,7 @@ public interface UserCourseMapper extends Mapper<UserCourse> {
* @param classId id
* @return
*/
List<UserCourse> selectUserCourseListByParam(@Param("userId") Integer userId,
List<ZccmUserCourse> selectUserCourseListByParam(@Param("userId") Integer userId,
@Param("classId") Integer classId);
/**
@ -43,9 +43,9 @@ public interface UserCourseMapper extends Mapper<UserCourse> {
* @param userId id
* @return
*/
List<UserCourseDto> selectUserCourseProgress(@Param("userId") Integer userId,
@Param("classId") Integer classId,
@Param("courseId") Integer courseId);
List<ZccmUserCourseDto> selectUserCourseProgress(@Param("userId") Integer userId,
@Param("classId") Integer classId,
@Param("courseId") Integer courseId);
/**
*
@ -55,7 +55,7 @@ public interface UserCourseMapper extends Mapper<UserCourse> {
* @param courseId id
* @return
*/
List<UserCourse> selectUserCourse(@Param("userId") Integer userId,
List<ZccmUserCourse> selectUserCourse(@Param("userId") Integer userId,
@Param("classId") Integer classId,
@Param("courseId") Integer courseId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserInvoices;
import com.hc.business.model.ZccmUserInvoices;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface UserInvoicesMapper extends Mapper<UserInvoices> {
public interface ZccmUserInvoicesMapper extends Mapper<ZccmUserInvoices> {
/**
*
@ -22,14 +22,14 @@ public interface UserInvoicesMapper extends Mapper<UserInvoices> {
* @param userId id
* @return
*/
List<UserInvoices> queryDetailByUserId(Integer userId);
List<ZccmUserInvoices> queryDetailByUserId(Integer userId);
/**
*
*
* @return
*/
List<UserInvoices> queryAll();
List<ZccmUserInvoices> queryAll();
/**
*
@ -37,7 +37,7 @@ public interface UserInvoicesMapper extends Mapper<UserInvoices> {
* @param classId id
* @return
*/
List<UserInvoices> queryByClassId(Integer classId);
List<ZccmUserInvoices> queryByClassId(Integer classId);
/**
*
@ -45,6 +45,6 @@ public interface UserInvoicesMapper extends Mapper<UserInvoices> {
* @param status
* @return
*/
List<UserInvoices> queryByStatus(Integer status);
List<ZccmUserInvoices> queryByStatus(Integer status);
}

@ -1,8 +1,8 @@
package com.hc.business.mapper;
import com.hc.business.dto.StaTimeTable;
import com.hc.business.dto.UserListDto;
import com.hc.business.model.User;
import com.hc.business.dto.ZccmStaTimeTable;
import com.hc.business.dto.ZccmUserListDto;
import com.hc.business.model.ZccmUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import com.hc.core.utils.mapper.Mapper;
@ -17,7 +17,7 @@ import java.util.List;
*/
@Repository
public interface UserMapper extends Mapper<User> {
public interface ZccmUserMapper extends Mapper<ZccmUser> {
/**
*
@ -25,7 +25,7 @@ public interface UserMapper extends Mapper<User> {
* @param userMobile
* @return
*/
List<User> queryUserByMobile(String userMobile);
List<ZccmUser> queryUserByMobile(String userMobile);
/**
*
@ -33,7 +33,7 @@ public interface UserMapper extends Mapper<User> {
* @param cardId
* @return
*/
List<User> queryOneByCardId(String cardId);
List<ZccmUser> queryOneByCardId(String cardId);
/**
*
@ -41,7 +41,7 @@ public interface UserMapper extends Mapper<User> {
* @param name
* @return
*/
List<User> queryUserByName(String name);
List<ZccmUser> queryUserByName(String name);
/**
@ -50,7 +50,7 @@ public interface UserMapper extends Mapper<User> {
* @param name
* @return
*/
List<UserListDto> queryUserByClassName(@Param("name")String name);
List<ZccmUserListDto> queryUserByClassName(@Param("name")String name);
/**
*
@ -58,14 +58,14 @@ public interface UserMapper extends Mapper<User> {
* @param name
* @return
*/
List<UserListDto> queryUserByClassNameAndPay(@Param("name")String name);
List<ZccmUserListDto> queryUserByClassNameAndPay(@Param("name")String name);
/**
*
*
* @return
*/
List<StaTimeTable> queryByUserCount();
List<ZccmStaTimeTable> queryByUserCount();
/**
*

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserRefundHistory;
import com.hc.business.model.ZccmUserRefundHistory;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@ -13,7 +13,7 @@ import tk.mybatis.mapper.common.Mapper;
*/
@Repository
public interface UserRefundHistoryMapper extends Mapper<UserRefundHistory> {
public interface ZccmUserRefundHistoryMapper extends Mapper<ZccmUserRefundHistory> {
/**
* 退
@ -21,6 +21,6 @@ public interface UserRefundHistoryMapper extends Mapper<UserRefundHistory> {
* @param orderNo
* @return
*/
UserRefundHistory queryByOrderNo(String orderNo);
ZccmUserRefundHistory queryByOrderNo(String orderNo);
}

@ -1,8 +1,8 @@
package com.hc.business.mapper;
import com.hc.business.dto.UserStatusClassDto;
import com.hc.business.model.User;
import com.hc.business.model.UserStatus;
import com.hc.business.dto.ZccmUserStatusClassDto;
import com.hc.business.model.ZccmUser;
import com.hc.business.model.ZccmUserStatus;
import com.hc.core.utils.mapper.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@ -18,7 +18,7 @@ import java.util.List;
*/
@Repository
public interface UserStatusMapper extends Mapper<UserStatus> {
public interface ZccmUserStatusMapper extends Mapper<ZccmUserStatus> {
/**
*
@ -26,7 +26,7 @@ public interface UserStatusMapper extends Mapper<UserStatus> {
* @param userId id
* @return
*/
List<UserStatusClassDto> queryDtoByUserId(Integer userId);
List<ZccmUserStatusClassDto> queryDtoByUserId(Integer userId);
/**
@ -35,7 +35,7 @@ public interface UserStatusMapper extends Mapper<UserStatus> {
* @param userId id
* @return
*/
List<UserStatus> queryByUserId(Integer userId);
List<ZccmUserStatus> queryByUserId(Integer userId);
/**
@ -45,7 +45,7 @@ public interface UserStatusMapper extends Mapper<UserStatus> {
* @param classId id
* @return
*/
List<UserStatus> queryByClassIdAndUserId(@Param("classId") Integer classId,
List<ZccmUserStatus> queryByClassIdAndUserId(@Param("classId") Integer classId,
@Param("userId") Integer userId);
/**
@ -54,6 +54,6 @@ public interface UserStatusMapper extends Mapper<UserStatus> {
* @param classId id
* @return
*/
List<User> queryByClassId(Integer classId);
List<ZccmUser> queryByClassId(Integer classId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserTeacher;
import com.hc.business.model.ZccmUserTeacher;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -14,7 +14,7 @@ import java.util.List;
*/
@Repository
public interface UserTeacherMapper extends Mapper<UserTeacher> {
public interface ZccmUserTeacherMapper extends Mapper<ZccmUserTeacher> {
/**
*
@ -22,6 +22,6 @@ public interface UserTeacherMapper extends Mapper<UserTeacher> {
* @param name
* @return
*/
List<UserTeacher> queryByName(String name);
List<ZccmUserTeacher> queryByName(String name);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserTestHistory;
import com.hc.business.model.ZccmUserTestHistory;
import com.hc.core.utils.mapper.Mapper;
import org.springframework.stereotype.Repository;
@ -12,7 +12,7 @@ import org.springframework.stereotype.Repository;
*/
@Repository
public interface UserTestHistoryMapper extends Mapper<UserTestHistory> {
public interface ZccmUserTestHistoryMapper extends Mapper<ZccmUserTestHistory> {
/**
*
@ -21,6 +21,6 @@ public interface UserTestHistoryMapper extends Mapper<UserTestHistory> {
* @param classId id
* @return
*/
UserTestHistory queryMaxScore(Integer userId, Integer classId);
ZccmUserTestHistory queryMaxScore(Integer userId, Integer classId);
}

@ -1,6 +1,6 @@
package com.hc.business.mapper;
import com.hc.business.model.UserVideoPosition;
import com.hc.business.model.ZccmUserVideoPosition;
import com.hc.core.utils.mapper.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
@ -15,7 +15,7 @@ import java.util.List;
*/
@Repository
public interface UserVideoPositionMapper extends Mapper<UserVideoPosition>{
public interface ZccmUserVideoPositionMapper extends Mapper<ZccmUserVideoPosition>{
/**
*
@ -24,7 +24,7 @@ public interface UserVideoPositionMapper extends Mapper<UserVideoPosition>{
* @param userId
* @return
*/
List<UserVideoPosition> selectUserPositionByUserAndVideo(@Param("videoId") Integer videoId,
List<ZccmUserVideoPosition> selectUserPositionByUserAndVideo(@Param("videoId") Integer videoId,
@Param("userId") Integer userId);
}

@ -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,119 +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;
/**
* 广
* (Banner)
*
* @author java
* @since 2020-11-26 09:29:46
*/
@ApiModel(value = "banner表")
public class Banner implements Serializable {
private static final long serialVersionUID = -34877727454440687L;
/**
* ID
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "ID主键")
private Integer bannerId;
/**
* 广
*/
@ApiModelProperty(value = "广告连接", required = true)
@NotNull
private String bannerUrl;
/**
*
*/
@ApiModelProperty(value = "索引", required = true)
@NotNull
private Integer bannerIndex;
/**
* banner01bannerbanner
*/
@ApiModelProperty(value = "banner的位置01分表表示主banner教师banner", required = true)
@NotNull
private Integer bannerType;
/**
* banner
*/
@ApiModelProperty(value = "banner的跳转位置", required = true)
private String bannerDest;
public Banner(Integer bannerId,
@NotNull String bannerUrl,
@NotNull Integer bannerIndex,
@NotNull Integer bannerType,
String bannerDest) {
this.bannerId = bannerId;
this.bannerUrl = bannerUrl;
this.bannerIndex = bannerIndex;
this.bannerType = bannerType;
this.bannerDest = bannerDest;
}
public Banner() {
}
public Integer getBannerId() {
return bannerId;
}
public void setBannerId(Integer bannerId) {
this.bannerId = bannerId;
}
public String getBannerUrl() {
return bannerUrl;
}
public void setBannerUrl(String bannerUrl) {
this.bannerUrl = bannerUrl;
}
public Integer getBannerIndex() {
return bannerIndex;
}
public void setBannerIndex(Integer bannerIndex) {
this.bannerIndex = bannerIndex;
}
public Integer getBannerType() {
return bannerType;
}
public void setBannerType(Integer bannerType) {
this.bannerType = bannerType;
}
public String getBannerDest() {
return bannerDest;
}
public void setBannerDest(String bannerDest) {
this.bannerDest = bannerDest;
}
}

@ -1,176 +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;
/**
* (Course)
*
* @author java
* @since 2020-11-09 10:04:45
*/
@ApiModel(value = "课程表")
public class Course implements Serializable {
private static final long serialVersionUID = -89648020880598418L;
/**
* ID
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键ID")
private Integer courseId;
/**
*
*/
@ApiModelProperty(value = "课程名称", required = true)
@NotNull
private String courseName;
/**
*
*/
@ApiModelProperty(value = "图标", required = true)
@NotNull
private String courseLogo;
/**
*
*/
@ApiModelProperty(value = "课程介绍", required = true)
@NotNull
private String courseDesc;
/**
*
*/
@ApiModelProperty(value = "课程时长", required = true)
private Float courseHours;
/**
*
*/
@ApiModelProperty(value = "教师", required = true)
private String courseTeacher;
/**
*
*/
@ApiModelProperty(value = "课程是否上架。下架后不可见")
private Integer isValid;
/**
*
*/
@ApiModelProperty(value = "如果有多张详情图,相册")
private String gallery;
/**
* 使
*/
@ApiModelProperty(value = "保留位,暂不使用")
private Integer reserved1;
public Course(Integer courseId, @NotNull String courseName,
@NotNull String courseLogo, @NotNull String courseDesc,
Float courseHours,
String courseTeacher, Integer isValid,
String gallery, Integer reserved1) {
this.courseId = courseId;
this.courseName = courseName;
this.courseLogo = courseLogo;
this.courseDesc = courseDesc;
this.courseHours = courseHours;
this.courseTeacher = courseTeacher;
this.isValid = isValid;
this.gallery = gallery;
this.reserved1 = reserved1;
}
public Course() {
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
public String getCourseName() {
return courseName;
}
public void setCourseName(String courseName) {
this.courseName = courseName;
}
public String getCourseLogo() {
return courseLogo;
}
public void setCourseLogo(String courseLogo) {
this.courseLogo = courseLogo;
}
public String getCourseDesc() {
return courseDesc;
}
public void setCourseDesc(String courseDesc) {
this.courseDesc = courseDesc;
}
public Float getCourseHours() {
return courseHours;
}
public void setCourseHours(Float courseHours) {
this.courseHours = courseHours;
}
public String getCourseTeacher() {
return courseTeacher;
}
public void setCourseTeacher(String courseTeacher) {
this.courseTeacher = courseTeacher;
}
public Integer getIsValid() {
return isValid;
}
public void setIsValid(Integer isValid) {
this.isValid = isValid;
}
public String getGallery() {
return gallery;
}
public void setGallery(String gallery) {
this.gallery = gallery;
}
public Integer getReserved1() {
return reserved1;
}
public void setReserved1(Integer reserved1) {
this.reserved1 = reserved1;
}
}

@ -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,158 +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;
/**
* (CourseChapterVideo)
*
* @author java
* @since 2020-11-09 10:04:54
*/
@ApiModel(value = "章节视频表")
public class CourseChapterVideo implements Serializable {
private static final long serialVersionUID = -21553514386384145L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer videoId;
/**
* idID=NULL
*/
@ApiModelProperty(value = "章节id目前视频直接配置在课程下允许章节ID=NULL", required = true)
@NotNull
private Integer chapterId;
/**
*
*/
@ApiModelProperty(value = "视频名称", required = true)
@NotNull
private String videoName;
/**
*
*/
@ApiModelProperty(value = "视频地址", required = true)
@NotNull
private String videoUrl;
@ApiModelProperty(value = "${column.comment}", required = true)
private String videoOriUrl;
/**
* ID
*/
@ApiModelProperty(value = "视频所属课程ID", required = true)
@NotNull
private Integer courseId;
/**
*
*/
@ApiModelProperty(value = "是否精品课程,精品课程允许试看")
private Integer isFree;
/**
*
*/
@ApiModelProperty(value = "试看时间,分钟")
private Integer freeTime;
public CourseChapterVideo(Integer videoId, @NotNull Integer chapterId,
@NotNull String videoName, @NotNull String videoUrl, String videoOriUrl,
@NotNull Integer courseId, Integer isFree, Integer freeTime) {
this.videoId = videoId;
this.chapterId = chapterId;
this.videoName = videoName;
this.videoUrl = videoUrl;
this.videoOriUrl = videoOriUrl;
this.courseId = courseId;
this.isFree = isFree;
this.freeTime = freeTime;
}
public CourseChapterVideo() {
}
public Integer getVideoId() {
return videoId;
}
public void setVideoId(Integer videoId) {
this.videoId = videoId;
}
public Integer getChapterId() {
return chapterId;
}
public void setChapterId(Integer chapterId) {
this.chapterId = chapterId;
}
public String getVideoName() {
return videoName;
}
public void setVideoName(String videoName) {
this.videoName = videoName;
}
public String getVideoUrl() {
return videoUrl;
}
public void setVideoUrl(String videoUrl) {
this.videoUrl = videoUrl;
}
public String getVideoOriUrl() {
return videoOriUrl;
}
public void setVideoOriUrl(String videoOriUrl) {
this.videoOriUrl = videoOriUrl;
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
public Integer getIsFree() {
return isFree;
}
public void setIsFree(Integer isFree) {
this.isFree = isFree;
}
public Integer getFreeTime() {
return freeTime;
}
public void setFreeTime(Integer freeTime) {
this.freeTime = freeTime;
}
}

@ -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,193 +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;
/**
* (Paper)
*
* @author java
* @since 2020-12-07 11:34:27
*/
@ApiModel(value = "试卷表")
public class Paper implements Serializable {
private static final long serialVersionUID = -88433359130256838L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer paperId;
/**
*
*/
@ApiModelProperty(value = "试卷名称", required = true)
@NotNull
private String paperName;
/**
* 12
*/
@ApiModelProperty(value = "试卷类别 12分别表示随机试卷固定试卷")
private Integer paperType;
/**
*
*/
@ApiModelProperty(value = "试卷介绍", required = true)
@NotNull
private String paperIntroduction;
/**
*
*/
@ApiModelProperty(value = "总分", required = true)
@NotNull
private Integer paperScore;
/**
* 线
*/
@ApiModelProperty(value = "及格线", required = true)
@NotNull
private Integer paperScorePass;
/**
*
*/
@ApiModelProperty(value = "时长", required = true)
private Integer paperTime;
/**
*
*/
@ApiModelProperty(value = "题目数量", required = true)
private Integer questionsNum;
/**
*
*/
@ApiModelProperty(value = "失效时间")
private Long endTime;
/**
* 12
*/
@ApiModelProperty(value = "1有效2无效")
private Integer status;
public Paper(Integer paperId, @NotNull String paperName,
Integer paperType, @NotNull String paperIntroduction,
@NotNull Integer paperScore, @NotNull Integer paperScorePass,
Integer paperTime,
Integer questionsNum, Long endTime, Integer status) {
this.paperId = paperId;
this.paperName = paperName;
this.paperType = paperType;
this.paperIntroduction = paperIntroduction;
this.paperScore = paperScore;
this.paperScorePass = paperScorePass;
this.paperTime = paperTime;
this.questionsNum = questionsNum;
this.endTime = endTime;
this.status = status;
}
public Paper() {
}
public Integer getPaperId() {
return paperId;
}
public void setPaperId(Integer paperId) {
this.paperId = paperId;
}
public String getPaperName() {
return paperName;
}
public void setPaperName(String paperName) {
this.paperName = paperName;
}
public Integer getPaperType() {
return paperType;
}
public void setPaperType(Integer paperType) {
this.paperType = paperType;
}
public String getPaperIntroduction() {
return paperIntroduction;
}
public void setPaperIntroduction(String paperIntroduction) {
this.paperIntroduction = paperIntroduction;
}
public Integer getPaperScore() {
return paperScore;
}
public void setPaperScore(Integer paperScore) {
this.paperScore = paperScore;
}
public Integer getPaperTime() {
return paperTime;
}
public void setPaperTime(Integer paperTime) {
this.paperTime = paperTime;
}
public Integer getQuestionsNum() {
return questionsNum;
}
public void setQuestionsNum(Integer questionsNum) {
this.questionsNum = questionsNum;
}
public Long getEndTime() {
return endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Integer getPaperScorePass() {
return paperScorePass;
}
public void setPaperScorePass(Integer paperScorePass) {
this.paperScorePass = paperScorePass;
}
}

@ -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,152 +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 java.io.Serializable;
import java.util.List;
/**
* (Question)
*
* @author java
* @since 2020-12-07 11:35:53
*/
@ApiModel(value = "题目表")
public class Question implements Serializable {
private static final long serialVersionUID = 215664877400645272L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer questionId;
/**
*
*/
@ApiModelProperty(value = "习题题干", required = true)
private String questionDescription;
/**
* id
*/
@ApiModelProperty(value = "标签id", required = true)
private Integer tagId;
/**
*
*/
@ApiModelProperty(value = "习题类型", required = true)
private Integer questionType;
/**
*
*/
@ApiModelProperty(value = "习题分数", required = true)
private Integer questionScore;
/**
*
*/
@ApiModelProperty(value = "习题级别,难中易", required = true)
private Integer questionLevel;
/**
*
*/
@ApiModelProperty(value = "解析", required = true)
private String analysis;
@Transient
private List<QuestionAnswer> questionAnswerList;
public Question(Integer questionId, String questionDescription,
Integer tagId, Integer questionType,
Integer questionScore, Integer questionLevel, String analysis) {
this.questionId = questionId;
this.questionDescription = questionDescription;
this.tagId = tagId;
this.questionType = questionType;
this.questionScore = questionScore;
this.questionLevel = questionLevel;
this.analysis = analysis;
}
public Question() {
}
public Integer getQuestionId() {
return questionId;
}
public void setQuestionId(Integer questionId) {
this.questionId = questionId;
}
public String getQuestionDescription() {
return questionDescription;
}
public void setQuestionDescription(String questionDescription) {
this.questionDescription = questionDescription;
}
public Integer getTagId() {
return tagId;
}
public void setTagId(Integer tagId) {
this.tagId = tagId;
}
public Integer getQuestionType() {
return questionType;
}
public void setQuestionType(Integer questionType) {
this.questionType = questionType;
}
public Integer getQuestionScore() {
return questionScore;
}
public void setQuestionScore(Integer questionScore) {
this.questionScore = questionScore;
}
public Integer getQuestionLevel() {
return questionLevel;
}
public void setQuestionLevel(Integer questionLevel) {
this.questionLevel = questionLevel;
}
public String getAnalysis() {
return analysis;
}
public void setAnalysis(String analysis) {
this.analysis = analysis;
}
public List<QuestionAnswer> getQuestionAnswerList() {
return questionAnswerList;
}
public void setQuestionAnswerList(List<QuestionAnswer> questionAnswerList) {
this.questionAnswerList = questionAnswerList;
}
}

@ -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,93 +0,0 @@
package com.hc.business.model;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
/**
* (ThirdCourse)
*
* @author java
* @since 2020-06-17 17:29:30
*/
public class ThirdCourse implements Serializable {
private static final long serialVersionUID = 819515458055433746L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
/**
* ID
*/
private Integer thirdId;
/**
* ID
*/
private Integer courseId;
/**
*
*/
private Integer status;
/**
*
*/
private Long createTime = System.currentTimeMillis();
public ThirdCourse(Integer id, Integer thirdId, Integer courseId, Integer status, Long createTime) {
this.id = id;
this.thirdId = thirdId;
this.courseId = courseId;
this.status = status;
this.createTime = createTime;
}
public ThirdCourse() {
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getThirdId() {
return thirdId;
}
public void setThirdId(Integer thirdId) {
this.thirdId = thirdId;
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
}

@ -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,302 +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.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
/**
* (UserInvoices)
*
* @author java
* @since 2020-12-02 10:50:29
*/
@ApiModel(value = "订单发票表")
public class UserInvoices implements Serializable {
private static final long serialVersionUID = -61454177699116234L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer userInvoicesId;
/**
*
*/
@ApiModelProperty(value = "抬头", required = true)
private String invoicesHead;
/**
* 12
*/
@ApiModelProperty(value = "发票类型12普票专票", required = true)
private Integer invoicesType;
/**
*
*/
@ApiModelProperty(value = "税号", required = true)
private String invoicesCode;
/**
*
*/
@ApiModelProperty(value = "开户行", required = true)
private String invoicesBank;
/**
*
*/
@ApiModelProperty(value = "开户名", required = true)
private String invoicesUser;
/**
*
*/
@ApiModelProperty(value = "开户账号", required = true)
private String invoicesNo;
/**
*
*/
@ApiModelProperty(value = "发票金额", required = true)
@NotNull
private Double invoicesPrice;
/**
*
*/
@ApiModelProperty(value = "申请日期")
private Long createTime;
/**
*
*/
@ApiModelProperty(value = "状态")
private Integer status;
/**
*
*/
@ApiModelProperty(value = "处理日期")
private Long time;
/**
* ID
*/
@ApiModelProperty(value = "用户ID", required = true)
@NotNull
private Integer userId;
/**
* id
*/
@ApiModelProperty(value = "班次ID", required = true)
@NotNull
private Integer classId;
/**
*
*/
@ApiModelProperty(value = "发票备注")
private String remarks;
/**
*
*/
@ApiModelProperty(value = "后台发票标记")
private String remarksSign;
/**
*
*/
@ApiModelProperty(value = "发票代码")
private String taxCode;
@NotEmpty
@ApiModelProperty(value = "订单id")
@Transient
private List<Integer> ordersIdList;
public UserInvoices(Integer userInvoicesId, String invoicesHead,
Integer invoicesType, String invoicesCode, String invoicesBank,
String invoicesUser, String invoicesNo,
@NotNull Double invoicesPrice, Long createTime,
Integer status, Long time,
@NotNull Integer userId, Integer classId, String remarks
, String remarksSign, String taxCode, List<Integer> ordersIdList) {
this.userInvoicesId = userInvoicesId;
this.invoicesHead = invoicesHead;
this.invoicesType = invoicesType;
this.invoicesCode = invoicesCode;
this.invoicesBank = invoicesBank;
this.invoicesUser = invoicesUser;
this.invoicesNo = invoicesNo;
this.invoicesPrice = invoicesPrice;
this.createTime = createTime;
this.status = status;
this.time = time;
this.userId = userId;
this.remarks = remarks;
this.remarksSign = remarksSign;
this.taxCode = taxCode;
this.classId = classId;
this.ordersIdList = ordersIdList;
}
public UserInvoices() {
}
public Integer getUserInvoicesId() {
return userInvoicesId;
}
public void setUserInvoicesId(Integer userInvoicesId) {
this.userInvoicesId = userInvoicesId;
}
public String getInvoicesHead() {
return invoicesHead;
}
public void setInvoicesHead(String invoicesHead) {
this.invoicesHead = invoicesHead;
}
public Integer getInvoicesType() {
return invoicesType;
}
public void setInvoicesType(Integer invoicesType) {
this.invoicesType = invoicesType;
}
public String getInvoicesCode() {
return invoicesCode;
}
public void setInvoicesCode(String invoicesCode) {
this.invoicesCode = invoicesCode;
}
public String getInvoicesBank() {
return invoicesBank;
}
public void setInvoicesBank(String invoicesBank) {
this.invoicesBank = invoicesBank;
}
public String getInvoicesUser() {
return invoicesUser;
}
public void setInvoicesUser(String invoicesUser) {
this.invoicesUser = invoicesUser;
}
public String getInvoicesNo() {
return invoicesNo;
}
public void setInvoicesNo(String invoicesNo) {
this.invoicesNo = invoicesNo;
}
public Double getInvoicesPrice() {
return invoicesPrice;
}
public void setInvoicesPrice(Double invoicesPrice) {
this.invoicesPrice = invoicesPrice;
}
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getTime() {
return time;
}
public void setTime(Long time) {
this.time = time;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public List<Integer> getOrdersIdList() {
return ordersIdList;
}
public void setOrdersIdList(List<Integer> ordersIdList) {
this.ordersIdList = ordersIdList;
}
public String getRemarksSign() {
return remarksSign;
}
public void setRemarksSign(String remarksSign) {
this.remarksSign = remarksSign;
}
public String getTaxCode() {
return taxCode;
}
public void setTaxCode(String taxCode) {
this.taxCode = taxCode;
}
public Integer getClassId() {
return classId;
}
public void setClassId(Integer classId) {
this.classId = classId;
}
}

@ -1,155 +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;
import java.math.BigDecimal;
/**
* 退(UserRefundHistory)
*
* @author java
* @since 2020-12-10 11:31:35
*/
@ApiModel(value = "用户退款表")
public class UserRefundHistory implements Serializable {
private static final long serialVersionUID = -82710997323240027L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer id;
/**
* ID
*/
@ApiModelProperty(value = "用户ID", required = true)
@NotNull
private Integer userId;
/**
* 12
*/
@ApiModelProperty(value = "用户类型12普通用户单位用户", required = true)
@NotNull
private Integer userType;
/**
* 退
*/
@ApiModelProperty(value = "退款订单号", required = true)
@NotNull
private String orderNo;
/**
* 退
*/
@ApiModelProperty(value = "退款时间")
private Long createTime;
/**
* 退
*/
@ApiModelProperty(value = "退款处理时间,保留")
private Long doneTime;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "退费金额")
@NotNull
private BigDecimal refundPrice;
public UserRefundHistory(Integer id, @NotNull Integer userId,
@NotNull Integer userType, String orderNo,
Long createTime, Long doneTime, String remark,
BigDecimal refundPrice) {
this.id = id;
this.userId = userId;
this.userType = userType;
this.orderNo = orderNo;
this.createTime = createTime;
this.doneTime = doneTime;
this.remark = remark;
this.refundPrice = refundPrice;
}
public UserRefundHistory() {
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
public Integer getUserType() {
return userType;
}
public void setUserType(Integer userType) {
this.userType = userType;
}
public String getOrderNo() {
return orderNo;
}
public void setOrderNo(String orderNo) {
this.orderNo = orderNo;
}
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getDoneTime() {
return doneTime;
}
public void setDoneTime(Long doneTime) {
this.doneTime = doneTime;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public BigDecimal getRefundPrice() {
return refundPrice;
}
public void setRefundPrice(BigDecimal refundPrice) {
this.refundPrice = refundPrice;
}
}

@ -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,66 @@
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;
/**
* 广
* (ZccmBanner)
*
* @author java
* @since 2020-11-26 09:29:46
*/
@ApiModel(value = "banner表")
@Data
public class ZccmBanner implements Serializable {
private static final long serialVersionUID = -34877727454440687L;
/**
* ID
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "ID主键")
private Integer bannerId;
/**
* 广
*/
@ApiModelProperty(value = "广告连接", required = true)
@NotNull
private String bannerUrl;
/**
*
*/
@ApiModelProperty(value = "索引", required = true)
@NotNull
private Integer bannerIndex;
/**
* banner01bannerbanner
*/
@ApiModelProperty(value = "banner的位置01分表表示主banner教师banner", required = true)
@NotNull
private Integer bannerType;
/**
* banner
*/
@ApiModelProperty(value = "banner的跳转位置", required = true)
private String bannerDest;
}

@ -23,7 +23,7 @@ import java.io.Serializable;
@Data
@ApiModel(value = "班次表")
public class ClassConfig implements Serializable {
public class ZccmClassConfig implements Serializable {
private static final long serialVersionUID = 627209293304274727L;

@ -15,7 +15,7 @@ import java.io.Serializable;
*/
@Data
@ApiModel(value = "班次图章表")
public class ClassConfigSponsor implements Serializable {
public class ZccmClassConfigSponsor implements Serializable {
private static final long serialVersionUID = 961577731337873266L;

@ -2,6 +2,7 @@ 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;
@ -19,7 +20,8 @@ import java.io.Serializable;
@ApiModel(value = "地区课程表")
public class ClassCourse implements Serializable {
@Data
public class ZccmClassCourse implements Serializable {
private static final long serialVersionUID = -67544251618141718L;
@ -59,56 +61,4 @@ public class ClassCourse implements Serializable {
@ApiModelProperty(value = "创建时间")
private Long createTime;
public ClassCourse(Integer classCourseId, @NotNull Integer classId,
@NotNull Integer courseId,
@NotNull Integer courseType, Long createTime) {
this.classCourseId = classCourseId;
this.classId = classId;
this.courseId = courseId;
this.courseType = courseType;
this.createTime = createTime;
}
public ClassCourse() {
}
public Integer getClassCourseId() {
return classCourseId;
}
public void setClassCourseId(Integer classCourseId) {
this.classCourseId = classCourseId;
}
public Integer getClassId() {
return classId;
}
public void setClassId(Integer classId) {
this.classId = classId;
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
public Integer getCourseType() {
return courseType;
}
public void setCourseType(Integer courseType) {
this.courseType = courseType;
}
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
}

@ -0,0 +1,87 @@
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;
/**
* (Course)
*
* @author java
* @since 2020-11-09 10:04:45
*/
@ApiModel(value = "课程表")
@Data
public class ZccmCourse implements Serializable {
private static final long serialVersionUID = -89648020880598418L;
/**
* ID
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键ID")
private Integer courseId;
/**
*
*/
@ApiModelProperty(value = "课程名称", required = true)
@NotNull
private String courseName;
/**
*
*/
@ApiModelProperty(value = "图标", required = true)
@NotNull
private String courseLogo;
/**
*
*/
@ApiModelProperty(value = "课程介绍", required = true)
@NotNull
private String courseDesc;
/**
*
*/
@ApiModelProperty(value = "课程时长", required = true)
private Float courseHours;
/**
*
*/
@ApiModelProperty(value = "教师", required = true)
private String courseTeacher;
/**
*
*/
@ApiModelProperty(value = "课程是否上架。下架后不可见")
private Integer isValid;
/**
*
*/
@ApiModelProperty(value = "如果有多张详情图,相册")
private String gallery;
/**
* 使
*/
@ApiModelProperty(value = "保留位,暂不使用")
private Integer reserved1;
}

@ -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;
}

@ -2,6 +2,7 @@ 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;
@ -19,7 +20,8 @@ import java.io.Serializable;
@ApiModel(value = "章节标签表")
public class CourseChapterTag implements Serializable {
@Data
public class ZccmCourseChapterTag implements Serializable {
private static final long serialVersionUID = 998792510540027363L;
@ -68,65 +70,4 @@ public class CourseChapterTag implements Serializable {
private Integer courseId;
public CourseChapterTag(Integer tagId, @NotNull String tagName,
@NotNull Integer tagIndex, @NotNull Integer chapterId,
@NotNull String teacherName, @NotNull Integer courseId) {
this.tagId = tagId;
this.tagName = tagName;
this.tagIndex = tagIndex;
this.chapterId = chapterId;
this.teacherName = teacherName;
this.courseId = courseId;
}
public CourseChapterTag() {
}
public Integer getTagId() {
return tagId;
}
public void setTagId(Integer tagId) {
this.tagId = tagId;
}
public String getTagName() {
return tagName;
}
public void setTagName(String tagName) {
this.tagName = tagName;
}
public Integer getTagIndex() {
return tagIndex;
}
public void setTagIndex(Integer tagIndex) {
this.tagIndex = tagIndex;
}
public Integer getChapterId() {
return chapterId;
}
public void setChapterId(Integer chapterId) {
this.chapterId = chapterId;
}
public String getTeacherName() {
return teacherName;
}
public void setTeacherName(String teacherName) {
this.teacherName = teacherName;
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
}

@ -2,6 +2,7 @@ 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;
@ -19,7 +20,8 @@ import java.io.Serializable;
@ApiModel(value = "章节测试表")
public class CourseChapterTest implements Serializable {
@Data
public class ZccmCourseChapterTest implements Serializable {
private static final long serialVersionUID = 314641819841270641L;
@ -53,46 +55,4 @@ public class CourseChapterTest implements Serializable {
@NotNull
private Integer courseId;
public CourseChapterTest(Integer testId, @NotNull Integer questionId,
@NotNull Integer chapterId, @NotNull Integer courseId) {
this.testId = testId;
this.questionId = questionId;
this.chapterId = chapterId;
this.courseId = courseId;
}
public CourseChapterTest() {
}
public Integer getTestId() {
return testId;
}
public void setTestId(Integer testId) {
this.testId = testId;
}
public Integer getQuestionId() {
return questionId;
}
public void setQuestionId(Integer questionId) {
this.questionId = questionId;
}
public Integer getChapterId() {
return chapterId;
}
public void setChapterId(Integer chapterId) {
this.chapterId = chapterId;
}
public Integer getCourseId() {
return courseId;
}
public void setCourseId(Integer courseId) {
this.courseId = courseId;
}
}

@ -0,0 +1,81 @@
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;
/**
* (CourseChapterVideo)
*
* @author java
* @since 2020-11-09 10:04:54
*/
@ApiModel(value = "章节视频表")
@Data
public class ZccmCourseChapterVideo implements Serializable {
private static final long serialVersionUID = -21553514386384145L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer videoId;
/**
* idID=NULL
*/
@ApiModelProperty(value = "章节id目前视频直接配置在课程下允许章节ID=NULL", required = true)
@NotNull
private Integer chapterId;
/**
*
*/
@ApiModelProperty(value = "视频名称", required = true)
@NotNull
private String videoName;
/**
*
*/
@ApiModelProperty(value = "视频地址", required = true)
@NotNull
private String videoUrl;
@ApiModelProperty(value = "${column.comment}", required = true)
private String videoOriUrl;
/**
* ID
*/
@ApiModelProperty(value = "视频所属课程ID", required = true)
@NotNull
private Integer courseId;
/**
*
*/
@ApiModelProperty(value = "是否精品课程,精品课程允许试看")
private Integer isFree;
/**
*
*/
@ApiModelProperty(value = "试看时间,分钟")
private Integer freeTime;
}

@ -2,6 +2,7 @@ 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;
@ -18,7 +19,8 @@ import java.io.Serializable;
*/
@ApiModel(value = "课程分类表")
public class CourseType implements Serializable {
@Data
public class ZccmCourseType implements Serializable {
private static final long serialVersionUID = -74761225011108876L;
@ -38,28 +40,6 @@ public class CourseType implements Serializable {
private String courseName;
public CourseType(Integer courseTypeId, String courseName) {
this.courseTypeId = courseTypeId;
this.courseName = courseName;
}
public CourseType() {
}
public Integer getCourseTypeId() {
return courseTypeId;
}
public void setCourseTypeId(Integer courseTypeId) {
this.courseTypeId = courseTypeId;
}
public String getCourseName() {
return courseName;
}
public void setCourseName(String courseName) {
this.courseName = courseName;
}
}

@ -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;
}

@ -20,7 +20,7 @@ import java.io.Serializable;
*/
@Data
@ApiModel(value = "资讯表")
public class News implements Serializable {
public class ZccmNews implements Serializable {
private static final long serialVersionUID = -39295514485939079L;

@ -2,6 +2,7 @@ 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;
@ -18,7 +19,8 @@ import java.io.Serializable;
*/
@ApiModel(value = "资讯标签表")
public class NewsTag implements Serializable {
@Data
public class ZccmNewsTag implements Serializable {
private static final long serialVersionUID = -31343210313614099L;
@ -38,29 +40,4 @@ public class NewsTag implements Serializable {
@NotNull
private String tagName;
public NewsTag(Integer tagId, @NotNull String tagName) {
this.tagId = tagId;
this.tagName = tagName;
}
public NewsTag() {
}
public Integer getTagId() {
return tagId;
}
public void setTagId(Integer tagId) {
this.tagId = tagId;
}
public String getTagName() {
return tagName;
}
public void setTagName(String tagName) {
this.tagName = tagName;
}
}

@ -2,6 +2,7 @@ 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;
@ -18,7 +19,8 @@ import java.io.Serializable;
*/
@ApiModel(value = "订单详情表")
public class OrderUserLog implements Serializable {
@Data
public class ZccmOrderUserLog implements Serializable {
private static final long serialVersionUID = 666133974894655590L;
@ -51,46 +53,4 @@ public class OrderUserLog implements Serializable {
@ApiModelProperty(value = "创建时间")
private Long createTime;
public OrderUserLog(Integer orderLogId, @NotNull Integer orderId,
@NotNull Integer reUserId, Long createTime) {
this.orderLogId = orderLogId;
this.orderId = orderId;
this.reUserId = reUserId;
this.createTime = createTime;
}
public OrderUserLog() {
}
public Integer getOrderLogId() {
return orderLogId;
}
public void setOrderLogId(Integer orderLogId) {
this.orderLogId = orderLogId;
}
public Integer getOrderId() {
return orderId;
}
public void setOrderId(Integer orderId) {
this.orderId = orderId;
}
public Integer getReUserId() {
return reUserId;
}
public void setReUserId(Integer reUserId) {
this.reUserId = reUserId;
}
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = 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,96 @@
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;
/**
* (Paper)
*
* @author java
* @since 2020-12-07 11:34:27
*/
@ApiModel(value = "试卷表")
@Data
public class ZccmPaper implements Serializable {
private static final long serialVersionUID = -88433359130256838L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer paperId;
/**
*
*/
@ApiModelProperty(value = "试卷名称", required = true)
@NotNull
private String paperName;
/**
* 12
*/
@ApiModelProperty(value = "试卷类别 12分别表示随机试卷固定试卷")
private Integer paperType;
/**
*
*/
@ApiModelProperty(value = "试卷介绍", required = true)
@NotNull
private String paperIntroduction;
/**
*
*/
@ApiModelProperty(value = "总分", required = true)
@NotNull
private Integer paperScore;
/**
* 线
*/
@ApiModelProperty(value = "及格线", required = true)
@NotNull
private Integer paperScorePass;
/**
*
*/
@ApiModelProperty(value = "时长", required = true)
private Integer paperTime;
/**
*
*/
@ApiModelProperty(value = "题目数量", required = true)
private Integer questionsNum;
/**
*
*/
@ApiModelProperty(value = "失效时间")
private Long endTime;
/**
* 12
*/
@ApiModelProperty(value = "1有效2无效")
private Integer status;
}

@ -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;
}

@ -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.persistence.Transient;
import java.io.Serializable;
import java.util.List;
/**
* (Question)
*
* @author java
* @since 2020-12-07 11:35:53
*/
@ApiModel(value = "题目表")
@Data
public class ZccmQuestion implements Serializable {
private static final long serialVersionUID = 215664877400645272L;
/**
* id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty(value = "主键id")
private Integer questionId;
/**
*
*/
@ApiModelProperty(value = "习题题干", required = true)
private String questionDescription;
/**
* id
*/
@ApiModelProperty(value = "标签id", required = true)
private Integer tagId;
/**
*
*/
@ApiModelProperty(value = "习题类型", required = true)
private Integer questionType;
/**
*
*/
@ApiModelProperty(value = "习题分数", required = true)
private Integer questionScore;
/**
*
*/
@ApiModelProperty(value = "习题级别,难中易", required = true)
private Integer questionLevel;
/**
*
*/
@ApiModelProperty(value = "解析", required = true)
private String analysis;
@Transient
private List<ZccmQuestionAnswer> questionAnswerList;
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save