瀏覽代碼

bean生成

chengpeng 5 年之前
父節點
當前提交
8eb863d092
共有 100 個文件被更改,包括 13938 次插入7 次删除
  1. 129 0
      mec-education/src/main/java/com/ym/mec/education/entity/ChargeType.java
  2. 132 0
      mec-education/src/main/java/com/ym/mec/education/entity/ChargeTypeSubjectMapper.java
  3. 216 0
      mec-education/src/main/java/com/ym/mec/education/entity/ClassGroup.java
  4. 90 0
      mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupRelation.java
  5. 105 0
      mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupStudentMapper.java
  6. 139 0
      mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupTeacherMapper.java
  7. 154 0
      mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupTeacherSalary.java
  8. 162 0
      mec-education/src/main/java/com/ym/mec/education/entity/CooperationOrgan.java
  9. 183 0
      mec-education/src/main/java/com/ym/mec/education/entity/CourseHomework.java
  10. 141 0
      mec-education/src/main/java/com/ym/mec/education/entity/CourseHomeworkTemplate.java
  11. 223 0
      mec-education/src/main/java/com/ym/mec/education/entity/CourseSchedule.java
  12. 141 0
      mec-education/src/main/java/com/ym/mec/education/entity/CourseScheduleTeacherSalary.java
  13. 128 0
      mec-education/src/main/java/com/ym/mec/education/entity/DemoGroup.java
  14. 84 0
      mec-education/src/main/java/com/ym/mec/education/entity/DemoGroupClassGroupMapper.java
  15. 84 0
      mec-education/src/main/java/com/ym/mec/education/entity/DemoGroupCoursesPlan.java
  16. 231 0
      mec-education/src/main/java/com/ym/mec/education/entity/Employee.java
  17. 365 0
      mec-education/src/main/java/com/ym/mec/education/entity/Goods.java
  18. 168 0
      mec-education/src/main/java/com/ym/mec/education/entity/GoodsCategory.java
  19. 235 0
      mec-education/src/main/java/com/ym/mec/education/entity/GoodsOrder.java
  20. 142 0
      mec-education/src/main/java/com/ym/mec/education/entity/GoodsOrderItem.java
  21. 232 0
      mec-education/src/main/java/com/ym/mec/education/entity/GoodsOrderPayment.java
  22. 95 0
      mec-education/src/main/java/com/ym/mec/education/entity/HotWordsLabel.java
  23. 113 0
      mec-education/src/main/java/com/ym/mec/education/entity/LeaveCategory.java
  24. 326 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroup.java
  25. 110 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupBuildLog.java
  26. 114 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupPaymentCalender.java
  27. 148 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupPaymentEntities.java
  28. 111 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupPurchaseList.java
  29. 112 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupStudentFee.java
  30. 172 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupSubjectGoodsGroup.java
  31. 178 0
      mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupSubjectPlan.java
  32. 181 0
      mec-education/src/main/java/com/ym/mec/education/entity/Organization.java
  33. 119 0
      mec-education/src/main/java/com/ym/mec/education/entity/RongyunRoom.java
  34. 132 0
      mec-education/src/main/java/com/ym/mec/education/entity/RongyunRoomMember.java
  35. 105 0
      mec-education/src/main/java/com/ym/mec/education/entity/RongyunUser.java
  36. 155 0
      mec-education/src/main/java/com/ym/mec/education/entity/RongyunWhiteboard.java
  37. 203 0
      mec-education/src/main/java/com/ym/mec/education/entity/School.java
  38. 160 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentApplyRefunds.java
  39. 162 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentAttendance.java
  40. 171 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentCourseHomework.java
  41. 120 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentCourseHomeworkReply.java
  42. 258 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentPaymentOrder.java
  43. 133 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentPaymentOrderDetail.java
  44. 216 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentRecharge.java
  45. 291 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentRegistration.java
  46. 216 0
      mec-education/src/main/java/com/ym/mec/education/entity/StudentWithdraw.java
  47. 118 0
      mec-education/src/main/java/com/ym/mec/education/entity/Subject.java
  48. 123 0
      mec-education/src/main/java/com/ym/mec/education/entity/SubjectGoodsMapper.java
  49. 137 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysArea.java
  50. 138 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysAuditLog.java
  51. 231 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysMenu.java
  52. 231 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysMessage.java
  53. 123 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysMessageConfig.java
  54. 192 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysNewsInformation.java
  55. 193 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysOauthClientDetails.java
  56. 138 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysRole.java
  57. 64 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysRoleMenu.java
  58. 126 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysSuggestion.java
  59. 170 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysTask.java
  60. 228 7
      mec-education/src/main/java/com/ym/mec/education/entity/SysUser.java
  61. 254 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysUserBankCard.java
  62. 156 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysUserCashAccount.java
  63. 217 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysUserCashAccountDetail.java
  64. 137 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysUserLogin.java
  65. 108 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysUserLoginLog.java
  66. 64 0
      mec-education/src/main/java/com/ym/mec/education/entity/SysUserRole.java
  67. 294 0
      mec-education/src/main/java/com/ym/mec/education/entity/Teacher.java
  68. 153 0
      mec-education/src/main/java/com/ym/mec/education/entity/TeacherAttendance.java
  69. 130 0
      mec-education/src/main/java/com/ym/mec/education/entity/TeacherDefaultMusicGroupSalary.java
  70. 130 0
      mec-education/src/main/java/com/ym/mec/education/entity/TeacherDefaultVipGroupSalary.java
  71. 144 0
      mec-education/src/main/java/com/ym/mec/education/entity/TeacherLeaveRecord.java
  72. 158 0
      mec-education/src/main/java/com/ym/mec/education/entity/TeacherSchool.java
  73. 262 0
      mec-education/src/main/java/com/ym/mec/education/entity/VipGroup.java
  74. 129 0
      mec-education/src/main/java/com/ym/mec/education/entity/VipGroupCategory.java
  75. 83 0
      mec-education/src/main/java/com/ym/mec/education/entity/VipGroupClassGroupMapper.java
  76. 121 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfCcOrder.java
  77. 194 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfHistOrder.java
  78. 240 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfHistTask.java
  79. 63 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfHistTaskActor.java
  80. 223 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfOrder.java
  81. 177 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfProcess.java
  82. 146 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfSurrogate.java
  83. 239 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfTask.java
  84. 63 0
      mec-education/src/main/java/com/ym/mec/education/entity/WfTaskActor.java
  85. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ChargeTypeMapper.java
  86. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ChargeTypeSubjectMapperMapper.java
  87. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupMapper.java
  88. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupRelationMapper.java
  89. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupStudentMapperMapper.java
  90. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupTeacherMapperMapper.java
  91. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupTeacherSalaryMapper.java
  92. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/CooperationOrganMapper.java
  93. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/CourseHomeworkMapper.java
  94. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/CourseHomeworkTemplateMapper.java
  95. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/CourseScheduleMapper.java
  96. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/CourseScheduleTeacherSalaryMapper.java
  97. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/DemoGroupClassGroupMapperMapper.java
  98. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/DemoGroupCoursesPlanMapper.java
  99. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/DemoGroupMapper.java
  100. 16 0
      mec-education/src/main/java/com/ym/mec/education/mapper/EmployeeMapper.java

+ 129 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ChargeType.java

@@ -0,0 +1,129 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 收费类型
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("charge_type")
+public class ChargeType extends Model<ChargeType> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 名称
+     */
+    @TableField("name_")
+    private String name;
+    @TableField("del_flag_")
+    private String delFlag;
+    /**
+     * 描述
+     */
+    @TableField("description_")
+    private String description;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 默认课程形态
+     */
+    @TableField("course_form_")
+    private String courseForm;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public ChargeType setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public ChargeType setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public ChargeType setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public ChargeType setDescription(String description) {
+        this.description = description;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ChargeType setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public ChargeType setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getCourseForm() {
+        return courseForm;
+    }
+
+    public ChargeType setCourseForm(String courseForm) {
+        this.courseForm = courseForm;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ChargeType{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", delFlag=" + delFlag +
+        ", description=" + description +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", courseForm=" + courseForm +
+        "}";
+    }
+}

+ 132 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ChargeTypeSubjectMapper.java

@@ -0,0 +1,132 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 收费类型与科目的关联表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("charge_type_subject_mapper")
+public class ChargeTypeSubjectMapper extends Model<ChargeTypeSubjectMapper> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Long id;
+    @TableField("charge_type_id_")
+    private Integer chargeTypeId;
+    @TableField("subject_id_")
+    private Integer subjectId;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("kit_group_purchase_type_")
+    private String kitGroupPurchaseType;
+    @TableField("deposit_fee_")
+    private BigDecimal depositFee;
+    @TableField("fee_")
+    private BigDecimal fee;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public ChargeTypeSubjectMapper setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getChargeTypeId() {
+        return chargeTypeId;
+    }
+
+    public ChargeTypeSubjectMapper setChargeTypeId(Integer chargeTypeId) {
+        this.chargeTypeId = chargeTypeId;
+        return this;
+    }
+
+    public Integer getSubjectId() {
+        return subjectId;
+    }
+
+    public ChargeTypeSubjectMapper setSubjectId(Integer subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ChargeTypeSubjectMapper setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public ChargeTypeSubjectMapper setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getKitGroupPurchaseType() {
+        return kitGroupPurchaseType;
+    }
+
+    public ChargeTypeSubjectMapper setKitGroupPurchaseType(String kitGroupPurchaseType) {
+        this.kitGroupPurchaseType = kitGroupPurchaseType;
+        return this;
+    }
+
+    public BigDecimal getDepositFee() {
+        return depositFee;
+    }
+
+    public ChargeTypeSubjectMapper setDepositFee(BigDecimal depositFee) {
+        this.depositFee = depositFee;
+        return this;
+    }
+
+    public BigDecimal getFee() {
+        return fee;
+    }
+
+    public ChargeTypeSubjectMapper setFee(BigDecimal fee) {
+        this.fee = fee;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ChargeTypeSubjectMapper{" +
+        ", id=" + id +
+        ", chargeTypeId=" + chargeTypeId +
+        ", subjectId=" + subjectId +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", kitGroupPurchaseType=" + kitGroupPurchaseType +
+        ", depositFee=" + depositFee +
+        ", fee=" + fee +
+        "}";
+    }
+}

+ 216 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ClassGroup.java

@@ -0,0 +1,216 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 班级
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("class_group")
+public class ClassGroup extends Model<ClassGroup> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    /**
+     * 科目列表(用逗号分隔)
+     */
+    @TableField("subject_id_list_")
+    private String subjectIdList;
+    /**
+     * 班级名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 预计招生人数
+     */
+    @TableField("expect_student_num_")
+    private Integer expectStudentNum;
+    /**
+     * 实际学生数
+     */
+    @TableField("student_num_")
+    private Integer studentNum;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 班级类型(普通班级、合奏班级、提高课班级、VIP班级、试听课)
+     */
+    @TableField("type_")
+    private String type;
+    /**
+     * 班级状态()
+     */
+    @TableField("del_flag_")
+    private String delFlag;
+    /**
+     * 教学形式(线上、线下)
+     */
+    @TableField("teach_mode_")
+    private String teachMode;
+    /**
+     * 总课次
+     */
+    @TableField("total_class_times_")
+    private Integer totalClassTimes;
+    @TableField("current_class_times_")
+    private Integer currentClassTimes;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public ClassGroup setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public ClassGroup setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public String getSubjectIdList() {
+        return subjectIdList;
+    }
+
+    public ClassGroup setSubjectIdList(String subjectIdList) {
+        this.subjectIdList = subjectIdList;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public ClassGroup setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getExpectStudentNum() {
+        return expectStudentNum;
+    }
+
+    public ClassGroup setExpectStudentNum(Integer expectStudentNum) {
+        this.expectStudentNum = expectStudentNum;
+        return this;
+    }
+
+    public Integer getStudentNum() {
+        return studentNum;
+    }
+
+    public ClassGroup setStudentNum(Integer studentNum) {
+        this.studentNum = studentNum;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ClassGroup setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public ClassGroup setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public ClassGroup setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public ClassGroup setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public String getTeachMode() {
+        return teachMode;
+    }
+
+    public ClassGroup setTeachMode(String teachMode) {
+        this.teachMode = teachMode;
+        return this;
+    }
+
+    public Integer getTotalClassTimes() {
+        return totalClassTimes;
+    }
+
+    public ClassGroup setTotalClassTimes(Integer totalClassTimes) {
+        this.totalClassTimes = totalClassTimes;
+        return this;
+    }
+
+    public Integer getCurrentClassTimes() {
+        return currentClassTimes;
+    }
+
+    public ClassGroup setCurrentClassTimes(Integer currentClassTimes) {
+        this.currentClassTimes = currentClassTimes;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ClassGroup{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", subjectIdList=" + subjectIdList +
+        ", name=" + name +
+        ", expectStudentNum=" + expectStudentNum +
+        ", studentNum=" + studentNum +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", type=" + type +
+        ", delFlag=" + delFlag +
+        ", teachMode=" + teachMode +
+        ", totalClassTimes=" + totalClassTimes +
+        ", currentClassTimes=" + currentClassTimes +
+        "}";
+    }
+}

+ 90 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupRelation.java

@@ -0,0 +1,90 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 班级关系表(定义合奏课的班级信息)
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("class_group_relation")
+public class ClassGroupRelation extends Model<ClassGroupRelation> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 班级id
+     */
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 子班id
+     */
+    @TableField("sub_class_group_id_")
+    private Integer subClassGroupId;
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public ClassGroupRelation setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public ClassGroupRelation setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Integer getSubClassGroupId() {
+        return subClassGroupId;
+    }
+
+    public ClassGroupRelation setSubClassGroupId(Integer subClassGroupId) {
+        this.subClassGroupId = subClassGroupId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ClassGroupRelation setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ClassGroupRelation{" +
+        ", id=" + id +
+        ", classGroupId=" + classGroupId +
+        ", subClassGroupId=" + subClassGroupId +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 105 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupStudentMapper.java

@@ -0,0 +1,105 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 班级、学生关系表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("class_group_student_mapper")
+public class ClassGroupStudentMapper extends Model<ClassGroupStudentMapper> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 班级
+     */
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 学生
+     */
+    @TableField("user_id_")
+    private Integer userId;
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 状态(在读、请假、休学、退学)
+     */
+    @TableField("status_")
+    private String status;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public ClassGroupStudentMapper setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public ClassGroupStudentMapper setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public ClassGroupStudentMapper setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ClassGroupStudentMapper setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public ClassGroupStudentMapper setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ClassGroupStudentMapper{" +
+        ", id=" + id +
+        ", classGroupId=" + classGroupId +
+        ", userId=" + userId +
+        ", createTime=" + createTime +
+        ", status=" + status +
+        "}";
+    }
+}

+ 139 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupTeacherMapper.java

@@ -0,0 +1,139 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 班级与老师的关联表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("class_group_teacher_mapper")
+public class ClassGroupTeacherMapper extends Model<ClassGroupTeacherMapper> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 老师角色(主教、助教)
+     */
+    @TableField("teacher_role_")
+    private String teacherRole;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 薪酬
+     */
+    @TableField("salary_")
+    private BigDecimal salary;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public ClassGroupTeacherMapper setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public ClassGroupTeacherMapper setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public ClassGroupTeacherMapper setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public String getTeacherRole() {
+        return teacherRole;
+    }
+
+    public ClassGroupTeacherMapper setTeacherRole(String teacherRole) {
+        this.teacherRole = teacherRole;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public ClassGroupTeacherMapper setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public BigDecimal getSalary() {
+        return salary;
+    }
+
+    public ClassGroupTeacherMapper setSalary(BigDecimal salary) {
+        this.salary = salary;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ClassGroupTeacherMapper setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public ClassGroupTeacherMapper setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ClassGroupTeacherMapper{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", classGroupId=" + classGroupId +
+        ", teacherRole=" + teacherRole +
+        ", userId=" + userId +
+        ", salary=" + salary +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 154 - 0
mec-education/src/main/java/com/ym/mec/education/entity/ClassGroupTeacherSalary.java

@@ -0,0 +1,154 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 班级与老师课酬表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("class_group_teacher_salary")
+public class ClassGroupTeacherSalary extends Model<ClassGroupTeacherSalary> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 老师角色(主教、助教)
+     */
+    @TableField("teacher_role_")
+    private String teacherRole;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 课时长(分钟)
+     */
+    @TableField("duration_")
+    private Integer duration;
+    /**
+     * 薪酬
+     */
+    @TableField("salary_")
+    private BigDecimal salary;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public ClassGroupTeacherSalary setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public ClassGroupTeacherSalary setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public ClassGroupTeacherSalary setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public String getTeacherRole() {
+        return teacherRole;
+    }
+
+    public ClassGroupTeacherSalary setTeacherRole(String teacherRole) {
+        this.teacherRole = teacherRole;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public ClassGroupTeacherSalary setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getDuration() {
+        return duration;
+    }
+
+    public ClassGroupTeacherSalary setDuration(Integer duration) {
+        this.duration = duration;
+        return this;
+    }
+
+    public BigDecimal getSalary() {
+        return salary;
+    }
+
+    public ClassGroupTeacherSalary setSalary(BigDecimal salary) {
+        this.salary = salary;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public ClassGroupTeacherSalary setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public ClassGroupTeacherSalary setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "ClassGroupTeacherSalary{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", classGroupId=" + classGroupId +
+        ", teacherRole=" + teacherRole +
+        ", userId=" + userId +
+        ", duration=" + duration +
+        ", salary=" + salary +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 162 - 0
mec-education/src/main/java/com/ym/mec/education/entity/CooperationOrgan.java

@@ -0,0 +1,162 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 合作单位
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("cooperation_organ")
+public class CooperationOrgan extends Model<CooperationOrgan> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    @TableField("organ_id_")
+    private Integer organId;
+    /**
+     * 单位名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 联系人
+     */
+    @TableField("linkman_")
+    private String linkman;
+    @TableField("job_")
+    private String job;
+    @TableField("mobile_no_")
+    private String mobileNo;
+    @TableField("address_")
+    private String address;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("del_flag_")
+    private String delFlag;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public CooperationOrgan setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public CooperationOrgan setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public CooperationOrgan setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getLinkman() {
+        return linkman;
+    }
+
+    public CooperationOrgan setLinkman(String linkman) {
+        this.linkman = linkman;
+        return this;
+    }
+
+    public String getJob() {
+        return job;
+    }
+
+    public CooperationOrgan setJob(String job) {
+        this.job = job;
+        return this;
+    }
+
+    public String getMobileNo() {
+        return mobileNo;
+    }
+
+    public CooperationOrgan setMobileNo(String mobileNo) {
+        this.mobileNo = mobileNo;
+        return this;
+    }
+
+    public String getAddress() {
+        return address;
+    }
+
+    public CooperationOrgan setAddress(String address) {
+        this.address = address;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public CooperationOrgan setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public CooperationOrgan setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public CooperationOrgan setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "CooperationOrgan{" +
+        ", id=" + id +
+        ", organId=" + organId +
+        ", name=" + name +
+        ", linkman=" + linkman +
+        ", job=" + job +
+        ", mobileNo=" + mobileNo +
+        ", address=" + address +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        "}";
+    }
+}

+ 183 - 0
mec-education/src/main/java/com/ym/mec/education/entity/CourseHomework.java

@@ -0,0 +1,183 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 课程作业表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("course_homework")
+public class CourseHomework extends Model<CourseHomework> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("course_schedule_id_")
+    private Long courseScheduleId;
+    /**
+     * 附件地址(多个用逗号分隔)
+     */
+    @TableField("attachments_")
+    private String attachments;
+    /**
+     * 作业内容
+     */
+    @TableField("content_")
+    private String content;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 截止日期
+     */
+    @TableField("expiry_date_")
+    private Date expiryDate;
+    /**
+     * 完成人数
+     */
+    @TableField("completed_num_")
+    private Integer completedNum;
+    /**
+     * 预计人数
+     */
+    @TableField("expect_num_")
+    private Integer expectNum;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public CourseHomework setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getCourseScheduleId() {
+        return courseScheduleId;
+    }
+
+    public CourseHomework setCourseScheduleId(Long courseScheduleId) {
+        this.courseScheduleId = courseScheduleId;
+        return this;
+    }
+
+    public String getAttachments() {
+        return attachments;
+    }
+
+    public CourseHomework setAttachments(String attachments) {
+        this.attachments = attachments;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public CourseHomework setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public CourseHomework setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public CourseHomework setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public CourseHomework setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public CourseHomework setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Date getExpiryDate() {
+        return expiryDate;
+    }
+
+    public CourseHomework setExpiryDate(Date expiryDate) {
+        this.expiryDate = expiryDate;
+        return this;
+    }
+
+    public Integer getCompletedNum() {
+        return completedNum;
+    }
+
+    public CourseHomework setCompletedNum(Integer completedNum) {
+        this.completedNum = completedNum;
+        return this;
+    }
+
+    public Integer getExpectNum() {
+        return expectNum;
+    }
+
+    public CourseHomework setExpectNum(Integer expectNum) {
+        this.expectNum = expectNum;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "CourseHomework{" +
+        ", id=" + id +
+        ", courseScheduleId=" + courseScheduleId +
+        ", attachments=" + attachments +
+        ", content=" + content +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", musicGroupId=" + musicGroupId +
+        ", classGroupId=" + classGroupId +
+        ", expiryDate=" + expiryDate +
+        ", completedNum=" + completedNum +
+        ", expectNum=" + expectNum +
+        "}";
+    }
+}

+ 141 - 0
mec-education/src/main/java/com/ym/mec/education/entity/CourseHomeworkTemplate.java

@@ -0,0 +1,141 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 课程作业模板
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("course_homework_template")
+public class CourseHomeworkTemplate extends Model<CourseHomeworkTemplate> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 模板名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 模板内容
+     */
+    @TableField("content_")
+    private String content;
+    @TableField("del_flag_")
+    private String delFlag;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 班级类型(普通班级、合奏班级、提高课班级、VIP班级)
+     */
+    @TableField("class_group_type_")
+    private String classGroupType;
+    @TableField("subject_id_")
+    private Integer subjectId;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public CourseHomeworkTemplate setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public CourseHomeworkTemplate setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public CourseHomeworkTemplate setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public CourseHomeworkTemplate setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public CourseHomeworkTemplate setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public CourseHomeworkTemplate setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getClassGroupType() {
+        return classGroupType;
+    }
+
+    public CourseHomeworkTemplate setClassGroupType(String classGroupType) {
+        this.classGroupType = classGroupType;
+        return this;
+    }
+
+    public Integer getSubjectId() {
+        return subjectId;
+    }
+
+    public CourseHomeworkTemplate setSubjectId(Integer subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "CourseHomeworkTemplate{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", content=" + content +
+        ", delFlag=" + delFlag +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", classGroupType=" + classGroupType +
+        ", subjectId=" + subjectId +
+        "}";
+    }
+}

+ 223 - 0
mec-education/src/main/java/com/ym/mec/education/entity/CourseSchedule.java

@@ -0,0 +1,223 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 课程计划表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("course_schedule")
+public class CourseSchedule extends Model<CourseSchedule> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 班级编号
+     */
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 课程状态
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 补贴
+     */
+    @TableField("subsidy_")
+    private BigDecimal subsidy;
+    /**
+     * 上课日期
+     */
+    @TableField("class_date_")
+    private Date classDate;
+    /**
+     * 上课时间
+     */
+    @TableField("start_class_time_")
+    private Date startClassTime;
+    /**
+     * 结束时间
+     */
+    @TableField("end_class_time_")
+    private Date endClassTime;
+    /**
+     * 上课教师
+     */
+    @TableField("teacher_id_")
+    private Integer teacherId;
+    /**
+     * 实际上课教师
+     */
+    @TableField("actual_teacher_id_")
+    private Integer actualTeacherId;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 教学形式(线上、线下)
+     */
+    @TableField("teach_mode_")
+    private String teachMode;
+    /**
+     * 投诉状态
+     */
+    @TableField("complaint_status_")
+    private String complaintStatus;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public CourseSchedule setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public CourseSchedule setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public CourseSchedule setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public BigDecimal getSubsidy() {
+        return subsidy;
+    }
+
+    public CourseSchedule setSubsidy(BigDecimal subsidy) {
+        this.subsidy = subsidy;
+        return this;
+    }
+
+    public Date getClassDate() {
+        return classDate;
+    }
+
+    public CourseSchedule setClassDate(Date classDate) {
+        this.classDate = classDate;
+        return this;
+    }
+
+    public Date getStartClassTime() {
+        return startClassTime;
+    }
+
+    public CourseSchedule setStartClassTime(Date startClassTime) {
+        this.startClassTime = startClassTime;
+        return this;
+    }
+
+    public Date getEndClassTime() {
+        return endClassTime;
+    }
+
+    public CourseSchedule setEndClassTime(Date endClassTime) {
+        this.endClassTime = endClassTime;
+        return this;
+    }
+
+    public Integer getTeacherId() {
+        return teacherId;
+    }
+
+    public CourseSchedule setTeacherId(Integer teacherId) {
+        this.teacherId = teacherId;
+        return this;
+    }
+
+    public Integer getActualTeacherId() {
+        return actualTeacherId;
+    }
+
+    public CourseSchedule setActualTeacherId(Integer actualTeacherId) {
+        this.actualTeacherId = actualTeacherId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public CourseSchedule setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public CourseSchedule setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getTeachMode() {
+        return teachMode;
+    }
+
+    public CourseSchedule setTeachMode(String teachMode) {
+        this.teachMode = teachMode;
+        return this;
+    }
+
+    public String getComplaintStatus() {
+        return complaintStatus;
+    }
+
+    public CourseSchedule setComplaintStatus(String complaintStatus) {
+        this.complaintStatus = complaintStatus;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "CourseSchedule{" +
+        ", id=" + id +
+        ", classGroupId=" + classGroupId +
+        ", status=" + status +
+        ", subsidy=" + subsidy +
+        ", classDate=" + classDate +
+        ", startClassTime=" + startClassTime +
+        ", endClassTime=" + endClassTime +
+        ", teacherId=" + teacherId +
+        ", actualTeacherId=" + actualTeacherId +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", teachMode=" + teachMode +
+        ", complaintStatus=" + complaintStatus +
+        "}";
+    }
+}

+ 141 - 0
mec-education/src/main/java/com/ym/mec/education/entity/CourseScheduleTeacherSalary.java

@@ -0,0 +1,141 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 课程老师薪水表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("course_schedule_teacher_salary")
+public class CourseScheduleTeacherSalary extends Model<CourseScheduleTeacherSalary> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Long id;
+    @TableField("course_schedule_id_")
+    private Long courseScheduleId;
+    /**
+     * 老师角色(主教、助教)
+     */
+    @TableField("teacher_role_")
+    private String teacherRole;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 薪水
+     */
+    @TableField("salary_")
+    private BigDecimal salary;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("create_update_")
+    private Date createUpdate;
+    /**
+     * 补贴
+     */
+    @TableField("subsidy_")
+    private BigDecimal subsidy;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public CourseScheduleTeacherSalary setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getCourseScheduleId() {
+        return courseScheduleId;
+    }
+
+    public CourseScheduleTeacherSalary setCourseScheduleId(Long courseScheduleId) {
+        this.courseScheduleId = courseScheduleId;
+        return this;
+    }
+
+    public String getTeacherRole() {
+        return teacherRole;
+    }
+
+    public CourseScheduleTeacherSalary setTeacherRole(String teacherRole) {
+        this.teacherRole = teacherRole;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public CourseScheduleTeacherSalary setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public BigDecimal getSalary() {
+        return salary;
+    }
+
+    public CourseScheduleTeacherSalary setSalary(BigDecimal salary) {
+        this.salary = salary;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public CourseScheduleTeacherSalary setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getCreateUpdate() {
+        return createUpdate;
+    }
+
+    public CourseScheduleTeacherSalary setCreateUpdate(Date createUpdate) {
+        this.createUpdate = createUpdate;
+        return this;
+    }
+
+    public BigDecimal getSubsidy() {
+        return subsidy;
+    }
+
+    public CourseScheduleTeacherSalary setSubsidy(BigDecimal subsidy) {
+        this.subsidy = subsidy;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "CourseScheduleTeacherSalary{" +
+        ", id=" + id +
+        ", courseScheduleId=" + courseScheduleId +
+        ", teacherRole=" + teacherRole +
+        ", userId=" + userId +
+        ", salary=" + salary +
+        ", createTime=" + createTime +
+        ", createUpdate=" + createUpdate +
+        ", subsidy=" + subsidy +
+        "}";
+    }
+}

+ 128 - 0
mec-education/src/main/java/com/ym/mec/education/entity/DemoGroup.java

@@ -0,0 +1,128 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 试听课
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("demo_group")
+public class DemoGroup extends Model<DemoGroup> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Long id;
+    @TableField("name_")
+    private String name;
+    /**
+     * 单节课时
+     */
+    @TableField("single_class_minutes_")
+    private Integer singleClassMinutes;
+    /**
+     * 所属分部列表
+     */
+    @TableField("organ_id_list_")
+    private String organIdList;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 老师编号
+     */
+    @TableField("user_id_")
+    private Integer userId;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public DemoGroup setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public DemoGroup setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getSingleClassMinutes() {
+        return singleClassMinutes;
+    }
+
+    public DemoGroup setSingleClassMinutes(Integer singleClassMinutes) {
+        this.singleClassMinutes = singleClassMinutes;
+        return this;
+    }
+
+    public String getOrganIdList() {
+        return organIdList;
+    }
+
+    public DemoGroup setOrganIdList(String organIdList) {
+        this.organIdList = organIdList;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public DemoGroup setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public DemoGroup setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public DemoGroup setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "DemoGroup{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", singleClassMinutes=" + singleClassMinutes +
+        ", organIdList=" + organIdList +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", userId=" + userId +
+        "}";
+    }
+}

+ 84 - 0
mec-education/src/main/java/com/ym/mec/education/entity/DemoGroupClassGroupMapper.java

@@ -0,0 +1,84 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 试听课与班级关联表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("demo_group_class_group_mapper")
+public class DemoGroupClassGroupMapper extends Model<DemoGroupClassGroupMapper> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("demo_group_id_")
+    private Long demoGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public DemoGroupClassGroupMapper setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getDemoGroupId() {
+        return demoGroupId;
+    }
+
+    public DemoGroupClassGroupMapper setDemoGroupId(Long demoGroupId) {
+        this.demoGroupId = demoGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public DemoGroupClassGroupMapper setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public DemoGroupClassGroupMapper setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "DemoGroupClassGroupMapper{" +
+        ", id=" + id +
+        ", demoGroupId=" + demoGroupId +
+        ", classGroupId=" + classGroupId +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 84 - 0
mec-education/src/main/java/com/ym/mec/education/entity/DemoGroupCoursesPlan.java

@@ -0,0 +1,84 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 试听课计划
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("demo_group_courses_plan")
+public class DemoGroupCoursesPlan extends Model<DemoGroupCoursesPlan> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("demo_group_id_")
+    private Long demoGroupId;
+    @TableField("courses_start_time_")
+    private Date coursesStartTime;
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public DemoGroupCoursesPlan setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getDemoGroupId() {
+        return demoGroupId;
+    }
+
+    public DemoGroupCoursesPlan setDemoGroupId(Long demoGroupId) {
+        this.demoGroupId = demoGroupId;
+        return this;
+    }
+
+    public Date getCoursesStartTime() {
+        return coursesStartTime;
+    }
+
+    public DemoGroupCoursesPlan setCoursesStartTime(Date coursesStartTime) {
+        this.coursesStartTime = coursesStartTime;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public DemoGroupCoursesPlan setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "DemoGroupCoursesPlan{" +
+        ", id=" + id +
+        ", demoGroupId=" + demoGroupId +
+        ", coursesStartTime=" + coursesStartTime +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 231 - 0
mec-education/src/main/java/com/ym/mec/education/entity/Employee.java

@@ -0,0 +1,231 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 员工表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public class Employee extends Model<Employee> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("user_id_")
+    private Integer userId;
+    @TableField("organ_id_")
+    private Integer organId;
+    /**
+     * 工作性质(兼职、全职、临时)
+     */
+    @TableField("job_nature_")
+    private String jobNature;
+    /**
+     * 是否试用期(1-是 0-否)
+     */
+    @TableField("is_probation_period_")
+    private String isProbationPeriod;
+    /**
+     * 学历
+     */
+    @TableField("education_background_")
+    private String educationBackground;
+    /**
+     * 毕业学校
+     */
+    @TableField("graduate_school_")
+    private String graduateSchool;
+    /**
+     * 技术职称
+     */
+    @TableField("technical_titles_")
+    private String technicalTitles;
+    /**
+     * 入职时间
+     */
+    @TableField("entry_date_")
+    private Date entryDate;
+    /**
+     * 证件类型
+     */
+    @TableField("certificate_type_")
+    private String certificateType;
+    /**
+     * 证件号码
+     */
+    @TableField("certificate_num_")
+    private String certificateNum;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 介绍
+     */
+    @TableField("introduction_")
+    private String introduction;
+    /**
+     * 离职日期
+     */
+    @TableField("demission_date_")
+    private Date demissionDate;
+
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public Employee setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public Employee setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public String getJobNature() {
+        return jobNature;
+    }
+
+    public Employee setJobNature(String jobNature) {
+        this.jobNature = jobNature;
+        return this;
+    }
+
+    public String getIsProbationPeriod() {
+        return isProbationPeriod;
+    }
+
+    public Employee setIsProbationPeriod(String isProbationPeriod) {
+        this.isProbationPeriod = isProbationPeriod;
+        return this;
+    }
+
+    public String getEducationBackground() {
+        return educationBackground;
+    }
+
+    public Employee setEducationBackground(String educationBackground) {
+        this.educationBackground = educationBackground;
+        return this;
+    }
+
+    public String getGraduateSchool() {
+        return graduateSchool;
+    }
+
+    public Employee setGraduateSchool(String graduateSchool) {
+        this.graduateSchool = graduateSchool;
+        return this;
+    }
+
+    public String getTechnicalTitles() {
+        return technicalTitles;
+    }
+
+    public Employee setTechnicalTitles(String technicalTitles) {
+        this.technicalTitles = technicalTitles;
+        return this;
+    }
+
+    public Date getEntryDate() {
+        return entryDate;
+    }
+
+    public Employee setEntryDate(Date entryDate) {
+        this.entryDate = entryDate;
+        return this;
+    }
+
+    public String getCertificateType() {
+        return certificateType;
+    }
+
+    public Employee setCertificateType(String certificateType) {
+        this.certificateType = certificateType;
+        return this;
+    }
+
+    public String getCertificateNum() {
+        return certificateNum;
+    }
+
+    public Employee setCertificateNum(String certificateNum) {
+        this.certificateNum = certificateNum;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public Employee setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public Employee setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getIntroduction() {
+        return introduction;
+    }
+
+    public Employee setIntroduction(String introduction) {
+        this.introduction = introduction;
+        return this;
+    }
+
+    public Date getDemissionDate() {
+        return demissionDate;
+    }
+
+    public Employee setDemissionDate(Date demissionDate) {
+        this.demissionDate = demissionDate;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.userId;
+    }
+
+    @Override
+    public String toString() {
+        return "Employee{" +
+        ", userId=" + userId +
+        ", organId=" + organId +
+        ", jobNature=" + jobNature +
+        ", isProbationPeriod=" + isProbationPeriod +
+        ", educationBackground=" + educationBackground +
+        ", graduateSchool=" + graduateSchool +
+        ", technicalTitles=" + technicalTitles +
+        ", entryDate=" + entryDate +
+        ", certificateType=" + certificateType +
+        ", certificateNum=" + certificateNum +
+        ", updateTime=" + updateTime +
+        ", createTime=" + createTime +
+        ", introduction=" + introduction +
+        ", demissionDate=" + demissionDate +
+        "}";
+    }
+}

+ 365 - 0
mec-education/src/main/java/com/ym/mec/education/entity/Goods.java

@@ -0,0 +1,365 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 商品表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public class Goods extends Model<Goods> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 商品编号
+     */
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 产品分类
+     */
+    @TableField("goods_category_id_")
+    private Integer goodsCategoryId;
+    /**
+     * 商品货号
+     */
+    @TableField("sn_")
+    private String sn;
+    /**
+     * 商品名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 品牌
+     */
+    @TableField("brand_")
+    private String brand;
+    /**
+     * 规格
+     */
+    @TableField("specification_")
+    private String specification;
+    /**
+     * 展示图片的地址
+     */
+    @TableField("image_")
+    private String image;
+    /**
+     * 库存数量
+     */
+    @TableField("stock_count_")
+    private Integer stockCount;
+    /**
+     * 总销量数
+     */
+    @TableField("sell_count_")
+    private Integer sellCount;
+    /**
+     * 市场销售价
+     */
+    @TableField("market_price_")
+    private BigDecimal marketPrice;
+    /**
+     * 折扣价
+     */
+    @TableField("discount_price_")
+    private BigDecimal discountPrice;
+    /**
+     * 团购价
+     */
+    @TableField("group_purchase_price_")
+    private BigDecimal groupPurchasePrice;
+    /**
+     * 页面简介
+     */
+    @TableField("brief_")
+    private String brief;
+    /**
+     * 商品的详细描述
+     */
+    @TableField("desc_")
+    private String desc;
+    /**
+     * 是否是新品(1,是  0,否)
+     */
+    @TableField("is_new_")
+    private String isNew;
+    /**
+     * 是否置顶(1,置顶   0,不置顶)
+     */
+    @TableField("is_top_")
+    private String isTop;
+    /**
+     * 状态(1,上架  0,下架)
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 备注
+     */
+    @TableField("memo_")
+    private String memo;
+    /**
+     * 发布时间
+     */
+    @TableField("publish_time_")
+    private Date publishTime;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 附件商品列表编号(用逗号分开)
+     */
+    @TableField("complement_goods_id_list_")
+    private String complementGoodsIdList;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public Goods setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getGoodsCategoryId() {
+        return goodsCategoryId;
+    }
+
+    public Goods setGoodsCategoryId(Integer goodsCategoryId) {
+        this.goodsCategoryId = goodsCategoryId;
+        return this;
+    }
+
+    public String getSn() {
+        return sn;
+    }
+
+    public Goods setSn(String sn) {
+        this.sn = sn;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public Goods setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getBrand() {
+        return brand;
+    }
+
+    public Goods setBrand(String brand) {
+        this.brand = brand;
+        return this;
+    }
+
+    public String getSpecification() {
+        return specification;
+    }
+
+    public Goods setSpecification(String specification) {
+        this.specification = specification;
+        return this;
+    }
+
+    public String getImage() {
+        return image;
+    }
+
+    public Goods setImage(String image) {
+        this.image = image;
+        return this;
+    }
+
+    public Integer getStockCount() {
+        return stockCount;
+    }
+
+    public Goods setStockCount(Integer stockCount) {
+        this.stockCount = stockCount;
+        return this;
+    }
+
+    public Integer getSellCount() {
+        return sellCount;
+    }
+
+    public Goods setSellCount(Integer sellCount) {
+        this.sellCount = sellCount;
+        return this;
+    }
+
+    public BigDecimal getMarketPrice() {
+        return marketPrice;
+    }
+
+    public Goods setMarketPrice(BigDecimal marketPrice) {
+        this.marketPrice = marketPrice;
+        return this;
+    }
+
+    public BigDecimal getDiscountPrice() {
+        return discountPrice;
+    }
+
+    public Goods setDiscountPrice(BigDecimal discountPrice) {
+        this.discountPrice = discountPrice;
+        return this;
+    }
+
+    public BigDecimal getGroupPurchasePrice() {
+        return groupPurchasePrice;
+    }
+
+    public Goods setGroupPurchasePrice(BigDecimal groupPurchasePrice) {
+        this.groupPurchasePrice = groupPurchasePrice;
+        return this;
+    }
+
+    public String getBrief() {
+        return brief;
+    }
+
+    public Goods setBrief(String brief) {
+        this.brief = brief;
+        return this;
+    }
+
+    public String getDesc() {
+        return desc;
+    }
+
+    public Goods setDesc(String desc) {
+        this.desc = desc;
+        return this;
+    }
+
+    public String getIsNew() {
+        return isNew;
+    }
+
+    public Goods setIsNew(String isNew) {
+        this.isNew = isNew;
+        return this;
+    }
+
+    public String getIsTop() {
+        return isTop;
+    }
+
+    public Goods setIsTop(String isTop) {
+        this.isTop = isTop;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public Goods setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public Goods setMemo(String memo) {
+        this.memo = memo;
+        return this;
+    }
+
+    public Date getPublishTime() {
+        return publishTime;
+    }
+
+    public Goods setPublishTime(Date publishTime) {
+        this.publishTime = publishTime;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public Goods setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public Goods setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getComplementGoodsIdList() {
+        return complementGoodsIdList;
+    }
+
+    public Goods setComplementGoodsIdList(String complementGoodsIdList) {
+        this.complementGoodsIdList = complementGoodsIdList;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "Goods{" +
+        ", id=" + id +
+        ", goodsCategoryId=" + goodsCategoryId +
+        ", sn=" + sn +
+        ", name=" + name +
+        ", brand=" + brand +
+        ", specification=" + specification +
+        ", image=" + image +
+        ", stockCount=" + stockCount +
+        ", sellCount=" + sellCount +
+        ", marketPrice=" + marketPrice +
+        ", discountPrice=" + discountPrice +
+        ", groupPurchasePrice=" + groupPurchasePrice +
+        ", brief=" + brief +
+        ", desc=" + desc +
+        ", isNew=" + isNew +
+        ", isTop=" + isTop +
+        ", status=" + status +
+        ", memo=" + memo +
+        ", publishTime=" + publishTime +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", complementGoodsIdList=" + complementGoodsIdList +
+        "}";
+    }
+}

+ 168 - 0
mec-education/src/main/java/com/ym/mec/education/entity/GoodsCategory.java

@@ -0,0 +1,168 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 商品分类
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("goods_category")
+public class GoodsCategory extends Model<GoodsCategory> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 分类名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 产品展示的图片地址
+     */
+    @TableField("img_")
+    private String img;
+    /**
+     * 父节点编号
+     */
+    @TableField("parent_id_")
+    private Integer parentId;
+    /**
+     * 顺序编号
+     */
+    @TableField("order_no_")
+    private Integer orderNo;
+    /**
+     * 是否删除1是,0否
+     */
+    @TableField("status_")
+    private Boolean status;
+    /**
+     * 描述
+     */
+    @TableField("desc_")
+    private String desc;
+    /**
+     * 最后修改时间
+     */
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public GoodsCategory setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public GoodsCategory setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getImg() {
+        return img;
+    }
+
+    public GoodsCategory setImg(String img) {
+        this.img = img;
+        return this;
+    }
+
+    public Integer getParentId() {
+        return parentId;
+    }
+
+    public GoodsCategory setParentId(Integer parentId) {
+        this.parentId = parentId;
+        return this;
+    }
+
+    public Integer getOrderNo() {
+        return orderNo;
+    }
+
+    public GoodsCategory setOrderNo(Integer orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public Boolean getStatus() {
+        return status;
+    }
+
+    public GoodsCategory setStatus(Boolean status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getDesc() {
+        return desc;
+    }
+
+    public GoodsCategory setDesc(String desc) {
+        this.desc = desc;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public GoodsCategory setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public GoodsCategory setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "GoodsCategory{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", img=" + img +
+        ", parentId=" + parentId +
+        ", orderNo=" + orderNo +
+        ", status=" + status +
+        ", desc=" + desc +
+        ", updateTime=" + updateTime +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 235 - 0
mec-education/src/main/java/com/ym/mec/education/entity/GoodsOrder.java

@@ -0,0 +1,235 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 商品订单表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("goods_order")
+public class GoodsOrder extends Model<GoodsOrder> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 订单状态
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 订单总额
+     */
+    @TableField("total_amount_")
+    private BigDecimal totalAmount;
+    /**
+     * 优惠金额
+     */
+    @TableField("coupon_amount_")
+    private BigDecimal couponAmount;
+    /**
+     * 商品数量
+     */
+    @TableField("goods_quantity_")
+    private Integer goodsQuantity;
+    /**
+     * 用户备注
+     */
+    @TableField("user_note_")
+    private String userNote;
+    /**
+     * 订单号
+     */
+    @TableField("order_no_")
+    private String orderNo;
+    /**
+     * 订单来源
+     */
+    @TableField("order_source_")
+    private String orderSource;
+    /**
+     * 收货人
+     */
+    @TableField("receiver_id_")
+    private Long receiverId;
+    /**
+     * 快递公司
+     */
+    @TableField("express_company_code_")
+    private String expressCompanyCode;
+    /**
+     * 快递单号
+     */
+    @TableField("express_num_")
+    private String expressNum;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public GoodsOrder setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public GoodsOrder setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public GoodsOrder setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public BigDecimal getTotalAmount() {
+        return totalAmount;
+    }
+
+    public GoodsOrder setTotalAmount(BigDecimal totalAmount) {
+        this.totalAmount = totalAmount;
+        return this;
+    }
+
+    public BigDecimal getCouponAmount() {
+        return couponAmount;
+    }
+
+    public GoodsOrder setCouponAmount(BigDecimal couponAmount) {
+        this.couponAmount = couponAmount;
+        return this;
+    }
+
+    public Integer getGoodsQuantity() {
+        return goodsQuantity;
+    }
+
+    public GoodsOrder setGoodsQuantity(Integer goodsQuantity) {
+        this.goodsQuantity = goodsQuantity;
+        return this;
+    }
+
+    public String getUserNote() {
+        return userNote;
+    }
+
+    public GoodsOrder setUserNote(String userNote) {
+        this.userNote = userNote;
+        return this;
+    }
+
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public GoodsOrder setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public String getOrderSource() {
+        return orderSource;
+    }
+
+    public GoodsOrder setOrderSource(String orderSource) {
+        this.orderSource = orderSource;
+        return this;
+    }
+
+    public Long getReceiverId() {
+        return receiverId;
+    }
+
+    public GoodsOrder setReceiverId(Long receiverId) {
+        this.receiverId = receiverId;
+        return this;
+    }
+
+    public String getExpressCompanyCode() {
+        return expressCompanyCode;
+    }
+
+    public GoodsOrder setExpressCompanyCode(String expressCompanyCode) {
+        this.expressCompanyCode = expressCompanyCode;
+        return this;
+    }
+
+    public String getExpressNum() {
+        return expressNum;
+    }
+
+    public GoodsOrder setExpressNum(String expressNum) {
+        this.expressNum = expressNum;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public GoodsOrder setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public GoodsOrder setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "GoodsOrder{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", status=" + status +
+        ", totalAmount=" + totalAmount +
+        ", couponAmount=" + couponAmount +
+        ", goodsQuantity=" + goodsQuantity +
+        ", userNote=" + userNote +
+        ", orderNo=" + orderNo +
+        ", orderSource=" + orderSource +
+        ", receiverId=" + receiverId +
+        ", expressCompanyCode=" + expressCompanyCode +
+        ", expressNum=" + expressNum +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 142 - 0
mec-education/src/main/java/com/ym/mec/education/entity/GoodsOrderItem.java

@@ -0,0 +1,142 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 商品订单项
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("goods_order_item")
+public class GoodsOrderItem extends Model<GoodsOrderItem> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("goods_order_id_")
+    private Long goodsOrderId;
+    @TableField("goods_id_")
+    private Integer goodsId;
+    /**
+     * 市场价
+     */
+    @TableField("market_price_")
+    private BigDecimal marketPrice;
+    /**
+     * 折扣价
+     */
+    @TableField("discount_price_")
+    private BigDecimal discountPrice;
+    /**
+     * 商品数量
+     */
+    @TableField("goods_quantity_")
+    private Integer goodsQuantity;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public GoodsOrderItem setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getGoodsOrderId() {
+        return goodsOrderId;
+    }
+
+    public GoodsOrderItem setGoodsOrderId(Long goodsOrderId) {
+        this.goodsOrderId = goodsOrderId;
+        return this;
+    }
+
+    public Integer getGoodsId() {
+        return goodsId;
+    }
+
+    public GoodsOrderItem setGoodsId(Integer goodsId) {
+        this.goodsId = goodsId;
+        return this;
+    }
+
+    public BigDecimal getMarketPrice() {
+        return marketPrice;
+    }
+
+    public GoodsOrderItem setMarketPrice(BigDecimal marketPrice) {
+        this.marketPrice = marketPrice;
+        return this;
+    }
+
+    public BigDecimal getDiscountPrice() {
+        return discountPrice;
+    }
+
+    public GoodsOrderItem setDiscountPrice(BigDecimal discountPrice) {
+        this.discountPrice = discountPrice;
+        return this;
+    }
+
+    public Integer getGoodsQuantity() {
+        return goodsQuantity;
+    }
+
+    public GoodsOrderItem setGoodsQuantity(Integer goodsQuantity) {
+        this.goodsQuantity = goodsQuantity;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public GoodsOrderItem setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public GoodsOrderItem setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "GoodsOrderItem{" +
+        ", id=" + id +
+        ", goodsOrderId=" + goodsOrderId +
+        ", goodsId=" + goodsId +
+        ", marketPrice=" + marketPrice +
+        ", discountPrice=" + discountPrice +
+        ", goodsQuantity=" + goodsQuantity +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 232 - 0
mec-education/src/main/java/com/ym/mec/education/entity/GoodsOrderPayment.java

@@ -0,0 +1,232 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 商品订单支付表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("goods_order_payment")
+public class GoodsOrderPayment extends Model<GoodsOrderPayment> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    @TableField("goods_order_id_")
+    private Long goodsOrderId;
+    /**
+     * 支付渠道
+     */
+    @TableField("payment_channel_")
+    private String paymentChannel;
+    /**
+     * 业务渠道
+     */
+    @TableField("payment_business_channel_")
+    private String paymentBusinessChannel;
+    /**
+     * 支付账号
+     */
+    @TableField("payment_account_no_")
+    private String paymentAccountNo;
+    /**
+     * 支付金额
+     */
+    @TableField("amount_")
+    private BigDecimal amount;
+    /**
+     * 交易流水号
+     */
+    @TableField("trans_no_")
+    private String transNo;
+    /**
+     * 订单号
+     */
+    @TableField("order_no_")
+    private String orderNo;
+    /**
+     * 支付状态
+     */
+    @TableField("pay_status_")
+    private String payStatus;
+    /**
+     * 到账时间
+     */
+    @TableField("arrival_time_")
+    private Date arrivalTime;
+    /**
+     * 备注
+     */
+    @TableField("remark_")
+    private String remark;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public GoodsOrderPayment setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public GoodsOrderPayment setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Long getGoodsOrderId() {
+        return goodsOrderId;
+    }
+
+    public GoodsOrderPayment setGoodsOrderId(Long goodsOrderId) {
+        this.goodsOrderId = goodsOrderId;
+        return this;
+    }
+
+    public String getPaymentChannel() {
+        return paymentChannel;
+    }
+
+    public GoodsOrderPayment setPaymentChannel(String paymentChannel) {
+        this.paymentChannel = paymentChannel;
+        return this;
+    }
+
+    public String getPaymentBusinessChannel() {
+        return paymentBusinessChannel;
+    }
+
+    public GoodsOrderPayment setPaymentBusinessChannel(String paymentBusinessChannel) {
+        this.paymentBusinessChannel = paymentBusinessChannel;
+        return this;
+    }
+
+    public String getPaymentAccountNo() {
+        return paymentAccountNo;
+    }
+
+    public GoodsOrderPayment setPaymentAccountNo(String paymentAccountNo) {
+        this.paymentAccountNo = paymentAccountNo;
+        return this;
+    }
+
+    public BigDecimal getAmount() {
+        return amount;
+    }
+
+    public GoodsOrderPayment setAmount(BigDecimal amount) {
+        this.amount = amount;
+        return this;
+    }
+
+    public String getTransNo() {
+        return transNo;
+    }
+
+    public GoodsOrderPayment setTransNo(String transNo) {
+        this.transNo = transNo;
+        return this;
+    }
+
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public GoodsOrderPayment setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public String getPayStatus() {
+        return payStatus;
+    }
+
+    public GoodsOrderPayment setPayStatus(String payStatus) {
+        this.payStatus = payStatus;
+        return this;
+    }
+
+    public Date getArrivalTime() {
+        return arrivalTime;
+    }
+
+    public GoodsOrderPayment setArrivalTime(Date arrivalTime) {
+        this.arrivalTime = arrivalTime;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public GoodsOrderPayment setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public GoodsOrderPayment setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public GoodsOrderPayment setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "GoodsOrderPayment{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", goodsOrderId=" + goodsOrderId +
+        ", paymentChannel=" + paymentChannel +
+        ", paymentBusinessChannel=" + paymentBusinessChannel +
+        ", paymentAccountNo=" + paymentAccountNo +
+        ", amount=" + amount +
+        ", transNo=" + transNo +
+        ", orderNo=" + orderNo +
+        ", payStatus=" + payStatus +
+        ", arrivalTime=" + arrivalTime +
+        ", remark=" + remark +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 95 - 0
mec-education/src/main/java/com/ym/mec/education/entity/HotWordsLabel.java

@@ -0,0 +1,95 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 热词标签管理
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("hot_words_label")
+public class HotWordsLabel extends Model<HotWordsLabel> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Integer id;
+    @TableField("name_")
+    private String name;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("del_flag_")
+    private String delFlag;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public HotWordsLabel setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public HotWordsLabel setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public HotWordsLabel setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public HotWordsLabel setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public HotWordsLabel setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "HotWordsLabel{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        "}";
+    }
+}

+ 113 - 0
mec-education/src/main/java/com/ym/mec/education/entity/LeaveCategory.java

@@ -0,0 +1,113 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 请假类别表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("leave_category")
+public class LeaveCategory extends Model<LeaveCategory> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Integer id;
+    /**
+     * 类型名称
+     */
+    @TableField("name_")
+    private String name;
+    @TableField("del_flag_")
+    private String delFlag;
+    /**
+     * 备注
+     */
+    @TableField("remark_")
+    private String remark;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public LeaveCategory setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public LeaveCategory setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public LeaveCategory setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public LeaveCategory setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public LeaveCategory setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public LeaveCategory setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "LeaveCategory{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", delFlag=" + delFlag +
+        ", remark=" + remark +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 326 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroup.java

@@ -0,0 +1,326 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 乐团表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group")
+public class MusicGroup extends Model<MusicGroup> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private String id;
+    /**
+     * 乐团名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 所属分部
+     */
+    @TableField("organ_id_")
+    private Integer organId;
+    /**
+     * 学校(合作单位)
+     */
+    @TableField("school_id_")
+    private Integer schoolId;
+    /**
+     * 报名截止日期
+     */
+    @TableField("apply_expire_date_")
+    private Date applyExpireDate;
+    /**
+     * 运营主管
+     */
+    @TableField("team_teacher_id_")
+    private Integer teamTeacherId;
+    /**
+     * 教务老师
+     */
+    @TableField("educational_teacher_id_")
+    private Integer educationalTeacherId;
+    /**
+     * 收费类型
+     */
+    @TableField("charge_type_id_")
+    private Integer chargeTypeId;
+    /**
+     * 课程形态
+     */
+    @TableField("course_form_")
+    private String courseForm;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 状态(报名中、缴费中、筹备中、进行中、取消)
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 计费开始日期
+     */
+    @TableField("bill_start_date_")
+    private Date billStartDate;
+    /**
+     * 提高课班级数
+     */
+    @TableField("improvent_classes_num_")
+    private Integer improventClassesNum;
+    /**
+     * 招生年级(多个用|分开)
+     */
+    @TableField("enroll_classes_")
+    private String enrollClasses;
+    /**
+     * 缴费截止时间
+     */
+    @TableField("payment_expire_date_")
+    private Date paymentExpireDate;
+    /**
+     * 是否是加课
+     */
+    @TableField("is_extra_class_")
+    private String isExtraClass;
+    /**
+     * 合作单位编号
+     */
+    @TableField("cooperation_organ_id_")
+    private Integer cooperationOrganId;
+    /**
+     * 启蒙课日期
+     */
+    @TableField("enlightenment_course_time_")
+    private Date enlightenmentCourseTime;
+    /**
+     * 家长会日期
+     */
+    @TableField("parent_meeting_time_")
+    private Date parentMeetingTime;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public MusicGroup setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public MusicGroup setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public MusicGroup setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public Integer getSchoolId() {
+        return schoolId;
+    }
+
+    public MusicGroup setSchoolId(Integer schoolId) {
+        this.schoolId = schoolId;
+        return this;
+    }
+
+    public Date getApplyExpireDate() {
+        return applyExpireDate;
+    }
+
+    public MusicGroup setApplyExpireDate(Date applyExpireDate) {
+        this.applyExpireDate = applyExpireDate;
+        return this;
+    }
+
+    public Integer getTeamTeacherId() {
+        return teamTeacherId;
+    }
+
+    public MusicGroup setTeamTeacherId(Integer teamTeacherId) {
+        this.teamTeacherId = teamTeacherId;
+        return this;
+    }
+
+    public Integer getEducationalTeacherId() {
+        return educationalTeacherId;
+    }
+
+    public MusicGroup setEducationalTeacherId(Integer educationalTeacherId) {
+        this.educationalTeacherId = educationalTeacherId;
+        return this;
+    }
+
+    public Integer getChargeTypeId() {
+        return chargeTypeId;
+    }
+
+    public MusicGroup setChargeTypeId(Integer chargeTypeId) {
+        this.chargeTypeId = chargeTypeId;
+        return this;
+    }
+
+    public String getCourseForm() {
+        return courseForm;
+    }
+
+    public MusicGroup setCourseForm(String courseForm) {
+        this.courseForm = courseForm;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroup setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroup setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public MusicGroup setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public Date getBillStartDate() {
+        return billStartDate;
+    }
+
+    public MusicGroup setBillStartDate(Date billStartDate) {
+        this.billStartDate = billStartDate;
+        return this;
+    }
+
+    public Integer getImproventClassesNum() {
+        return improventClassesNum;
+    }
+
+    public MusicGroup setImproventClassesNum(Integer improventClassesNum) {
+        this.improventClassesNum = improventClassesNum;
+        return this;
+    }
+
+    public String getEnrollClasses() {
+        return enrollClasses;
+    }
+
+    public MusicGroup setEnrollClasses(String enrollClasses) {
+        this.enrollClasses = enrollClasses;
+        return this;
+    }
+
+    public Date getPaymentExpireDate() {
+        return paymentExpireDate;
+    }
+
+    public MusicGroup setPaymentExpireDate(Date paymentExpireDate) {
+        this.paymentExpireDate = paymentExpireDate;
+        return this;
+    }
+
+    public String getIsExtraClass() {
+        return isExtraClass;
+    }
+
+    public MusicGroup setIsExtraClass(String isExtraClass) {
+        this.isExtraClass = isExtraClass;
+        return this;
+    }
+
+    public Integer getCooperationOrganId() {
+        return cooperationOrganId;
+    }
+
+    public MusicGroup setCooperationOrganId(Integer cooperationOrganId) {
+        this.cooperationOrganId = cooperationOrganId;
+        return this;
+    }
+
+    public Date getEnlightenmentCourseTime() {
+        return enlightenmentCourseTime;
+    }
+
+    public MusicGroup setEnlightenmentCourseTime(Date enlightenmentCourseTime) {
+        this.enlightenmentCourseTime = enlightenmentCourseTime;
+        return this;
+    }
+
+    public Date getParentMeetingTime() {
+        return parentMeetingTime;
+    }
+
+    public MusicGroup setParentMeetingTime(Date parentMeetingTime) {
+        this.parentMeetingTime = parentMeetingTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroup{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", organId=" + organId +
+        ", schoolId=" + schoolId +
+        ", applyExpireDate=" + applyExpireDate +
+        ", teamTeacherId=" + teamTeacherId +
+        ", educationalTeacherId=" + educationalTeacherId +
+        ", chargeTypeId=" + chargeTypeId +
+        ", courseForm=" + courseForm +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", status=" + status +
+        ", billStartDate=" + billStartDate +
+        ", improventClassesNum=" + improventClassesNum +
+        ", enrollClasses=" + enrollClasses +
+        ", paymentExpireDate=" + paymentExpireDate +
+        ", isExtraClass=" + isExtraClass +
+        ", cooperationOrganId=" + cooperationOrganId +
+        ", enlightenmentCourseTime=" + enlightenmentCourseTime +
+        ", parentMeetingTime=" + parentMeetingTime +
+        "}";
+    }
+}

+ 110 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupBuildLog.java

@@ -0,0 +1,110 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 建团日志表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_build_log")
+public class MusicGroupBuildLog extends Model<MusicGroupBuildLog> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Integer id;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    /**
+     * 事件
+     */
+    @TableField("event_")
+    private String event;
+    @TableField("operator_")
+    private Integer operator;
+    @TableField("memo_")
+    private String memo;
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public MusicGroupBuildLog setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupBuildLog setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public String getEvent() {
+        return event;
+    }
+
+    public MusicGroupBuildLog setEvent(String event) {
+        this.event = event;
+        return this;
+    }
+
+    public Integer getOperator() {
+        return operator;
+    }
+
+    public MusicGroupBuildLog setOperator(Integer operator) {
+        this.operator = operator;
+        return this;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public MusicGroupBuildLog setMemo(String memo) {
+        this.memo = memo;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupBuildLog setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupBuildLog{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", event=" + event +
+        ", operator=" + operator +
+        ", memo=" + memo +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 114 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupPaymentCalender.java

@@ -0,0 +1,114 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 乐团缴费日历
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_payment_calender")
+public class MusicGroupPaymentCalender extends Model<MusicGroupPaymentCalender> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("music_group_id_")
+    private String musicGroupId;
+    /**
+     * 缴费月份
+     */
+    @TableField("payment_month_")
+    private Integer paymentMonth;
+    /**
+     * 开始缴费日期
+     */
+    @TableField("start_payment_date_")
+    private Date startPaymentDate;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public MusicGroupPaymentCalender setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupPaymentCalender setMusicGroupId(String musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getPaymentMonth() {
+        return paymentMonth;
+    }
+
+    public MusicGroupPaymentCalender setPaymentMonth(Integer paymentMonth) {
+        this.paymentMonth = paymentMonth;
+        return this;
+    }
+
+    public Date getStartPaymentDate() {
+        return startPaymentDate;
+    }
+
+    public MusicGroupPaymentCalender setStartPaymentDate(Date startPaymentDate) {
+        this.startPaymentDate = startPaymentDate;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupPaymentCalender setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroupPaymentCalender setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupPaymentCalender{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", paymentMonth=" + paymentMonth +
+        ", startPaymentDate=" + startPaymentDate +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 148 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupPaymentEntities.java

@@ -0,0 +1,148 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 乐团付费主体
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_payment_entities")
+public class MusicGroupPaymentEntities extends Model<MusicGroupPaymentEntities> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 乐团编号
+     */
+    @TableField("music_group_id_")
+    private String musicGroupId;
+    /**
+     * 主体名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 付费方式(一次性、按月、按学期、按学年)
+     */
+    @TableField("payment_method_")
+    private String paymentMethod;
+    /**
+     * 金额
+     */
+    @TableField("amount_")
+    private BigDecimal amount;
+    /**
+     * 备注
+     */
+    @TableField("memo_")
+    private String memo;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public MusicGroupPaymentEntities setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupPaymentEntities setMusicGroupId(String musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public MusicGroupPaymentEntities setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getPaymentMethod() {
+        return paymentMethod;
+    }
+
+    public MusicGroupPaymentEntities setPaymentMethod(String paymentMethod) {
+        this.paymentMethod = paymentMethod;
+        return this;
+    }
+
+    public BigDecimal getAmount() {
+        return amount;
+    }
+
+    public MusicGroupPaymentEntities setAmount(BigDecimal amount) {
+        this.amount = amount;
+        return this;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public MusicGroupPaymentEntities setMemo(String memo) {
+        this.memo = memo;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupPaymentEntities setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroupPaymentEntities setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupPaymentEntities{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", name=" + name +
+        ", paymentMethod=" + paymentMethod +
+        ", amount=" + amount +
+        ", memo=" + memo +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 111 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupPurchaseList.java

@@ -0,0 +1,111 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 乐团采购清单
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_purchase_list")
+public class MusicGroupPurchaseList extends Model<MusicGroupPurchaseList> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    @TableField("music_group_id_")
+    private String musicGroupId;
+    @TableField("goods_id_")
+    private Integer goodsId;
+    /**
+     * 采购数量
+     */
+    @TableField("purchase_num_")
+    private Integer purchaseNum;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public MusicGroupPurchaseList setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupPurchaseList setMusicGroupId(String musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getGoodsId() {
+        return goodsId;
+    }
+
+    public MusicGroupPurchaseList setGoodsId(Integer goodsId) {
+        this.goodsId = goodsId;
+        return this;
+    }
+
+    public Integer getPurchaseNum() {
+        return purchaseNum;
+    }
+
+    public MusicGroupPurchaseList setPurchaseNum(Integer purchaseNum) {
+        this.purchaseNum = purchaseNum;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupPurchaseList setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroupPurchaseList setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupPurchaseList{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", goodsId=" + goodsId +
+        ", purchaseNum=" + purchaseNum +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 112 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupStudentFee.java

@@ -0,0 +1,112 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 乐团学生费用表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_student_fee_")
+public class MusicGroupStudentFee extends Model<MusicGroupStudentFee> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 课程费用
+     */
+    @TableField("course_fee_")
+    private BigDecimal courseFee;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public MusicGroupStudentFee setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupStudentFee setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public MusicGroupStudentFee setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public BigDecimal getCourseFee() {
+        return courseFee;
+    }
+
+    public MusicGroupStudentFee setCourseFee(BigDecimal courseFee) {
+        this.courseFee = courseFee;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupStudentFee setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroupStudentFee setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupStudentFee{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", userId=" + userId +
+        ", courseFee=" + courseFee +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 172 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupSubjectGoodsGroup.java

@@ -0,0 +1,172 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 商品分组表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_subject_goods_group")
+public class MusicGroupSubjectGoodsGroup extends Model<MusicGroupSubjectGoodsGroup> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 类型(乐器、教辅)
+     */
+    @TableField("type_")
+    private String type;
+    @TableField("music_group_id_")
+    private String musicGroupId;
+    @TableField("subject_id_")
+    private Integer subjectId;
+    /**
+     * 商品列表(用逗号分隔分开)
+     */
+    @TableField("goods_id_list_")
+    private String goodsIdList;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 打包价格
+     */
+    @TableField("price_")
+    private BigDecimal price;
+    /**
+     * 减免课程费用
+     */
+    @TableField("remission_course_fee_")
+    private BigDecimal remissionCourseFee;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public MusicGroupSubjectGoodsGroup setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public MusicGroupSubjectGoodsGroup setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public MusicGroupSubjectGoodsGroup setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public String getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupSubjectGoodsGroup setMusicGroupId(String musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getSubjectId() {
+        return subjectId;
+    }
+
+    public MusicGroupSubjectGoodsGroup setSubjectId(Integer subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    public String getGoodsIdList() {
+        return goodsIdList;
+    }
+
+    public MusicGroupSubjectGoodsGroup setGoodsIdList(String goodsIdList) {
+        this.goodsIdList = goodsIdList;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupSubjectGoodsGroup setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroupSubjectGoodsGroup setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public BigDecimal getPrice() {
+        return price;
+    }
+
+    public MusicGroupSubjectGoodsGroup setPrice(BigDecimal price) {
+        this.price = price;
+        return this;
+    }
+
+    public BigDecimal getRemissionCourseFee() {
+        return remissionCourseFee;
+    }
+
+    public MusicGroupSubjectGoodsGroup setRemissionCourseFee(BigDecimal remissionCourseFee) {
+        this.remissionCourseFee = remissionCourseFee;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupSubjectGoodsGroup{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", type=" + type +
+        ", musicGroupId=" + musicGroupId +
+        ", subjectId=" + subjectId +
+        ", goodsIdList=" + goodsIdList +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", price=" + price +
+        ", remissionCourseFee=" + remissionCourseFee +
+        "}";
+    }
+}

+ 178 - 0
mec-education/src/main/java/com/ym/mec/education/entity/MusicGroupSubjectPlan.java

@@ -0,0 +1,178 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 乐团科目规划表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("music_group_subject_plan")
+public class MusicGroupSubjectPlan extends Model<MusicGroupSubjectPlan> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 乐团编号
+     */
+    @TableField("music_group_id_")
+    private String musicGroupId;
+    /**
+     * 科目编号
+     */
+    @TableField("subject_id_")
+    private Integer subjectId;
+    /**
+     * 预计学生数
+     */
+    @TableField("expected_student_num_")
+    private Integer expectedStudentNum;
+    /**
+     * 报名学生数
+     */
+    @TableField("apply_student_num_")
+    private Integer applyStudentNum;
+    /**
+     * 费用
+     */
+    @TableField("fee_")
+    private BigDecimal fee;
+    /**
+     * 乐器团购类型(自备、赠送、租赁、团购)
+     */
+    @TableField("kit_group_purchase_type_")
+    private String kitGroupPurchaseType;
+    /**
+     * 保证金(只有租赁才有)
+     */
+    @TableField("deposit_fee_")
+    private BigDecimal depositFee;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public MusicGroupSubjectPlan setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public MusicGroupSubjectPlan setMusicGroupId(String musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getSubjectId() {
+        return subjectId;
+    }
+
+    public MusicGroupSubjectPlan setSubjectId(Integer subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    public Integer getExpectedStudentNum() {
+        return expectedStudentNum;
+    }
+
+    public MusicGroupSubjectPlan setExpectedStudentNum(Integer expectedStudentNum) {
+        this.expectedStudentNum = expectedStudentNum;
+        return this;
+    }
+
+    public Integer getApplyStudentNum() {
+        return applyStudentNum;
+    }
+
+    public MusicGroupSubjectPlan setApplyStudentNum(Integer applyStudentNum) {
+        this.applyStudentNum = applyStudentNum;
+        return this;
+    }
+
+    public BigDecimal getFee() {
+        return fee;
+    }
+
+    public MusicGroupSubjectPlan setFee(BigDecimal fee) {
+        this.fee = fee;
+        return this;
+    }
+
+    public String getKitGroupPurchaseType() {
+        return kitGroupPurchaseType;
+    }
+
+    public MusicGroupSubjectPlan setKitGroupPurchaseType(String kitGroupPurchaseType) {
+        this.kitGroupPurchaseType = kitGroupPurchaseType;
+        return this;
+    }
+
+    public BigDecimal getDepositFee() {
+        return depositFee;
+    }
+
+    public MusicGroupSubjectPlan setDepositFee(BigDecimal depositFee) {
+        this.depositFee = depositFee;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public MusicGroupSubjectPlan setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public MusicGroupSubjectPlan setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "MusicGroupSubjectPlan{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", subjectId=" + subjectId +
+        ", expectedStudentNum=" + expectedStudentNum +
+        ", applyStudentNum=" + applyStudentNum +
+        ", fee=" + fee +
+        ", kitGroupPurchaseType=" + kitGroupPurchaseType +
+        ", depositFee=" + depositFee +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 181 - 0
mec-education/src/main/java/com/ym/mec/education/entity/Organization.java

@@ -0,0 +1,181 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 组织机构
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public class Organization extends Model<Organization> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 机构名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 机构编码
+     */
+    @TableField("area_id_")
+    private Integer areaId;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 是否删除  -1:已删除  0:正常
+     */
+    @TableField("del_flag_")
+    private String delFlag;
+    /**
+     * 成立日期
+     */
+    @TableField("register_date_")
+    private Date registerDate;
+    /**
+     * 联系人
+     */
+    @TableField("linkman_")
+    private String linkman;
+    /**
+     * 联系方式
+     */
+    @TableField("mobile_")
+    private String mobile;
+    /**
+     * 地址
+     */
+    @TableField("address_")
+    private String address;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public Organization setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public Organization setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getAreaId() {
+        return areaId;
+    }
+
+    public Organization setAreaId(Integer areaId) {
+        this.areaId = areaId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public Organization setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public Organization setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public Organization setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public Date getRegisterDate() {
+        return registerDate;
+    }
+
+    public Organization setRegisterDate(Date registerDate) {
+        this.registerDate = registerDate;
+        return this;
+    }
+
+    public String getLinkman() {
+        return linkman;
+    }
+
+    public Organization setLinkman(String linkman) {
+        this.linkman = linkman;
+        return this;
+    }
+
+    public String getMobile() {
+        return mobile;
+    }
+
+    public Organization setMobile(String mobile) {
+        this.mobile = mobile;
+        return this;
+    }
+
+    public String getAddress() {
+        return address;
+    }
+
+    public Organization setAddress(String address) {
+        this.address = address;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "Organization{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", areaId=" + areaId +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        ", registerDate=" + registerDate +
+        ", linkman=" + linkman +
+        ", mobile=" + mobile +
+        ", address=" + address +
+        "}";
+    }
+}

+ 119 - 0
mec-education/src/main/java/com/ym/mec/education/entity/RongyunRoom.java

@@ -0,0 +1,119 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("rongyun_room")
+public class RongyunRoom extends Model<RongyunRoom> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+    private String rid;
+    private String name;
+    private String portrait;
+    @TableField("create_dt")
+    private Date createDt;
+    /**
+     * the current display: teacher, assistant, whiteboard, screen
+     */
+    private String display;
+    @TableField("whiteboard_name_index")
+    private Integer whiteboardNameIndex;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public RongyunRoom setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getRid() {
+        return rid;
+    }
+
+    public RongyunRoom setRid(String rid) {
+        this.rid = rid;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public RongyunRoom setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getPortrait() {
+        return portrait;
+    }
+
+    public RongyunRoom setPortrait(String portrait) {
+        this.portrait = portrait;
+        return this;
+    }
+
+    public Date getCreateDt() {
+        return createDt;
+    }
+
+    public RongyunRoom setCreateDt(Date createDt) {
+        this.createDt = createDt;
+        return this;
+    }
+
+    public String getDisplay() {
+        return display;
+    }
+
+    public RongyunRoom setDisplay(String display) {
+        this.display = display;
+        return this;
+    }
+
+    public Integer getWhiteboardNameIndex() {
+        return whiteboardNameIndex;
+    }
+
+    public RongyunRoom setWhiteboardNameIndex(Integer whiteboardNameIndex) {
+        this.whiteboardNameIndex = whiteboardNameIndex;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "RongyunRoom{" +
+        ", id=" + id +
+        ", rid=" + rid +
+        ", name=" + name +
+        ", portrait=" + portrait +
+        ", createDt=" + createDt +
+        ", display=" + display +
+        ", whiteboardNameIndex=" + whiteboardNameIndex +
+        "}";
+    }
+}

+ 132 - 0
mec-education/src/main/java/com/ym/mec/education/entity/RongyunRoomMember.java

@@ -0,0 +1,132 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("rongyun_room_member")
+public class RongyunRoomMember extends Model<RongyunRoomMember> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * room id
+     */
+    private String rid;
+    /**
+     * user id
+     */
+    private String uid;
+    @TableField("join_dt")
+    private Date joinDt;
+    private Integer role;
+    private String name;
+    private Integer camera;
+    private Integer mic;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public RongyunRoomMember setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getRid() {
+        return rid;
+    }
+
+    public RongyunRoomMember setRid(String rid) {
+        this.rid = rid;
+        return this;
+    }
+
+    public String getUid() {
+        return uid;
+    }
+
+    public RongyunRoomMember setUid(String uid) {
+        this.uid = uid;
+        return this;
+    }
+
+    public Date getJoinDt() {
+        return joinDt;
+    }
+
+    public RongyunRoomMember setJoinDt(Date joinDt) {
+        this.joinDt = joinDt;
+        return this;
+    }
+
+    public Integer getRole() {
+        return role;
+    }
+
+    public RongyunRoomMember setRole(Integer role) {
+        this.role = role;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public RongyunRoomMember setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getCamera() {
+        return camera;
+    }
+
+    public RongyunRoomMember setCamera(Integer camera) {
+        this.camera = camera;
+        return this;
+    }
+
+    public Integer getMic() {
+        return mic;
+    }
+
+    public RongyunRoomMember setMic(Integer mic) {
+        this.mic = mic;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "RongyunRoomMember{" +
+        ", id=" + id +
+        ", rid=" + rid +
+        ", uid=" + uid +
+        ", joinDt=" + joinDt +
+        ", role=" + role +
+        ", name=" + name +
+        ", camera=" + camera +
+        ", mic=" + mic +
+        "}";
+    }
+}

+ 105 - 0
mec-education/src/main/java/com/ym/mec/education/entity/RongyunUser.java

@@ -0,0 +1,105 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("rongyun_user")
+public class RongyunUser extends Model<RongyunUser> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+    private String uid;
+    private String name;
+    private String portrait;
+    @TableField("create_dt")
+    private Date createDt;
+    @TableField("update_dt")
+    private Date updateDt;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public RongyunUser setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getUid() {
+        return uid;
+    }
+
+    public RongyunUser setUid(String uid) {
+        this.uid = uid;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public RongyunUser setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getPortrait() {
+        return portrait;
+    }
+
+    public RongyunUser setPortrait(String portrait) {
+        this.portrait = portrait;
+        return this;
+    }
+
+    public Date getCreateDt() {
+        return createDt;
+    }
+
+    public RongyunUser setCreateDt(Date createDt) {
+        this.createDt = createDt;
+        return this;
+    }
+
+    public Date getUpdateDt() {
+        return updateDt;
+    }
+
+    public RongyunUser setUpdateDt(Date updateDt) {
+        this.updateDt = updateDt;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "RongyunUser{" +
+        ", id=" + id +
+        ", uid=" + uid +
+        ", name=" + name +
+        ", portrait=" + portrait +
+        ", createDt=" + createDt +
+        ", updateDt=" + updateDt +
+        "}";
+    }
+}

+ 155 - 0
mec-education/src/main/java/com/ym/mec/education/entity/RongyunWhiteboard.java

@@ -0,0 +1,155 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("rongyun_whiteboard")
+public class RongyunWhiteboard extends Model<RongyunWhiteboard> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * room id
+     */
+    private String rid;
+    /**
+     * whiteboard room
+     */
+    @TableField("wb_room")
+    private String wbRoom;
+    /**
+     * displayer uri
+     */
+    private String wbid;
+    private String name;
+    private String creator;
+    /**
+     * 总页数
+     */
+    @TableField("pg_count")
+    private Integer pgCount;
+    /**
+     * 当前页
+     */
+    @TableField("cur_pg")
+    private Integer curPg;
+    @TableField("create_dt")
+    private Date createDt;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public RongyunWhiteboard setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getRid() {
+        return rid;
+    }
+
+    public RongyunWhiteboard setRid(String rid) {
+        this.rid = rid;
+        return this;
+    }
+
+    public String getWbRoom() {
+        return wbRoom;
+    }
+
+    public RongyunWhiteboard setWbRoom(String wbRoom) {
+        this.wbRoom = wbRoom;
+        return this;
+    }
+
+    public String getWbid() {
+        return wbid;
+    }
+
+    public RongyunWhiteboard setWbid(String wbid) {
+        this.wbid = wbid;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public RongyunWhiteboard setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public RongyunWhiteboard setCreator(String creator) {
+        this.creator = creator;
+        return this;
+    }
+
+    public Integer getPgCount() {
+        return pgCount;
+    }
+
+    public RongyunWhiteboard setPgCount(Integer pgCount) {
+        this.pgCount = pgCount;
+        return this;
+    }
+
+    public Integer getCurPg() {
+        return curPg;
+    }
+
+    public RongyunWhiteboard setCurPg(Integer curPg) {
+        this.curPg = curPg;
+        return this;
+    }
+
+    public Date getCreateDt() {
+        return createDt;
+    }
+
+    public RongyunWhiteboard setCreateDt(Date createDt) {
+        this.createDt = createDt;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "RongyunWhiteboard{" +
+        ", id=" + id +
+        ", rid=" + rid +
+        ", wbRoom=" + wbRoom +
+        ", wbid=" + wbid +
+        ", name=" + name +
+        ", creator=" + creator +
+        ", pgCount=" + pgCount +
+        ", curPg=" + curPg +
+        ", createDt=" + createDt +
+        "}";
+    }
+}

+ 203 - 0
mec-education/src/main/java/com/ym/mec/education/entity/School.java

@@ -0,0 +1,203 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 教学点
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public class School extends Model<School> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    @TableField("name_")
+    private String name;
+    @TableField("organ_id_")
+    private Integer organId;
+    @TableField("address_")
+    private String address;
+    @TableField("contact_phone_")
+    private String contactPhone;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("del_flag_")
+    private Integer delFlag;
+    /**
+     * 联系人
+     */
+    @TableField("contact_name_")
+    private String contactName;
+    /**
+     * 经纬度
+     */
+    @TableField("longitude_latitude_")
+    private String longitudeLatitude;
+    /**
+     * 补贴
+     */
+    @TableField("subsidy_")
+    private BigDecimal subsidy;
+    /**
+     * 合作机构编号
+     */
+    @TableField("cooperation_organ_id_")
+    private Integer cooperationOrganId;
+    @TableField("remark_")
+    private String remark;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public School setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public School setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public School setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public String getAddress() {
+        return address;
+    }
+
+    public School setAddress(String address) {
+        this.address = address;
+        return this;
+    }
+
+    public String getContactPhone() {
+        return contactPhone;
+    }
+
+    public School setContactPhone(String contactPhone) {
+        this.contactPhone = contactPhone;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public School setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public School setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Integer getDelFlag() {
+        return delFlag;
+    }
+
+    public School setDelFlag(Integer delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public String getContactName() {
+        return contactName;
+    }
+
+    public School setContactName(String contactName) {
+        this.contactName = contactName;
+        return this;
+    }
+
+    public String getLongitudeLatitude() {
+        return longitudeLatitude;
+    }
+
+    public School setLongitudeLatitude(String longitudeLatitude) {
+        this.longitudeLatitude = longitudeLatitude;
+        return this;
+    }
+
+    public BigDecimal getSubsidy() {
+        return subsidy;
+    }
+
+    public School setSubsidy(BigDecimal subsidy) {
+        this.subsidy = subsidy;
+        return this;
+    }
+
+    public Integer getCooperationOrganId() {
+        return cooperationOrganId;
+    }
+
+    public School setCooperationOrganId(Integer cooperationOrganId) {
+        this.cooperationOrganId = cooperationOrganId;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public School setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "School{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", organId=" + organId +
+        ", address=" + address +
+        ", contactPhone=" + contactPhone +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        ", contactName=" + contactName +
+        ", longitudeLatitude=" + longitudeLatitude +
+        ", subsidy=" + subsidy +
+        ", cooperationOrganId=" + cooperationOrganId +
+        ", remark=" + remark +
+        "}";
+    }
+}

+ 160 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentApplyRefunds.java

@@ -0,0 +1,160 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生申请退费表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_apply_refunds")
+public class StudentApplyRefunds extends Model<StudentApplyRefunds> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 订单号
+     */
+    @TableField("order_no_")
+    private String orderNo;
+    /**
+     * 状态(1,交易中;2,成功交易;-1,交易失败;)
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 预计退费金额
+     */
+    @TableField("expect_amount_")
+    private BigDecimal expectAmount;
+    /**
+     * 实际退费金额
+     */
+    @TableField("actual_amount_")
+    private BigDecimal actualAmount;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 原订单编号
+     */
+    @TableField("orig_payment_order_id_")
+    private Long origPaymentOrderId;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentApplyRefunds setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public StudentApplyRefunds setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public StudentApplyRefunds setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public StudentApplyRefunds setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public BigDecimal getExpectAmount() {
+        return expectAmount;
+    }
+
+    public StudentApplyRefunds setExpectAmount(BigDecimal expectAmount) {
+        this.expectAmount = expectAmount;
+        return this;
+    }
+
+    public BigDecimal getActualAmount() {
+        return actualAmount;
+    }
+
+    public StudentApplyRefunds setActualAmount(BigDecimal actualAmount) {
+        this.actualAmount = actualAmount;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentApplyRefunds setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public StudentApplyRefunds setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Long getOrigPaymentOrderId() {
+        return origPaymentOrderId;
+    }
+
+    public StudentApplyRefunds setOrigPaymentOrderId(Long origPaymentOrderId) {
+        this.origPaymentOrderId = origPaymentOrderId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentApplyRefunds{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", orderNo=" + orderNo +
+        ", status=" + status +
+        ", expectAmount=" + expectAmount +
+        ", actualAmount=" + actualAmount +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", origPaymentOrderId=" + origPaymentOrderId +
+        "}";
+    }
+}

+ 162 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentAttendance.java

@@ -0,0 +1,162 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生考勤表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_attendance")
+public class StudentAttendance extends Model<StudentAttendance> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 乐团
+     */
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    /**
+     * 班级
+     */
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    /**
+     * 课程计划
+     */
+    @TableField("course_schedule_id_")
+    private Long courseScheduleId;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 点名的教师
+     */
+    @TableField("teacher_id_")
+    private Integer teacherId;
+    /**
+     * 状态(正常、旷课、请假、休学)
+     */
+    @TableField("status_")
+    private String status;
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 如果是请假状态,此字段就指请假原因
+     */
+    @TableField("remark_")
+    private String remark;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentAttendance setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public StudentAttendance setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public StudentAttendance setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Long getCourseScheduleId() {
+        return courseScheduleId;
+    }
+
+    public StudentAttendance setCourseScheduleId(Long courseScheduleId) {
+        this.courseScheduleId = courseScheduleId;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public StudentAttendance setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getTeacherId() {
+        return teacherId;
+    }
+
+    public StudentAttendance setTeacherId(Integer teacherId) {
+        this.teacherId = teacherId;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public StudentAttendance setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentAttendance setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public StudentAttendance setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentAttendance{" +
+        ", id=" + id +
+        ", musicGroupId=" + musicGroupId +
+        ", classGroupId=" + classGroupId +
+        ", courseScheduleId=" + courseScheduleId +
+        ", userId=" + userId +
+        ", teacherId=" + teacherId +
+        ", status=" + status +
+        ", createTime=" + createTime +
+        ", remark=" + remark +
+        "}";
+    }
+}

+ 171 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentCourseHomework.java

@@ -0,0 +1,171 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生课程作业
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_course_homework")
+public class StudentCourseHomework extends Model<StudentCourseHomework> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("course_homework_id_")
+    private Long courseHomeworkId;
+    /**
+     * 作品附件
+     */
+    @TableField("attachments_")
+    private String attachments;
+    /**
+     * 评分
+     */
+    @TableField("score_")
+    private Integer score;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 备注
+     */
+    @TableField("remark_")
+    private String remark;
+    /**
+     * 提交状态
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 是否回复
+     */
+    @TableField("is_replied_")
+    private String isReplied;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentCourseHomework setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getCourseHomeworkId() {
+        return courseHomeworkId;
+    }
+
+    public StudentCourseHomework setCourseHomeworkId(Long courseHomeworkId) {
+        this.courseHomeworkId = courseHomeworkId;
+        return this;
+    }
+
+    public String getAttachments() {
+        return attachments;
+    }
+
+    public StudentCourseHomework setAttachments(String attachments) {
+        this.attachments = attachments;
+        return this;
+    }
+
+    public Integer getScore() {
+        return score;
+    }
+
+    public StudentCourseHomework setScore(Integer score) {
+        this.score = score;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentCourseHomework setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public StudentCourseHomework setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public StudentCourseHomework setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public StudentCourseHomework setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public StudentCourseHomework setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getIsReplied() {
+        return isReplied;
+    }
+
+    public StudentCourseHomework setIsReplied(String isReplied) {
+        this.isReplied = isReplied;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentCourseHomework{" +
+        ", id=" + id +
+        ", courseHomeworkId=" + courseHomeworkId +
+        ", attachments=" + attachments +
+        ", score=" + score +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", userId=" + userId +
+        ", remark=" + remark +
+        ", status=" + status +
+        ", isReplied=" + isReplied +
+        "}";
+    }
+}

+ 120 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentCourseHomeworkReply.java

@@ -0,0 +1,120 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生课程作业留言表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_course_homework_reply")
+public class StudentCourseHomeworkReply extends Model<StudentCourseHomeworkReply> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 作业编号
+     */
+    @TableField("student_course_homework_id_")
+    private Long studentCourseHomeworkId;
+    /**
+     * 留言人编号
+     */
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 留言内容
+     */
+    @TableField("content_")
+    private String content;
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 父级编号
+     */
+    @TableField("parent_id_")
+    private Long parentId;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentCourseHomeworkReply setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getStudentCourseHomeworkId() {
+        return studentCourseHomeworkId;
+    }
+
+    public StudentCourseHomeworkReply setStudentCourseHomeworkId(Long studentCourseHomeworkId) {
+        this.studentCourseHomeworkId = studentCourseHomeworkId;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public StudentCourseHomeworkReply setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public StudentCourseHomeworkReply setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentCourseHomeworkReply setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Long getParentId() {
+        return parentId;
+    }
+
+    public StudentCourseHomeworkReply setParentId(Long parentId) {
+        this.parentId = parentId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentCourseHomeworkReply{" +
+        ", id=" + id +
+        ", studentCourseHomeworkId=" + studentCourseHomeworkId +
+        ", userId=" + userId +
+        ", content=" + content +
+        ", createTime=" + createTime +
+        ", parentId=" + parentId +
+        "}";
+    }
+}

+ 258 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentPaymentOrder.java

@@ -0,0 +1,258 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生缴费订单表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_payment_order")
+public class StudentPaymentOrder extends Model<StudentPaymentOrder> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 订单类型(报名、续费、小课购买、其他)
+     */
+    @TableField("type_")
+    private String type;
+    /**
+     * 预计金额
+     */
+    @TableField("expect_amount_")
+    private BigDecimal expectAmount;
+    /**
+     * 实际金额
+     */
+    @TableField("actual_amount_")
+    private BigDecimal actualAmount;
+    /**
+     * 交易流水号
+     */
+    @TableField("trans_no_")
+    private String transNo;
+    /**
+     * 交易状态
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 备注
+     */
+    @TableField("memo_")
+    private String memo;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 付款渠道
+     */
+    @TableField("payment_channel_")
+    private String paymentChannel;
+    /**
+     * 业务渠道
+     */
+    @TableField("payment_business_channel_")
+    private String paymentBusinessChannel;
+    /**
+     * 付款账户
+     */
+    @TableField("payment_account_no_")
+    private String paymentAccountNo;
+    /**
+     * 订单号
+     */
+    @TableField("order_no_")
+    private String orderNo;
+    @TableField("music_group_id_")
+    private String musicGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentPaymentOrder setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public StudentPaymentOrder setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public StudentPaymentOrder setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public BigDecimal getExpectAmount() {
+        return expectAmount;
+    }
+
+    public StudentPaymentOrder setExpectAmount(BigDecimal expectAmount) {
+        this.expectAmount = expectAmount;
+        return this;
+    }
+
+    public BigDecimal getActualAmount() {
+        return actualAmount;
+    }
+
+    public StudentPaymentOrder setActualAmount(BigDecimal actualAmount) {
+        this.actualAmount = actualAmount;
+        return this;
+    }
+
+    public String getTransNo() {
+        return transNo;
+    }
+
+    public StudentPaymentOrder setTransNo(String transNo) {
+        this.transNo = transNo;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public StudentPaymentOrder setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public StudentPaymentOrder setMemo(String memo) {
+        this.memo = memo;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentPaymentOrder setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public StudentPaymentOrder setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getPaymentChannel() {
+        return paymentChannel;
+    }
+
+    public StudentPaymentOrder setPaymentChannel(String paymentChannel) {
+        this.paymentChannel = paymentChannel;
+        return this;
+    }
+
+    public String getPaymentBusinessChannel() {
+        return paymentBusinessChannel;
+    }
+
+    public StudentPaymentOrder setPaymentBusinessChannel(String paymentBusinessChannel) {
+        this.paymentBusinessChannel = paymentBusinessChannel;
+        return this;
+    }
+
+    public String getPaymentAccountNo() {
+        return paymentAccountNo;
+    }
+
+    public StudentPaymentOrder setPaymentAccountNo(String paymentAccountNo) {
+        this.paymentAccountNo = paymentAccountNo;
+        return this;
+    }
+
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public StudentPaymentOrder setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public String getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public StudentPaymentOrder setMusicGroupId(String musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public StudentPaymentOrder setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentPaymentOrder{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", type=" + type +
+        ", expectAmount=" + expectAmount +
+        ", actualAmount=" + actualAmount +
+        ", transNo=" + transNo +
+        ", status=" + status +
+        ", memo=" + memo +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", paymentChannel=" + paymentChannel +
+        ", paymentBusinessChannel=" + paymentBusinessChannel +
+        ", paymentAccountNo=" + paymentAccountNo +
+        ", orderNo=" + orderNo +
+        ", musicGroupId=" + musicGroupId +
+        ", classGroupId=" + classGroupId +
+        "}";
+    }
+}

+ 133 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentPaymentOrderDetail.java

@@ -0,0 +1,133 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生缴费订单明细
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_payment_order_detail")
+public class StudentPaymentOrderDetail extends Model<StudentPaymentOrderDetail> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 类型(乐器、辅件、教材、课程)
+     */
+    @TableField("type_")
+    private String type;
+    /**
+     * 商品列表(用户|分开)
+     */
+    @TableField("goods_id_list_")
+    private String goodsIdList;
+    /**
+     * 打包价格
+     */
+    @TableField("price_")
+    private BigDecimal price;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 订单编号(对应student_payment_order)
+     */
+    @TableField("payment_order_id_")
+    private Long paymentOrderId;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentPaymentOrderDetail setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public StudentPaymentOrderDetail setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public String getGoodsIdList() {
+        return goodsIdList;
+    }
+
+    public StudentPaymentOrderDetail setGoodsIdList(String goodsIdList) {
+        this.goodsIdList = goodsIdList;
+        return this;
+    }
+
+    public BigDecimal getPrice() {
+        return price;
+    }
+
+    public StudentPaymentOrderDetail setPrice(BigDecimal price) {
+        this.price = price;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentPaymentOrderDetail setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public StudentPaymentOrderDetail setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Long getPaymentOrderId() {
+        return paymentOrderId;
+    }
+
+    public StudentPaymentOrderDetail setPaymentOrderId(Long paymentOrderId) {
+        this.paymentOrderId = paymentOrderId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentPaymentOrderDetail{" +
+        ", id=" + id +
+        ", type=" + type +
+        ", goodsIdList=" + goodsIdList +
+        ", price=" + price +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", paymentOrderId=" + paymentOrderId +
+        "}";
+    }
+}

+ 216 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentRecharge.java

@@ -0,0 +1,216 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 充值记录表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_recharge")
+public class StudentRecharge extends Model<StudentRecharge> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 充值流水号
+     */
+    @TableId("id_")
+    private String id;
+    /**
+     * 用户编号
+     */
+    @TableField("user_id_")
+    private Long userId;
+    /**
+     * 交易流水号,第三方支付机构返回的
+     */
+    @TableField("trans_no_")
+    private String transNo;
+    /**
+     * 1,交易中;2,成功交易;3,交易失败;4,交易关闭
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 充值金额
+     */
+    @TableField("amount_")
+    private BigDecimal amount;
+    /**
+     * 用户承担的充值费用(单位:元)
+     */
+    @TableField("fee_user_")
+    private BigDecimal feeUser;
+    /**
+     * 平台承担的费用(单位:元)
+     */
+    @TableField("fee_platform_")
+    private BigDecimal feePlatform;
+    /**
+     * 第三方支付平台名称(用拼音简称代替)
+     */
+    @TableField("pay_platform_")
+    private String payPlatform;
+    /**
+     * 描述
+     */
+    @TableField("description_")
+    private String description;
+    /**
+     * 后台备注
+     */
+    @TableField("comment_")
+    private String comment;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 最后修改时间
+     */
+    @TableField("modify_time_")
+    private Date modifyTime;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public StudentRecharge setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getUserId() {
+        return userId;
+    }
+
+    public StudentRecharge setUserId(Long userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getTransNo() {
+        return transNo;
+    }
+
+    public StudentRecharge setTransNo(String transNo) {
+        this.transNo = transNo;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public StudentRecharge setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public BigDecimal getAmount() {
+        return amount;
+    }
+
+    public StudentRecharge setAmount(BigDecimal amount) {
+        this.amount = amount;
+        return this;
+    }
+
+    public BigDecimal getFeeUser() {
+        return feeUser;
+    }
+
+    public StudentRecharge setFeeUser(BigDecimal feeUser) {
+        this.feeUser = feeUser;
+        return this;
+    }
+
+    public BigDecimal getFeePlatform() {
+        return feePlatform;
+    }
+
+    public StudentRecharge setFeePlatform(BigDecimal feePlatform) {
+        this.feePlatform = feePlatform;
+        return this;
+    }
+
+    public String getPayPlatform() {
+        return payPlatform;
+    }
+
+    public StudentRecharge setPayPlatform(String payPlatform) {
+        this.payPlatform = payPlatform;
+        return this;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public StudentRecharge setDescription(String description) {
+        this.description = description;
+        return this;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public StudentRecharge setComment(String comment) {
+        this.comment = comment;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentRecharge setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getModifyTime() {
+        return modifyTime;
+    }
+
+    public StudentRecharge setModifyTime(Date modifyTime) {
+        this.modifyTime = modifyTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentRecharge{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", transNo=" + transNo +
+        ", status=" + status +
+        ", amount=" + amount +
+        ", feeUser=" + feeUser +
+        ", feePlatform=" + feePlatform +
+        ", payPlatform=" + payPlatform +
+        ", description=" + description +
+        ", comment=" + comment +
+        ", createTime=" + createTime +
+        ", modifyTime=" + modifyTime +
+        "}";
+    }
+}

+ 291 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentRegistration.java

@@ -0,0 +1,291 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 学生报名表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_registration")
+public class StudentRegistration extends Model<StudentRegistration> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 学生姓名
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 所属乐团(对应 music_group 表id)
+     */
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    /**
+     * 当前所在年级
+     */
+    @TableField("current_grade_")
+    private String currentGrade;
+    /**
+     * 当前所在班级
+     */
+    @TableField("current_class_")
+    private String currentClass;
+    /**
+     * 报名科目
+     */
+    @TableField("subject_id_")
+    private Integer subjectId;
+    /**
+     * 是否允许调剂
+     */
+    @TableField("is_allow_adjust_")
+    private String isAllowAdjust;
+    /**
+     * 器材购买方式(团购、自备)
+     */
+    @TableField("kit_purchase_method_")
+    private String kitPurchaseMethod;
+    @TableField("remark_")
+    private String remark;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 家长姓名
+     */
+    @TableField("parents_name_")
+    private String parentsName;
+    /**
+     * 家长电话
+     */
+    @TableField("parents_phone_")
+    private String parentsPhone;
+    /**
+     * 家长单位
+     */
+    @TableField("parents_company_")
+    private String parentsCompany;
+    /**
+     * 缴费状态(1-已缴费 0-未交费)
+     */
+    @TableField("payment_status_")
+    private String paymentStatus;
+    /**
+     * 实际科目编号
+     */
+    @TableField("actual_subject_id_")
+    private Integer actualSubjectId;
+    /**
+     * 班级id
+     */
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public StudentRegistration setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public StudentRegistration setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public StudentRegistration setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public StudentRegistration setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public String getCurrentGrade() {
+        return currentGrade;
+    }
+
+    public StudentRegistration setCurrentGrade(String currentGrade) {
+        this.currentGrade = currentGrade;
+        return this;
+    }
+
+    public String getCurrentClass() {
+        return currentClass;
+    }
+
+    public StudentRegistration setCurrentClass(String currentClass) {
+        this.currentClass = currentClass;
+        return this;
+    }
+
+    public Integer getSubjectId() {
+        return subjectId;
+    }
+
+    public StudentRegistration setSubjectId(Integer subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    public String getIsAllowAdjust() {
+        return isAllowAdjust;
+    }
+
+    public StudentRegistration setIsAllowAdjust(String isAllowAdjust) {
+        this.isAllowAdjust = isAllowAdjust;
+        return this;
+    }
+
+    public String getKitPurchaseMethod() {
+        return kitPurchaseMethod;
+    }
+
+    public StudentRegistration setKitPurchaseMethod(String kitPurchaseMethod) {
+        this.kitPurchaseMethod = kitPurchaseMethod;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public StudentRegistration setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentRegistration setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public StudentRegistration setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getParentsName() {
+        return parentsName;
+    }
+
+    public StudentRegistration setParentsName(String parentsName) {
+        this.parentsName = parentsName;
+        return this;
+    }
+
+    public String getParentsPhone() {
+        return parentsPhone;
+    }
+
+    public StudentRegistration setParentsPhone(String parentsPhone) {
+        this.parentsPhone = parentsPhone;
+        return this;
+    }
+
+    public String getParentsCompany() {
+        return parentsCompany;
+    }
+
+    public StudentRegistration setParentsCompany(String parentsCompany) {
+        this.parentsCompany = parentsCompany;
+        return this;
+    }
+
+    public String getPaymentStatus() {
+        return paymentStatus;
+    }
+
+    public StudentRegistration setPaymentStatus(String paymentStatus) {
+        this.paymentStatus = paymentStatus;
+        return this;
+    }
+
+    public Integer getActualSubjectId() {
+        return actualSubjectId;
+    }
+
+    public StudentRegistration setActualSubjectId(Integer actualSubjectId) {
+        this.actualSubjectId = actualSubjectId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public StudentRegistration setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentRegistration{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", name=" + name +
+        ", musicGroupId=" + musicGroupId +
+        ", currentGrade=" + currentGrade +
+        ", currentClass=" + currentClass +
+        ", subjectId=" + subjectId +
+        ", isAllowAdjust=" + isAllowAdjust +
+        ", kitPurchaseMethod=" + kitPurchaseMethod +
+        ", remark=" + remark +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", parentsName=" + parentsName +
+        ", parentsPhone=" + parentsPhone +
+        ", parentsCompany=" + parentsCompany +
+        ", paymentStatus=" + paymentStatus +
+        ", actualSubjectId=" + actualSubjectId +
+        ", classGroupId=" + classGroupId +
+        "}";
+    }
+}

+ 216 - 0
mec-education/src/main/java/com/ym/mec/education/entity/StudentWithdraw.java

@@ -0,0 +1,216 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 提现记录表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("student_withdraw")
+public class StudentWithdraw extends Model<StudentWithdraw> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 提现流水号
+     */
+    @TableId("id_")
+    private String id;
+    /**
+     * 用户编号
+     */
+    @TableField("user_id_")
+    private Long userId;
+    /**
+     * 银行卡号
+     */
+    @TableField("bank_card_no_")
+    private String bankCardNo;
+    /**
+     * 银行流水号
+     */
+    @TableField("trans_no_")
+    private String transNo;
+    /**
+     * 交易状态(1,交易中;2,成功交易;3,交易失败;4,交易关闭)
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 提现金额
+     */
+    @TableField("amount_")
+    private BigDecimal amount;
+    /**
+     * 用户承担的费用(单位:分)
+     */
+    @TableField("fee_user_")
+    private BigDecimal feeUser;
+    /**
+     * 平台承担的费用(单位:分)
+     */
+    @TableField("fee_platform_")
+    private BigDecimal feePlatform;
+    /**
+     * 描述
+     */
+    @TableField("description_")
+    private String description;
+    /**
+     * 备注
+     */
+    @TableField("comment_")
+    private String comment;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @TableField("modify_time_")
+    private Date modifyTime;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public StudentWithdraw setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getUserId() {
+        return userId;
+    }
+
+    public StudentWithdraw setUserId(Long userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getBankCardNo() {
+        return bankCardNo;
+    }
+
+    public StudentWithdraw setBankCardNo(String bankCardNo) {
+        this.bankCardNo = bankCardNo;
+        return this;
+    }
+
+    public String getTransNo() {
+        return transNo;
+    }
+
+    public StudentWithdraw setTransNo(String transNo) {
+        this.transNo = transNo;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public StudentWithdraw setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public BigDecimal getAmount() {
+        return amount;
+    }
+
+    public StudentWithdraw setAmount(BigDecimal amount) {
+        this.amount = amount;
+        return this;
+    }
+
+    public BigDecimal getFeeUser() {
+        return feeUser;
+    }
+
+    public StudentWithdraw setFeeUser(BigDecimal feeUser) {
+        this.feeUser = feeUser;
+        return this;
+    }
+
+    public BigDecimal getFeePlatform() {
+        return feePlatform;
+    }
+
+    public StudentWithdraw setFeePlatform(BigDecimal feePlatform) {
+        this.feePlatform = feePlatform;
+        return this;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public StudentWithdraw setDescription(String description) {
+        this.description = description;
+        return this;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public StudentWithdraw setComment(String comment) {
+        this.comment = comment;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public StudentWithdraw setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getModifyTime() {
+        return modifyTime;
+    }
+
+    public StudentWithdraw setModifyTime(Date modifyTime) {
+        this.modifyTime = modifyTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "StudentWithdraw{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", bankCardNo=" + bankCardNo +
+        ", transNo=" + transNo +
+        ", status=" + status +
+        ", amount=" + amount +
+        ", feeUser=" + feeUser +
+        ", feePlatform=" + feePlatform +
+        ", description=" + description +
+        ", comment=" + comment +
+        ", createTime=" + createTime +
+        ", modifyTime=" + modifyTime +
+        "}";
+    }
+}

+ 118 - 0
mec-education/src/main/java/com/ym/mec/education/entity/Subject.java

@@ -0,0 +1,118 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 科目(声部)
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public class Subject extends Model<Subject> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    @TableField("name_")
+    private String name;
+    @TableField("code_")
+    private String code;
+    @TableField("parent_subject_id_")
+    private Integer parentSubjectId;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("del_flag_")
+    private Integer delFlag;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public Subject setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public Subject setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getCode() {
+        return code;
+    }
+
+    public Subject setCode(String code) {
+        this.code = code;
+        return this;
+    }
+
+    public Integer getParentSubjectId() {
+        return parentSubjectId;
+    }
+
+    public Subject setParentSubjectId(Integer parentSubjectId) {
+        this.parentSubjectId = parentSubjectId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public Subject setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public Subject setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Integer getDelFlag() {
+        return delFlag;
+    }
+
+    public Subject setDelFlag(Integer delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "Subject{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", code=" + code +
+        ", parentSubjectId=" + parentSubjectId +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        "}";
+    }
+}

+ 123 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SubjectGoodsMapper.java

@@ -0,0 +1,123 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 科目与商品默认关联表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("subject_goods_mapper")
+public class SubjectGoodsMapper extends Model<SubjectGoodsMapper> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("organ_id_")
+    private Integer organId;
+    @TableField("subject_id_")
+    private String subjectId;
+    @TableField("goods_category_id_")
+    private Integer goodsCategoryId;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 类型(乐器、教辅)
+     */
+    @TableField("type_")
+    private String type;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SubjectGoodsMapper setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public SubjectGoodsMapper setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public String getSubjectId() {
+        return subjectId;
+    }
+
+    public SubjectGoodsMapper setSubjectId(String subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    public Integer getGoodsCategoryId() {
+        return goodsCategoryId;
+    }
+
+    public SubjectGoodsMapper setGoodsCategoryId(Integer goodsCategoryId) {
+        this.goodsCategoryId = goodsCategoryId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SubjectGoodsMapper setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SubjectGoodsMapper setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public SubjectGoodsMapper setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SubjectGoodsMapper{" +
+        ", id=" + id +
+        ", organId=" + organId +
+        ", subjectId=" + subjectId +
+        ", goodsCategoryId=" + goodsCategoryId +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", type=" + type +
+        "}";
+    }
+}

+ 137 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysArea.java

@@ -0,0 +1,137 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 区域表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_area")
+public class SysArea extends Model<SysArea> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Integer id;
+    /**
+     * 名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 编码
+     */
+    @TableField("code_")
+    private Integer code;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 是否删除  -1:已删除  0:正常
+     */
+    @TableField("del_flag_")
+    private String delFlag;
+    /**
+     * 父节点编号
+     */
+    @TableField("parent_organ_id_")
+    private Integer parentOrganId;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public SysArea setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public SysArea setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getCode() {
+        return code;
+    }
+
+    public SysArea setCode(Integer code) {
+        this.code = code;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysArea setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysArea setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public SysArea setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public Integer getParentOrganId() {
+        return parentOrganId;
+    }
+
+    public SysArea setParentOrganId(Integer parentOrganId) {
+        this.parentOrganId = parentOrganId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysArea{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", code=" + code +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        ", parentOrganId=" + parentOrganId +
+        "}";
+    }
+}

+ 138 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysAuditLog.java

@@ -0,0 +1,138 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 日志审计表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_audit_log")
+public class SysAuditLog extends Model<SysAuditLog> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 用户名称
+     */
+    @TableField("username_")
+    private String username;
+    /**
+     * 操作名称
+     */
+    @TableField("operate_name_")
+    private String operateName;
+    /**
+     * 接口地址
+     */
+    @TableField("interface_url_")
+    private String interfaceUrl;
+    /**
+     * 输入参数
+     */
+    @TableField("input_params_")
+    private String inputParams;
+    /**
+     * 操作时间
+     */
+    @TableField("operate_time_")
+    private Date operateTime;
+    /**
+     * 用户IP
+     */
+    @TableField("user_ip_")
+    private String userIp;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysAuditLog setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getUsername() {
+        return username;
+    }
+
+    public SysAuditLog setUsername(String username) {
+        this.username = username;
+        return this;
+    }
+
+    public String getOperateName() {
+        return operateName;
+    }
+
+    public SysAuditLog setOperateName(String operateName) {
+        this.operateName = operateName;
+        return this;
+    }
+
+    public String getInterfaceUrl() {
+        return interfaceUrl;
+    }
+
+    public SysAuditLog setInterfaceUrl(String interfaceUrl) {
+        this.interfaceUrl = interfaceUrl;
+        return this;
+    }
+
+    public String getInputParams() {
+        return inputParams;
+    }
+
+    public SysAuditLog setInputParams(String inputParams) {
+        this.inputParams = inputParams;
+        return this;
+    }
+
+    public Date getOperateTime() {
+        return operateTime;
+    }
+
+    public SysAuditLog setOperateTime(Date operateTime) {
+        this.operateTime = operateTime;
+        return this;
+    }
+
+    public String getUserIp() {
+        return userIp;
+    }
+
+    public SysAuditLog setUserIp(String userIp) {
+        this.userIp = userIp;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysAuditLog{" +
+        ", id=" + id +
+        ", username=" + username +
+        ", operateName=" + operateName +
+        ", interfaceUrl=" + interfaceUrl +
+        ", inputParams=" + inputParams +
+        ", operateTime=" + operateTime +
+        ", userIp=" + userIp +
+        "}";
+    }
+}

+ 231 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysMenu.java

@@ -0,0 +1,231 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 菜单权限表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_menu")
+public class SysMenu extends Model<SysMenu> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 菜单ID
+     */
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 菜单名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 菜单权限标识
+     */
+    @TableField("permission_")
+    private String permission;
+    /**
+     * 接口地址
+     */
+    @TableField("path_")
+    private String path;
+    /**
+     * 父菜单ID
+     */
+    @TableField("parent_id_")
+    private Integer parentId;
+    /**
+     * 图标
+     */
+    @TableField("icon_")
+    private String icon;
+    /**
+     * 前端页面地址
+     */
+    @TableField("component_")
+    private String component;
+    /**
+     * 排序值
+     */
+    @TableField("sort_")
+    private Integer sort;
+    /**
+     * 0-开启,1- 关闭
+     */
+    @TableField("keep_alive_")
+    private String keepAlive;
+    /**
+     * 菜单类型 (0菜单 1按钮)
+     */
+    @TableField("type_")
+    private String type;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 更新时间
+     */
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 逻辑删除标记(0--正常 1--删除)
+     */
+    @TableField("del_flag_")
+    private String delFlag;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public SysMenu setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public SysMenu setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getPermission() {
+        return permission;
+    }
+
+    public SysMenu setPermission(String permission) {
+        this.permission = permission;
+        return this;
+    }
+
+    public String getPath() {
+        return path;
+    }
+
+    public SysMenu setPath(String path) {
+        this.path = path;
+        return this;
+    }
+
+    public Integer getParentId() {
+        return parentId;
+    }
+
+    public SysMenu setParentId(Integer parentId) {
+        this.parentId = parentId;
+        return this;
+    }
+
+    public String getIcon() {
+        return icon;
+    }
+
+    public SysMenu setIcon(String icon) {
+        this.icon = icon;
+        return this;
+    }
+
+    public String getComponent() {
+        return component;
+    }
+
+    public SysMenu setComponent(String component) {
+        this.component = component;
+        return this;
+    }
+
+    public Integer getSort() {
+        return sort;
+    }
+
+    public SysMenu setSort(Integer sort) {
+        this.sort = sort;
+        return this;
+    }
+
+    public String getKeepAlive() {
+        return keepAlive;
+    }
+
+    public SysMenu setKeepAlive(String keepAlive) {
+        this.keepAlive = keepAlive;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public SysMenu setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysMenu setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysMenu setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public SysMenu setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysMenu{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", permission=" + permission +
+        ", path=" + path +
+        ", parentId=" + parentId +
+        ", icon=" + icon +
+        ", component=" + component +
+        ", sort=" + sort +
+        ", keepAlive=" + keepAlive +
+        ", type=" + type +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        "}";
+    }
+}

+ 231 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysMessage.java

@@ -0,0 +1,231 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 消息表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_message")
+public class SysMessage extends Model<SysMessage> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键
+     */
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 标题
+     */
+    @TableField("title_")
+    private String title;
+    /**
+     * 消息内容
+     */
+    @TableField("content_")
+    private String content;
+    /**
+     * 消息类型;1,表示短信;2,表示邮件; 3,app推送消息
+     */
+    @TableField("type_")
+    private Integer type;
+    /**
+     * 状态,1,发送失败;2,待发送;3,发送中;4,发送完成
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 接收人(多个人用逗号分隔)
+     */
+    @TableField("receiver_")
+    private String receiver;
+    /**
+     * 发送时间
+     */
+    @TableField("send_time_")
+    private Date sendTime;
+    /**
+     * 错误信息
+     */
+    @TableField("error_msg_")
+    private String errorMsg;
+    /**
+     * 创建时间
+     */
+    @TableField("create_on_")
+    private Date createOn;
+    /**
+     * 修改时间
+     */
+    @TableField("modify_on_")
+    private Date modifyOn;
+    /**
+     * 用户编号
+     */
+    @TableField("user_id_")
+    private Long userId;
+    /**
+     * 备注
+     */
+    @TableField("memo_")
+    private String memo;
+    /**
+     * 是否已读
+     */
+    @TableField("read_status_")
+    private Integer readStatus;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysMessage setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public SysMessage setTitle(String title) {
+        this.title = title;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public SysMessage setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public Integer getType() {
+        return type;
+    }
+
+    public SysMessage setType(Integer type) {
+        this.type = type;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public SysMessage setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getReceiver() {
+        return receiver;
+    }
+
+    public SysMessage setReceiver(String receiver) {
+        this.receiver = receiver;
+        return this;
+    }
+
+    public Date getSendTime() {
+        return sendTime;
+    }
+
+    public SysMessage setSendTime(Date sendTime) {
+        this.sendTime = sendTime;
+        return this;
+    }
+
+    public String getErrorMsg() {
+        return errorMsg;
+    }
+
+    public SysMessage setErrorMsg(String errorMsg) {
+        this.errorMsg = errorMsg;
+        return this;
+    }
+
+    public Date getCreateOn() {
+        return createOn;
+    }
+
+    public SysMessage setCreateOn(Date createOn) {
+        this.createOn = createOn;
+        return this;
+    }
+
+    public Date getModifyOn() {
+        return modifyOn;
+    }
+
+    public SysMessage setModifyOn(Date modifyOn) {
+        this.modifyOn = modifyOn;
+        return this;
+    }
+
+    public Long getUserId() {
+        return userId;
+    }
+
+    public SysMessage setUserId(Long userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public SysMessage setMemo(String memo) {
+        this.memo = memo;
+        return this;
+    }
+
+    public Integer getReadStatus() {
+        return readStatus;
+    }
+
+    public SysMessage setReadStatus(Integer readStatus) {
+        this.readStatus = readStatus;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysMessage{" +
+        ", id=" + id +
+        ", title=" + title +
+        ", content=" + content +
+        ", type=" + type +
+        ", status=" + status +
+        ", receiver=" + receiver +
+        ", sendTime=" + sendTime +
+        ", errorMsg=" + errorMsg +
+        ", createOn=" + createOn +
+        ", modifyOn=" + modifyOn +
+        ", userId=" + userId +
+        ", memo=" + memo +
+        ", readStatus=" + readStatus +
+        "}";
+    }
+}

+ 123 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysMessageConfig.java

@@ -0,0 +1,123 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 消息配置表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_message_config")
+public class SysMessageConfig extends Model<SysMessageConfig> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    /**
+     * 消息类型
+     */
+    @TableField("message_type_")
+    private String messageType;
+    /**
+     * 消息内容
+     */
+    @TableField("content_")
+    private String content;
+    /**
+     * 描述
+     */
+    @TableField("description_")
+    private String description;
+    /**
+     * 最后修改时间
+     */
+    @TableField("modify_on_")
+    private Date modifyOn;
+    /**
+     * 跳转url
+     */
+    @TableField("url_")
+    private String url;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public SysMessageConfig setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getMessageType() {
+        return messageType;
+    }
+
+    public SysMessageConfig setMessageType(String messageType) {
+        this.messageType = messageType;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public SysMessageConfig setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public SysMessageConfig setDescription(String description) {
+        this.description = description;
+        return this;
+    }
+
+    public Date getModifyOn() {
+        return modifyOn;
+    }
+
+    public SysMessageConfig setModifyOn(Date modifyOn) {
+        this.modifyOn = modifyOn;
+        return this;
+    }
+
+    public String getUrl() {
+        return url;
+    }
+
+    public SysMessageConfig setUrl(String url) {
+        this.url = url;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysMessageConfig{" +
+        ", id=" + id +
+        ", messageType=" + messageType +
+        ", content=" + content +
+        ", description=" + description +
+        ", modifyOn=" + modifyOn +
+        ", url=" + url +
+        "}";
+    }
+}

+ 192 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysNewsInformation.java

@@ -0,0 +1,192 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 新闻资讯表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_news_information")
+public class SysNewsInformation extends Model<SysNewsInformation> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 标题
+     */
+    @TableField("title_")
+    private String title;
+    /**
+     * 内容
+     */
+    @TableField("content_")
+    private String content;
+    /**
+     * 封面图片
+     */
+    @TableField("cover_image_")
+    private String coverImage;
+    /**
+     * 类型
+     */
+    @TableField("type_")
+    private Integer type;
+    /**
+     * 状态(1-可见 0-不可见)
+     */
+    @TableField("status_")
+    private String status;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 链接地址
+     */
+    @TableField("link_url_")
+    private String linkUrl;
+    /**
+     * 跳转类型_bank,_slef
+     */
+    @TableField("href_target_")
+    private String hrefTarget;
+    /**
+     * 顺序号
+     */
+    @TableField("order_")
+    private Integer order;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysNewsInformation setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public SysNewsInformation setTitle(String title) {
+        this.title = title;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public SysNewsInformation setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public String getCoverImage() {
+        return coverImage;
+    }
+
+    public SysNewsInformation setCoverImage(String coverImage) {
+        this.coverImage = coverImage;
+        return this;
+    }
+
+    public Integer getType() {
+        return type;
+    }
+
+    public SysNewsInformation setType(Integer type) {
+        this.type = type;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public SysNewsInformation setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysNewsInformation setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysNewsInformation setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getLinkUrl() {
+        return linkUrl;
+    }
+
+    public SysNewsInformation setLinkUrl(String linkUrl) {
+        this.linkUrl = linkUrl;
+        return this;
+    }
+
+    public String getHrefTarget() {
+        return hrefTarget;
+    }
+
+    public SysNewsInformation setHrefTarget(String hrefTarget) {
+        this.hrefTarget = hrefTarget;
+        return this;
+    }
+
+    public Integer getOrder() {
+        return order;
+    }
+
+    public SysNewsInformation setOrder(Integer order) {
+        this.order = order;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysNewsInformation{" +
+        ", id=" + id +
+        ", title=" + title +
+        ", content=" + content +
+        ", coverImage=" + coverImage +
+        ", type=" + type +
+        ", status=" + status +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", linkUrl=" + linkUrl +
+        ", hrefTarget=" + hrefTarget +
+        ", order=" + order +
+        "}";
+    }
+}

+ 193 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysOauthClientDetails.java

@@ -0,0 +1,193 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 终端信息表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_oauth_client_details")
+public class SysOauthClientDetails extends Model<SysOauthClientDetails> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 客户端ID
+     */
+    @TableId("id_")
+    private String id;
+    /**
+     * 资源ID
+     */
+    @TableField("resource_ids_")
+    private String resourceIds;
+    /**
+     * 客户端密钥
+     */
+    @TableField("client_secret_")
+    private String clientSecret;
+    /**
+     * 作用域
+     */
+    @TableField("scope_")
+    private String scope;
+    /**
+     * 授权方式
+     */
+    @TableField("authorized_grant_types_")
+    private String authorizedGrantTypes;
+    @TableField("web_server_redirect_uri_")
+    private String webServerRedirectUri;
+    @TableField("authorities_")
+    private String authorities;
+    /**
+     * 请求令牌有效时间
+     */
+    @TableField("access_token_validity_")
+    private Integer accessTokenValidity;
+    /**
+     * 刷新令牌有效时间
+     */
+    @TableField("refresh_token_validity_")
+    private Integer refreshTokenValidity;
+    /**
+     * 扩展信息
+     */
+    @TableField("additional_information_")
+    private String additionalInformation;
+    /**
+     * 是否自动放行
+     */
+    @TableField("autoapprove_")
+    private String autoapprove;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public SysOauthClientDetails setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getResourceIds() {
+        return resourceIds;
+    }
+
+    public SysOauthClientDetails setResourceIds(String resourceIds) {
+        this.resourceIds = resourceIds;
+        return this;
+    }
+
+    public String getClientSecret() {
+        return clientSecret;
+    }
+
+    public SysOauthClientDetails setClientSecret(String clientSecret) {
+        this.clientSecret = clientSecret;
+        return this;
+    }
+
+    public String getScope() {
+        return scope;
+    }
+
+    public SysOauthClientDetails setScope(String scope) {
+        this.scope = scope;
+        return this;
+    }
+
+    public String getAuthorizedGrantTypes() {
+        return authorizedGrantTypes;
+    }
+
+    public SysOauthClientDetails setAuthorizedGrantTypes(String authorizedGrantTypes) {
+        this.authorizedGrantTypes = authorizedGrantTypes;
+        return this;
+    }
+
+    public String getWebServerRedirectUri() {
+        return webServerRedirectUri;
+    }
+
+    public SysOauthClientDetails setWebServerRedirectUri(String webServerRedirectUri) {
+        this.webServerRedirectUri = webServerRedirectUri;
+        return this;
+    }
+
+    public String getAuthorities() {
+        return authorities;
+    }
+
+    public SysOauthClientDetails setAuthorities(String authorities) {
+        this.authorities = authorities;
+        return this;
+    }
+
+    public Integer getAccessTokenValidity() {
+        return accessTokenValidity;
+    }
+
+    public SysOauthClientDetails setAccessTokenValidity(Integer accessTokenValidity) {
+        this.accessTokenValidity = accessTokenValidity;
+        return this;
+    }
+
+    public Integer getRefreshTokenValidity() {
+        return refreshTokenValidity;
+    }
+
+    public SysOauthClientDetails setRefreshTokenValidity(Integer refreshTokenValidity) {
+        this.refreshTokenValidity = refreshTokenValidity;
+        return this;
+    }
+
+    public String getAdditionalInformation() {
+        return additionalInformation;
+    }
+
+    public SysOauthClientDetails setAdditionalInformation(String additionalInformation) {
+        this.additionalInformation = additionalInformation;
+        return this;
+    }
+
+    public String getAutoapprove() {
+        return autoapprove;
+    }
+
+    public SysOauthClientDetails setAutoapprove(String autoapprove) {
+        this.autoapprove = autoapprove;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysOauthClientDetails{" +
+        ", id=" + id +
+        ", resourceIds=" + resourceIds +
+        ", clientSecret=" + clientSecret +
+        ", scope=" + scope +
+        ", authorizedGrantTypes=" + authorizedGrantTypes +
+        ", webServerRedirectUri=" + webServerRedirectUri +
+        ", authorities=" + authorities +
+        ", accessTokenValidity=" + accessTokenValidity +
+        ", refreshTokenValidity=" + refreshTokenValidity +
+        ", additionalInformation=" + additionalInformation +
+        ", autoapprove=" + autoapprove +
+        "}";
+    }
+}

+ 138 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysRole.java

@@ -0,0 +1,138 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 系统角色表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_role")
+public class SysRole extends Model<SysRole> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Integer id;
+    @TableField("role_name_")
+    private String roleName;
+    @TableField("role_code_")
+    private String roleCode;
+    @TableField("role_desc_")
+    private String roleDesc;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 删除标识(0-正常,1-删除)
+     */
+    @TableField("del_flag_")
+    private String delFlag;
+    /**
+     * 分部编号
+     */
+    @TableField("organ_id_")
+    private Integer organId;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public SysRole setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getRoleName() {
+        return roleName;
+    }
+
+    public SysRole setRoleName(String roleName) {
+        this.roleName = roleName;
+        return this;
+    }
+
+    public String getRoleCode() {
+        return roleCode;
+    }
+
+    public SysRole setRoleCode(String roleCode) {
+        this.roleCode = roleCode;
+        return this;
+    }
+
+    public String getRoleDesc() {
+        return roleDesc;
+    }
+
+    public SysRole setRoleDesc(String roleDesc) {
+        this.roleDesc = roleDesc;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysRole setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysRole setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public SysRole setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public SysRole setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysRole{" +
+        ", id=" + id +
+        ", roleName=" + roleName +
+        ", roleCode=" + roleCode +
+        ", roleDesc=" + roleDesc +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", delFlag=" + delFlag +
+        ", organId=" + organId +
+        "}";
+    }
+}

+ 64 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysRoleMenu.java

@@ -0,0 +1,64 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 角色菜单表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_role_menu")
+public class SysRoleMenu extends Model<SysRoleMenu> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 角色ID
+     */
+    @TableId("role_id_")
+    private Integer roleId;
+    /**
+     * 菜单ID
+     */
+    @TableField("menu_id_")
+    private Integer menuId;
+
+
+    public Integer getRoleId() {
+        return roleId;
+    }
+
+    public SysRoleMenu setRoleId(Integer roleId) {
+        this.roleId = roleId;
+        return this;
+    }
+
+    public Integer getMenuId() {
+        return menuId;
+    }
+
+    public SysRoleMenu setMenuId(Integer menuId) {
+        this.menuId = menuId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.roleId;
+    }
+
+    @Override
+    public String toString() {
+        return "SysRoleMenu{" +
+        ", roleId=" + roleId +
+        ", menuId=" + menuId +
+        "}";
+    }
+}

+ 126 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysSuggestion.java

@@ -0,0 +1,126 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 平台建议表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_suggestion")
+public class SysSuggestion extends Model<SysSuggestion> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 编号
+     */
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 联系方式
+     */
+    @TableField("mobile_no_")
+    private String mobileNo;
+    /**
+     * 标题
+     */
+    @TableField("title_")
+    private String title;
+    /**
+     * 内容
+     */
+    @TableField("content_")
+    private String content;
+    /**
+     * 用户编号
+     */
+    @TableField("user_id_")
+    private Long userId;
+    /**
+     * 提交时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysSuggestion setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getMobileNo() {
+        return mobileNo;
+    }
+
+    public SysSuggestion setMobileNo(String mobileNo) {
+        this.mobileNo = mobileNo;
+        return this;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public SysSuggestion setTitle(String title) {
+        this.title = title;
+        return this;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public SysSuggestion setContent(String content) {
+        this.content = content;
+        return this;
+    }
+
+    public Long getUserId() {
+        return userId;
+    }
+
+    public SysSuggestion setUserId(Long userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysSuggestion setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysSuggestion{" +
+        ", id=" + id +
+        ", mobileNo=" + mobileNo +
+        ", title=" + title +
+        ", content=" + content +
+        ", userId=" + userId +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 170 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysTask.java

@@ -0,0 +1,170 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 任务调度表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_task")
+public class SysTask extends Model<SysTask> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 任务id,主键
+     */
+    @TableId("id_")
+    private Integer id;
+    /**
+     * 任务名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 任务所属分组
+     */
+    @TableField("group_")
+    private String group;
+    /**
+     * 具体任务接口
+     */
+    @TableField("job_class_")
+    private String jobClass;
+    /**
+     * 任务执行的时间表达式
+     */
+    @TableField("time_exp_")
+    private String timeExp;
+    /**
+     * 状态(-1,执行失败;0,暂停;1,准备就绪;2,执行中;3,执行成功)
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 任务描述
+     */
+    @TableField("description_")
+    private String description;
+    /**
+     * 创建时间
+     */
+    @TableField("create_on_")
+    private Date createOn;
+    /**
+     * 修改时间
+     */
+    @TableField("modify_on_")
+    private Date modifyOn;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public SysTask setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public SysTask setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getGroup() {
+        return group;
+    }
+
+    public SysTask setGroup(String group) {
+        this.group = group;
+        return this;
+    }
+
+    public String getJobClass() {
+        return jobClass;
+    }
+
+    public SysTask setJobClass(String jobClass) {
+        this.jobClass = jobClass;
+        return this;
+    }
+
+    public String getTimeExp() {
+        return timeExp;
+    }
+
+    public SysTask setTimeExp(String timeExp) {
+        this.timeExp = timeExp;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public SysTask setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public SysTask setDescription(String description) {
+        this.description = description;
+        return this;
+    }
+
+    public Date getCreateOn() {
+        return createOn;
+    }
+
+    public SysTask setCreateOn(Date createOn) {
+        this.createOn = createOn;
+        return this;
+    }
+
+    public Date getModifyOn() {
+        return modifyOn;
+    }
+
+    public SysTask setModifyOn(Date modifyOn) {
+        this.modifyOn = modifyOn;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysTask{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", group=" + group +
+        ", jobClass=" + jobClass +
+        ", timeExp=" + timeExp +
+        ", status=" + status +
+        ", description=" + description +
+        ", createOn=" + createOn +
+        ", modifyOn=" + modifyOn +
+        "}";
+    }
+}

+ 228 - 7
mec-education/src/main/java/com/ym/mec/education/entity/SysUser.java

@@ -6,9 +6,6 @@ import com.baomidou.mybatisplus.annotations.TableId;
 import com.baomidou.mybatisplus.annotations.TableField;
 import com.baomidou.mybatisplus.activerecord.Model;
 import com.baomidou.mybatisplus.annotations.TableName;
-import lombok.Data;
-import lombok.ToString;
-
 import java.io.Serializable;
 
 /**
@@ -16,12 +13,10 @@ import java.io.Serializable;
  * 用户表
  * </p>
  *
- * @author lqh
+ * @author lemeng
  * @since 2019-09-25
  */
 @TableName("sys_user")
-@Data
-@ToString
 public class SysUser extends Model<SysUser> {
 
     private static final long serialVersionUID = 1L;
@@ -132,8 +127,234 @@ public class SysUser extends Model<SysUser> {
     private String wechatId;
 
 
+    public Integer getId() {
+        return id;
+    }
+
+    public SysUser setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getUsername() {
+        return username;
+    }
+
+    public SysUser setUsername(String username) {
+        this.username = username;
+        return this;
+    }
+
+    public String getPassword() {
+        return password;
+    }
+
+    public SysUser setPassword(String password) {
+        this.password = password;
+        return this;
+    }
+
+    public String getSalt() {
+        return salt;
+    }
+
+    public SysUser setSalt(String salt) {
+        this.salt = salt;
+        return this;
+    }
+
+    public String getPhone() {
+        return phone;
+    }
+
+    public SysUser setPhone(String phone) {
+        this.phone = phone;
+        return this;
+    }
+
+    public String getAvatar() {
+        return avatar;
+    }
+
+    public SysUser setAvatar(String avatar) {
+        this.avatar = avatar;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysUser setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysUser setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public String getLockFlag() {
+        return lockFlag;
+    }
+
+    public SysUser setLockFlag(String lockFlag) {
+        this.lockFlag = lockFlag;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public SysUser setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public String getWxOpenid() {
+        return wxOpenid;
+    }
+
+    public SysUser setWxOpenid(String wxOpenid) {
+        this.wxOpenid = wxOpenid;
+        return this;
+    }
+
+    public String getQqOpenid() {
+        return qqOpenid;
+    }
+
+    public SysUser setQqOpenid(String qqOpenid) {
+        this.qqOpenid = qqOpenid;
+        return this;
+    }
+
+    public String getUserType() {
+        return userType;
+    }
+
+    public SysUser setUserType(String userType) {
+        this.userType = userType;
+        return this;
+    }
+
+    public String getGender() {
+        return gender;
+    }
+
+    public SysUser setGender(String gender) {
+        this.gender = gender;
+        return this;
+    }
+
+    public String getNation() {
+        return nation;
+    }
+
+    public SysUser setNation(String nation) {
+        this.nation = nation;
+        return this;
+    }
+
+    public Date getBirthdate() {
+        return birthdate;
+    }
+
+    public SysUser setBirthdate(Date birthdate) {
+        this.birthdate = birthdate;
+        return this;
+    }
+
+    public String getEmail() {
+        return email;
+    }
+
+    public SysUser setEmail(String email) {
+        this.email = email;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public SysUser setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public String getImToken() {
+        return imToken;
+    }
+
+    public SysUser setImToken(String imToken) {
+        this.imToken = imToken;
+        return this;
+    }
+
+    public String getIdCardNo() {
+        return idCardNo;
+    }
+
+    public SysUser setIdCardNo(String idCardNo) {
+        this.idCardNo = idCardNo;
+        return this;
+    }
+
+    public String getEsignId() {
+        return esignId;
+    }
+
+    public SysUser setEsignId(String esignId) {
+        this.esignId = esignId;
+        return this;
+    }
+
+    public String getWechatId() {
+        return wechatId;
+    }
+
+    public SysUser setWechatId(String wechatId) {
+        this.wechatId = wechatId;
+        return this;
+    }
+
     @Override
     protected Serializable pkVal() {
-        return id;
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUser{" +
+        ", id=" + id +
+        ", username=" + username +
+        ", password=" + password +
+        ", salt=" + salt +
+        ", phone=" + phone +
+        ", avatar=" + avatar +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", lockFlag=" + lockFlag +
+        ", delFlag=" + delFlag +
+        ", wxOpenid=" + wxOpenid +
+        ", qqOpenid=" + qqOpenid +
+        ", userType=" + userType +
+        ", gender=" + gender +
+        ", nation=" + nation +
+        ", birthdate=" + birthdate +
+        ", email=" + email +
+        ", organId=" + organId +
+        ", imToken=" + imToken +
+        ", idCardNo=" + idCardNo +
+        ", esignId=" + esignId +
+        ", wechatId=" + wechatId +
+        "}";
     }
 }

+ 254 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysUserBankCard.java

@@ -0,0 +1,254 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 会员银行卡信息表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_user_bank_card")
+public class SysUserBankCard extends Model<SysUserBankCard> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 会员标识
+     */
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 是否默认 0,否;1,是
+     */
+    @TableField("is_default_")
+    private Integer isDefault;
+    /**
+     * 银行名称
+     */
+    @TableField("bank_name_")
+    private String bankName;
+    /**
+     * 银行代码
+     */
+    @TableField("bank_code_")
+    private String bankCode;
+    /**
+     * 银行卡号
+     */
+    @TableField("card_no_")
+    private String cardNo;
+    /**
+     * 省
+     */
+    @TableField("province_")
+    private String province;
+    /**
+     * 城市
+     */
+    @TableField("city_")
+    private String city;
+    /**
+     * 地址
+     */
+    private String address;
+    /**
+     * 0,已删除;1,正常;2,冻结;3,验证中
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 创建时间
+     */
+    @TableField("create_on_")
+    private Date createOn;
+    /**
+     * 修改时间
+     */
+    @TableField("modify_on_")
+    private Date modifyOn;
+    /**
+     * 是否是快捷卡(0,否 1,是)
+     */
+    @TableField("is_quick_")
+    private Integer isQuick;
+    /**
+     * 银行卡绑定的手机号码
+     */
+    @TableField("mobile_phone_")
+    private String mobilePhone;
+    @TableField("trans_no_")
+    private String transNo;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysUserBankCard setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public SysUserBankCard setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getIsDefault() {
+        return isDefault;
+    }
+
+    public SysUserBankCard setIsDefault(Integer isDefault) {
+        this.isDefault = isDefault;
+        return this;
+    }
+
+    public String getBankName() {
+        return bankName;
+    }
+
+    public SysUserBankCard setBankName(String bankName) {
+        this.bankName = bankName;
+        return this;
+    }
+
+    public String getBankCode() {
+        return bankCode;
+    }
+
+    public SysUserBankCard setBankCode(String bankCode) {
+        this.bankCode = bankCode;
+        return this;
+    }
+
+    public String getCardNo() {
+        return cardNo;
+    }
+
+    public SysUserBankCard setCardNo(String cardNo) {
+        this.cardNo = cardNo;
+        return this;
+    }
+
+    public String getProvince() {
+        return province;
+    }
+
+    public SysUserBankCard setProvince(String province) {
+        this.province = province;
+        return this;
+    }
+
+    public String getCity() {
+        return city;
+    }
+
+    public SysUserBankCard setCity(String city) {
+        this.city = city;
+        return this;
+    }
+
+    public String getAddress() {
+        return address;
+    }
+
+    public SysUserBankCard setAddress(String address) {
+        this.address = address;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public SysUserBankCard setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public Date getCreateOn() {
+        return createOn;
+    }
+
+    public SysUserBankCard setCreateOn(Date createOn) {
+        this.createOn = createOn;
+        return this;
+    }
+
+    public Date getModifyOn() {
+        return modifyOn;
+    }
+
+    public SysUserBankCard setModifyOn(Date modifyOn) {
+        this.modifyOn = modifyOn;
+        return this;
+    }
+
+    public Integer getIsQuick() {
+        return isQuick;
+    }
+
+    public SysUserBankCard setIsQuick(Integer isQuick) {
+        this.isQuick = isQuick;
+        return this;
+    }
+
+    public String getMobilePhone() {
+        return mobilePhone;
+    }
+
+    public SysUserBankCard setMobilePhone(String mobilePhone) {
+        this.mobilePhone = mobilePhone;
+        return this;
+    }
+
+    public String getTransNo() {
+        return transNo;
+    }
+
+    public SysUserBankCard setTransNo(String transNo) {
+        this.transNo = transNo;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUserBankCard{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", isDefault=" + isDefault +
+        ", bankName=" + bankName +
+        ", bankCode=" + bankCode +
+        ", cardNo=" + cardNo +
+        ", province=" + province +
+        ", city=" + city +
+        ", address=" + address +
+        ", status=" + status +
+        ", createOn=" + createOn +
+        ", modifyOn=" + modifyOn +
+        ", isQuick=" + isQuick +
+        ", mobilePhone=" + mobilePhone +
+        ", transNo=" + transNo +
+        "}";
+    }
+}

+ 156 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysUserCashAccount.java

@@ -0,0 +1,156 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 用户现金账户
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_user_cash_account")
+public class SysUserCashAccount extends Model<SysUserCashAccount> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 账户号码(用户编号)
+     */
+    @TableId("user_id_")
+    private Integer userId;
+    /**
+     * 币种
+     */
+    @TableField("currency_")
+    private String currency;
+    /**
+     * 账户可用余额
+     */
+    @TableField("balance_")
+    private BigDecimal balance;
+    /**
+     * 冻结金额
+     */
+    @TableField("frozen_amount_")
+    private BigDecimal frozenAmount;
+    /**
+     * 保证金余额
+     */
+    @TableField("margin_balance_")
+    private BigDecimal marginBalance;
+    /**
+     * 账户状态(0,冻结,1,正常;-1,注销;)
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @TableField("update_time")
+    private Date updateTime;
+
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public SysUserCashAccount setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getCurrency() {
+        return currency;
+    }
+
+    public SysUserCashAccount setCurrency(String currency) {
+        this.currency = currency;
+        return this;
+    }
+
+    public BigDecimal getBalance() {
+        return balance;
+    }
+
+    public SysUserCashAccount setBalance(BigDecimal balance) {
+        this.balance = balance;
+        return this;
+    }
+
+    public BigDecimal getFrozenAmount() {
+        return frozenAmount;
+    }
+
+    public SysUserCashAccount setFrozenAmount(BigDecimal frozenAmount) {
+        this.frozenAmount = frozenAmount;
+        return this;
+    }
+
+    public BigDecimal getMarginBalance() {
+        return marginBalance;
+    }
+
+    public SysUserCashAccount setMarginBalance(BigDecimal marginBalance) {
+        this.marginBalance = marginBalance;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public SysUserCashAccount setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysUserCashAccount setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysUserCashAccount setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.userId;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUserCashAccount{" +
+        ", userId=" + userId +
+        ", currency=" + currency +
+        ", balance=" + balance +
+        ", frozenAmount=" + frozenAmount +
+        ", marginBalance=" + marginBalance +
+        ", status=" + status +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 217 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysUserCashAccountDetail.java

@@ -0,0 +1,217 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 现金账户明细表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_user_cash_account_detail")
+public class SysUserCashAccountDetail extends Model<SysUserCashAccountDetail> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 序号
+     */
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    /**
+     * 用户编号
+     */
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 交易流水号
+     */
+    @TableField("trans_no_")
+    private String transNo;
+    /**
+     * 交易类型 (RECHARGE 充值,WITHDRAW 提现,PAY_FEE 缴费,REFUNDS 退费,FILL_ACCOUNT 人工补账)
+     */
+    @TableField("type_")
+    private String type;
+    /**
+     * 交易方式1.微信,2支付宝,3快捷
+     */
+    @TableField("trans_type_")
+    private Integer transType;
+    /**
+     * 交易状态(1,交易中;2,成功交易;-1,交易失败;)
+     */
+    @TableField("status_")
+    private Integer status;
+    /**
+     * 交易金额
+     */
+    @TableField("amount_")
+    private BigDecimal amount;
+    /**
+     * 账户可用余额
+     */
+    @TableField("balance_")
+    private BigDecimal balance;
+    /**
+     * 描述
+     */
+    @TableField("description_")
+    private String description;
+    /**
+     * 后台备注
+     */
+    @TableField("comment_")
+    private String comment;
+    /**
+     * 创建时间
+     */
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 修改时间
+     */
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysUserCashAccountDetail setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public SysUserCashAccountDetail setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getTransNo() {
+        return transNo;
+    }
+
+    public SysUserCashAccountDetail setTransNo(String transNo) {
+        this.transNo = transNo;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public SysUserCashAccountDetail setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public Integer getTransType() {
+        return transType;
+    }
+
+    public SysUserCashAccountDetail setTransType(Integer transType) {
+        this.transType = transType;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public SysUserCashAccountDetail setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    public BigDecimal getAmount() {
+        return amount;
+    }
+
+    public SysUserCashAccountDetail setAmount(BigDecimal amount) {
+        this.amount = amount;
+        return this;
+    }
+
+    public BigDecimal getBalance() {
+        return balance;
+    }
+
+    public SysUserCashAccountDetail setBalance(BigDecimal balance) {
+        this.balance = balance;
+        return this;
+    }
+
+    public String getDescription() {
+        return description;
+    }
+
+    public SysUserCashAccountDetail setDescription(String description) {
+        this.description = description;
+        return this;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public SysUserCashAccountDetail setComment(String comment) {
+        this.comment = comment;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public SysUserCashAccountDetail setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public SysUserCashAccountDetail setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUserCashAccountDetail{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", transNo=" + transNo +
+        ", type=" + type +
+        ", transType=" + transType +
+        ", status=" + status +
+        ", amount=" + amount +
+        ", balance=" + balance +
+        ", description=" + description +
+        ", comment=" + comment +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 137 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysUserLogin.java

@@ -0,0 +1,137 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 用户登录信息表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_user_login")
+public class SysUserLogin extends Model<SysUserLogin> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("user_id_")
+    private Integer userId;
+    /**
+     * 用户登录总次数
+     */
+    @TableField("login_count_")
+    private Integer loginCount;
+    /**
+     * 最后登录时间
+     */
+    @TableField("last_login_time_")
+    private Date lastLoginTime;
+    /**
+     * 最后登录IP
+     */
+    @TableField("last_login_ip_")
+    private String lastLoginIp;
+    /**
+     * 连续登陆失败的次数
+     */
+    @TableField("fail_count_")
+    private Integer failCount;
+    /**
+     * 锁定时间 单位:分钟(超过锁定时间自动解锁)
+     */
+    @TableField("lock_time_")
+    private Integer lockTime;
+    /**
+     * 锁定日期
+     */
+    @TableField("lock_date_")
+    private Date lockDate;
+
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public SysUserLogin setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getLoginCount() {
+        return loginCount;
+    }
+
+    public SysUserLogin setLoginCount(Integer loginCount) {
+        this.loginCount = loginCount;
+        return this;
+    }
+
+    public Date getLastLoginTime() {
+        return lastLoginTime;
+    }
+
+    public SysUserLogin setLastLoginTime(Date lastLoginTime) {
+        this.lastLoginTime = lastLoginTime;
+        return this;
+    }
+
+    public String getLastLoginIp() {
+        return lastLoginIp;
+    }
+
+    public SysUserLogin setLastLoginIp(String lastLoginIp) {
+        this.lastLoginIp = lastLoginIp;
+        return this;
+    }
+
+    public Integer getFailCount() {
+        return failCount;
+    }
+
+    public SysUserLogin setFailCount(Integer failCount) {
+        this.failCount = failCount;
+        return this;
+    }
+
+    public Integer getLockTime() {
+        return lockTime;
+    }
+
+    public SysUserLogin setLockTime(Integer lockTime) {
+        this.lockTime = lockTime;
+        return this;
+    }
+
+    public Date getLockDate() {
+        return lockDate;
+    }
+
+    public SysUserLogin setLockDate(Date lockDate) {
+        this.lockDate = lockDate;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.userId;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUserLogin{" +
+        ", userId=" + userId +
+        ", loginCount=" + loginCount +
+        ", lastLoginTime=" + lastLoginTime +
+        ", lastLoginIp=" + lastLoginIp +
+        ", failCount=" + failCount +
+        ", lockTime=" + lockTime +
+        ", lockDate=" + lockDate +
+        "}";
+    }
+}

+ 108 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysUserLoginLog.java

@@ -0,0 +1,108 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 会员登录日志表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_user_login_log")
+public class SysUserLoginLog extends Model<SysUserLoginLog> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 会员ID
+     */
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 登录IP
+     */
+    @TableField("login_ip_")
+    private String loginIp;
+    /**
+     * 登录时间
+     */
+    @TableField("login_time_")
+    private Date loginTime;
+    /**
+     * 终端类型(0,pc端;1,人工;2,移动端;3,自动)
+     */
+    @TableField("source_")
+    private Integer source;
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public SysUserLoginLog setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getLoginIp() {
+        return loginIp;
+    }
+
+    public SysUserLoginLog setLoginIp(String loginIp) {
+        this.loginIp = loginIp;
+        return this;
+    }
+
+    public Date getLoginTime() {
+        return loginTime;
+    }
+
+    public SysUserLoginLog setLoginTime(Date loginTime) {
+        this.loginTime = loginTime;
+        return this;
+    }
+
+    public Integer getSource() {
+        return source;
+    }
+
+    public SysUserLoginLog setSource(Integer source) {
+        this.source = source;
+        return this;
+    }
+
+    public Long getId() {
+        return id;
+    }
+
+    public SysUserLoginLog setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUserLoginLog{" +
+        ", userId=" + userId +
+        ", loginIp=" + loginIp +
+        ", loginTime=" + loginTime +
+        ", source=" + source +
+        ", id=" + id +
+        "}";
+    }
+}

+ 64 - 0
mec-education/src/main/java/com/ym/mec/education/entity/SysUserRole.java

@@ -0,0 +1,64 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 用户角色表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("sys_user_role")
+public class SysUserRole extends Model<SysUserRole> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 用户ID
+     */
+    @TableId("user_id_")
+    private Integer userId;
+    /**
+     * 角色ID
+     */
+    @TableField("role_id_")
+    private Integer roleId;
+
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public SysUserRole setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getRoleId() {
+        return roleId;
+    }
+
+    public SysUserRole setRoleId(Integer roleId) {
+        this.roleId = roleId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.userId;
+    }
+
+    @Override
+    public String toString() {
+        return "SysUserRole{" +
+        ", userId=" + userId +
+        ", roleId=" + roleId +
+        "}";
+    }
+}

+ 294 - 0
mec-education/src/main/java/com/ym/mec/education/entity/Teacher.java

@@ -0,0 +1,294 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 教师表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public class Teacher extends Model<Teacher> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 对应user表用户编号
+     */
+    @TableId("id_")
+    private Integer id;
+    @TableField("organ_id_")
+    private Integer organId;
+    /**
+     * 职务类型(指导老师、教务老师、教学主管)
+     */
+    @TableField("job_type_")
+    private String jobType;
+    /**
+     * 工作性质(兼职、全职、临时)
+     */
+    @TableField("job_nature_")
+    private String jobNature;
+    /**
+     * 是否试用期(1-是 0-否)
+     */
+    @TableField("is_probation_period_")
+    private String isProbationPeriod;
+    /**
+     * 学历
+     */
+    @TableField("education_background_")
+    private String educationBackground;
+    /**
+     * 毕业学校
+     */
+    @TableField("graduate_school_")
+    private String graduateSchool;
+    /**
+     * 技术职称
+     */
+    @TableField("technical_titles_")
+    private String technicalTitles;
+    /**
+     * 工作单位
+     */
+    @TableField("work_unit_")
+    private String workUnit;
+    /**
+     * 专业技能(支持多个,用逗号分隔),对应科目表编号
+     */
+    @TableField("subject_id_")
+    private String subjectId;
+    /**
+     * 入职时间
+     */
+    @TableField("entry_date_")
+    private Date entryDate;
+    /**
+     * 证件类型
+     */
+    @TableField("certificate_type_")
+    private String certificateType;
+    /**
+     * 证件号码
+     */
+    @TableField("certificate_num_")
+    private String certificateNum;
+    /**
+     * 流动范围(多个用逗号分开)
+     */
+    @TableField("flow_organ_range_")
+    private String flowOrganRange;
+    @TableField("update_time_")
+    private Date updateTime;
+    @TableField("create_time_")
+    private Date createTime;
+    /**
+     * 介绍
+     */
+    @TableField("introduction_")
+    private String introduction;
+    /**
+     * 离职日期
+     */
+    @TableField("demission_date_")
+    private Date demissionDate;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public Teacher setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getOrganId() {
+        return organId;
+    }
+
+    public Teacher setOrganId(Integer organId) {
+        this.organId = organId;
+        return this;
+    }
+
+    public String getJobType() {
+        return jobType;
+    }
+
+    public Teacher setJobType(String jobType) {
+        this.jobType = jobType;
+        return this;
+    }
+
+    public String getJobNature() {
+        return jobNature;
+    }
+
+    public Teacher setJobNature(String jobNature) {
+        this.jobNature = jobNature;
+        return this;
+    }
+
+    public String getIsProbationPeriod() {
+        return isProbationPeriod;
+    }
+
+    public Teacher setIsProbationPeriod(String isProbationPeriod) {
+        this.isProbationPeriod = isProbationPeriod;
+        return this;
+    }
+
+    public String getEducationBackground() {
+        return educationBackground;
+    }
+
+    public Teacher setEducationBackground(String educationBackground) {
+        this.educationBackground = educationBackground;
+        return this;
+    }
+
+    public String getGraduateSchool() {
+        return graduateSchool;
+    }
+
+    public Teacher setGraduateSchool(String graduateSchool) {
+        this.graduateSchool = graduateSchool;
+        return this;
+    }
+
+    public String getTechnicalTitles() {
+        return technicalTitles;
+    }
+
+    public Teacher setTechnicalTitles(String technicalTitles) {
+        this.technicalTitles = technicalTitles;
+        return this;
+    }
+
+    public String getWorkUnit() {
+        return workUnit;
+    }
+
+    public Teacher setWorkUnit(String workUnit) {
+        this.workUnit = workUnit;
+        return this;
+    }
+
+    public String getSubjectId() {
+        return subjectId;
+    }
+
+    public Teacher setSubjectId(String subjectId) {
+        this.subjectId = subjectId;
+        return this;
+    }
+
+    public Date getEntryDate() {
+        return entryDate;
+    }
+
+    public Teacher setEntryDate(Date entryDate) {
+        this.entryDate = entryDate;
+        return this;
+    }
+
+    public String getCertificateType() {
+        return certificateType;
+    }
+
+    public Teacher setCertificateType(String certificateType) {
+        this.certificateType = certificateType;
+        return this;
+    }
+
+    public String getCertificateNum() {
+        return certificateNum;
+    }
+
+    public Teacher setCertificateNum(String certificateNum) {
+        this.certificateNum = certificateNum;
+        return this;
+    }
+
+    public String getFlowOrganRange() {
+        return flowOrganRange;
+    }
+
+    public Teacher setFlowOrganRange(String flowOrganRange) {
+        this.flowOrganRange = flowOrganRange;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public Teacher setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public Teacher setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getIntroduction() {
+        return introduction;
+    }
+
+    public Teacher setIntroduction(String introduction) {
+        this.introduction = introduction;
+        return this;
+    }
+
+    public Date getDemissionDate() {
+        return demissionDate;
+    }
+
+    public Teacher setDemissionDate(Date demissionDate) {
+        this.demissionDate = demissionDate;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "Teacher{" +
+        ", id=" + id +
+        ", organId=" + organId +
+        ", jobType=" + jobType +
+        ", jobNature=" + jobNature +
+        ", isProbationPeriod=" + isProbationPeriod +
+        ", educationBackground=" + educationBackground +
+        ", graduateSchool=" + graduateSchool +
+        ", technicalTitles=" + technicalTitles +
+        ", workUnit=" + workUnit +
+        ", subjectId=" + subjectId +
+        ", entryDate=" + entryDate +
+        ", certificateType=" + certificateType +
+        ", certificateNum=" + certificateNum +
+        ", flowOrganRange=" + flowOrganRange +
+        ", updateTime=" + updateTime +
+        ", createTime=" + createTime +
+        ", introduction=" + introduction +
+        ", demissionDate=" + demissionDate +
+        "}";
+    }
+}

+ 153 - 0
mec-education/src/main/java/com/ym/mec/education/entity/TeacherAttendance.java

@@ -0,0 +1,153 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 老师签到表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("teacher_attendance")
+public class TeacherAttendance extends Model<TeacherAttendance> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("teacher_id_")
+    private Integer teacherId;
+    @TableField("music_group_id_")
+    private Integer musicGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    @TableField("course_schedule_id_")
+    private Long courseScheduleId;
+    /**
+     * 签到时间
+     */
+    @TableField("sign_in_time_")
+    private Date signInTime;
+    /**
+     * 状态(正常签到,异常签到)
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 备注
+     */
+    @TableField("remark_")
+    private String remark;
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public TeacherAttendance setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getTeacherId() {
+        return teacherId;
+    }
+
+    public TeacherAttendance setTeacherId(Integer teacherId) {
+        this.teacherId = teacherId;
+        return this;
+    }
+
+    public Integer getMusicGroupId() {
+        return musicGroupId;
+    }
+
+    public TeacherAttendance setMusicGroupId(Integer musicGroupId) {
+        this.musicGroupId = musicGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public TeacherAttendance setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Long getCourseScheduleId() {
+        return courseScheduleId;
+    }
+
+    public TeacherAttendance setCourseScheduleId(Long courseScheduleId) {
+        this.courseScheduleId = courseScheduleId;
+        return this;
+    }
+
+    public Date getSignInTime() {
+        return signInTime;
+    }
+
+    public TeacherAttendance setSignInTime(Date signInTime) {
+        this.signInTime = signInTime;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public TeacherAttendance setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public TeacherAttendance setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public TeacherAttendance setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "TeacherAttendance{" +
+        ", id=" + id +
+        ", teacherId=" + teacherId +
+        ", musicGroupId=" + musicGroupId +
+        ", classGroupId=" + classGroupId +
+        ", courseScheduleId=" + courseScheduleId +
+        ", signInTime=" + signInTime +
+        ", status=" + status +
+        ", remark=" + remark +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 130 - 0
mec-education/src/main/java/com/ym/mec/education/entity/TeacherDefaultMusicGroupSalary.java

@@ -0,0 +1,130 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 老师默认乐团薪酬表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("teacher_default_music_group_salary")
+public class TeacherDefaultMusicGroupSalary extends Model<TeacherDefaultMusicGroupSalary> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 班级类型(参照 class_group表的type_字段)
+     */
+    @TableField("class_group_type_")
+    private String classGroupType;
+    /**
+     * 主教薪酬
+     */
+    @TableField("main_teacher_salary_")
+    private BigDecimal mainTeacherSalary;
+    /**
+     * 助教薪酬
+     */
+    @TableField("assistant_teacher_salary_")
+    private BigDecimal assistantTeacherSalary;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public TeacherDefaultMusicGroupSalary setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public TeacherDefaultMusicGroupSalary setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getClassGroupType() {
+        return classGroupType;
+    }
+
+    public TeacherDefaultMusicGroupSalary setClassGroupType(String classGroupType) {
+        this.classGroupType = classGroupType;
+        return this;
+    }
+
+    public BigDecimal getMainTeacherSalary() {
+        return mainTeacherSalary;
+    }
+
+    public TeacherDefaultMusicGroupSalary setMainTeacherSalary(BigDecimal mainTeacherSalary) {
+        this.mainTeacherSalary = mainTeacherSalary;
+        return this;
+    }
+
+    public BigDecimal getAssistantTeacherSalary() {
+        return assistantTeacherSalary;
+    }
+
+    public TeacherDefaultMusicGroupSalary setAssistantTeacherSalary(BigDecimal assistantTeacherSalary) {
+        this.assistantTeacherSalary = assistantTeacherSalary;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public TeacherDefaultMusicGroupSalary setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public TeacherDefaultMusicGroupSalary setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "TeacherDefaultMusicGroupSalary{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", classGroupType=" + classGroupType +
+        ", mainTeacherSalary=" + mainTeacherSalary +
+        ", assistantTeacherSalary=" + assistantTeacherSalary +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 130 - 0
mec-education/src/main/java/com/ym/mec/education/entity/TeacherDefaultVipGroupSalary.java

@@ -0,0 +1,130 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 老师默认VIP课薪酬表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("teacher_default_vip_group_salary")
+public class TeacherDefaultVipGroupSalary extends Model<TeacherDefaultVipGroupSalary> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 课程类型
+     */
+    @TableField("vip_group_category_id_")
+    private String vipGroupCategoryId;
+    /**
+     * 线上课薪酬
+     */
+    @TableField("online_classes_salary_")
+    private BigDecimal onlineClassesSalary;
+    /**
+     * 线下课薪酬
+     */
+    @TableField("offline_classes_salary_")
+    private BigDecimal offlineClassesSalary;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public TeacherDefaultVipGroupSalary setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public TeacherDefaultVipGroupSalary setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getVipGroupCategoryId() {
+        return vipGroupCategoryId;
+    }
+
+    public TeacherDefaultVipGroupSalary setVipGroupCategoryId(String vipGroupCategoryId) {
+        this.vipGroupCategoryId = vipGroupCategoryId;
+        return this;
+    }
+
+    public BigDecimal getOnlineClassesSalary() {
+        return onlineClassesSalary;
+    }
+
+    public TeacherDefaultVipGroupSalary setOnlineClassesSalary(BigDecimal onlineClassesSalary) {
+        this.onlineClassesSalary = onlineClassesSalary;
+        return this;
+    }
+
+    public BigDecimal getOfflineClassesSalary() {
+        return offlineClassesSalary;
+    }
+
+    public TeacherDefaultVipGroupSalary setOfflineClassesSalary(BigDecimal offlineClassesSalary) {
+        this.offlineClassesSalary = offlineClassesSalary;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public TeacherDefaultVipGroupSalary setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public TeacherDefaultVipGroupSalary setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "TeacherDefaultVipGroupSalary{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", vipGroupCategoryId=" + vipGroupCategoryId +
+        ", onlineClassesSalary=" + onlineClassesSalary +
+        ", offlineClassesSalary=" + offlineClassesSalary +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 144 - 0
mec-education/src/main/java/com/ym/mec/education/entity/TeacherLeaveRecord.java

@@ -0,0 +1,144 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 老师请假记录表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("teacher_leave_record")
+public class TeacherLeaveRecord extends Model<TeacherLeaveRecord> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 请假天数
+     */
+    @TableField("days_")
+    private Integer days;
+    /**
+     * 请假类型
+     */
+    @TableField("type_")
+    private String type;
+    /**
+     * 请假状态(审批中、拒绝、通过)
+     */
+    @TableField("status_")
+    private String status;
+    /**
+     * 备注
+     */
+    @TableField("remark_")
+    private String remark;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public TeacherLeaveRecord setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public TeacherLeaveRecord setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getDays() {
+        return days;
+    }
+
+    public TeacherLeaveRecord setDays(Integer days) {
+        this.days = days;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public TeacherLeaveRecord setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public String getStatus() {
+        return status;
+    }
+
+    public TeacherLeaveRecord setStatus(String status) {
+        this.status = status;
+        return this;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public TeacherLeaveRecord setRemark(String remark) {
+        this.remark = remark;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public TeacherLeaveRecord setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public TeacherLeaveRecord setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "TeacherLeaveRecord{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", days=" + days +
+        ", type=" + type +
+        ", status=" + status +
+        ", remark=" + remark +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 158 - 0
mec-education/src/main/java/com/ym/mec/education/entity/TeacherSchool.java

@@ -0,0 +1,158 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * VIP课教学点
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("teacher_school")
+public class TeacherSchool extends Model<TeacherSchool> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 省
+     */
+    @TableField("province_")
+    private String province;
+    /**
+     * 市
+     */
+    @TableField("city_")
+    private String city;
+    /**
+     * 区
+     */
+    @TableField("district_")
+    private String district;
+    /**
+     * 地址
+     */
+    @TableField("address_")
+    private String address;
+    /**
+     * 经纬度
+     */
+    @TableField("longitude_latitude_")
+    private String longitudeLatitude;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public TeacherSchool setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public TeacherSchool setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public String getProvince() {
+        return province;
+    }
+
+    public TeacherSchool setProvince(String province) {
+        this.province = province;
+        return this;
+    }
+
+    public String getCity() {
+        return city;
+    }
+
+    public TeacherSchool setCity(String city) {
+        this.city = city;
+        return this;
+    }
+
+    public String getDistrict() {
+        return district;
+    }
+
+    public TeacherSchool setDistrict(String district) {
+        this.district = district;
+        return this;
+    }
+
+    public String getAddress() {
+        return address;
+    }
+
+    public TeacherSchool setAddress(String address) {
+        this.address = address;
+        return this;
+    }
+
+    public String getLongitudeLatitude() {
+        return longitudeLatitude;
+    }
+
+    public TeacherSchool setLongitudeLatitude(String longitudeLatitude) {
+        this.longitudeLatitude = longitudeLatitude;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public TeacherSchool setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public TeacherSchool setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "TeacherSchool{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", province=" + province +
+        ", city=" + city +
+        ", district=" + district +
+        ", address=" + address +
+        ", longitudeLatitude=" + longitudeLatitude +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 262 - 0
mec-education/src/main/java/com/ym/mec/education/entity/VipGroup.java

@@ -0,0 +1,262 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.enums.IdType;
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * vip课
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("vip_group")
+public class VipGroup extends Model<VipGroup> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId(value = "id_", type = IdType.AUTO)
+    private Long id;
+    @TableField("user_id_")
+    private Integer userId;
+    /**
+     * 单节课时
+     */
+    @TableField("single_class_minutes_")
+    private Integer singleClassMinutes;
+    /**
+     * 缴费截止时间
+     */
+    @TableField("payment_expire_date_")
+    private Date paymentExpireDate;
+    /**
+     * 课程结束日期
+     */
+    @TableField("courses_expire_date_")
+    private Date coursesExpireDate;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+    /**
+     * 教学点
+     */
+    @TableField("teacher_school_id_")
+    private Long teacherSchoolId;
+    /**
+     * 线上课课时数
+     */
+    @TableField("online_classes_num_")
+    private Integer onlineClassesNum;
+    /**
+     * 线下课课时数
+     */
+    @TableField("offline_classes_num_")
+    private Integer offlineClassesNum;
+    /**
+     * 开启报名时间
+     */
+    @TableField("registration_start_time_")
+    private Date registrationStartTime;
+    @TableField("name_")
+    private String name;
+    /**
+     * 课程类型
+     */
+    @TableField("vip_group_category_id_")
+    private Integer vipGroupCategoryId;
+    /**
+     * 价格
+     */
+    @TableField("price_")
+    private BigDecimal price;
+    /**
+     * 审核状态
+     */
+    @TableField("audit_status_")
+    private String auditStatus;
+    /**
+     * 所属分部列表
+     */
+    @TableField("organ_id_list_")
+    private String organIdList;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public VipGroup setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Integer getUserId() {
+        return userId;
+    }
+
+    public VipGroup setUserId(Integer userId) {
+        this.userId = userId;
+        return this;
+    }
+
+    public Integer getSingleClassMinutes() {
+        return singleClassMinutes;
+    }
+
+    public VipGroup setSingleClassMinutes(Integer singleClassMinutes) {
+        this.singleClassMinutes = singleClassMinutes;
+        return this;
+    }
+
+    public Date getPaymentExpireDate() {
+        return paymentExpireDate;
+    }
+
+    public VipGroup setPaymentExpireDate(Date paymentExpireDate) {
+        this.paymentExpireDate = paymentExpireDate;
+        return this;
+    }
+
+    public Date getCoursesExpireDate() {
+        return coursesExpireDate;
+    }
+
+    public VipGroup setCoursesExpireDate(Date coursesExpireDate) {
+        this.coursesExpireDate = coursesExpireDate;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public VipGroup setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public VipGroup setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    public Long getTeacherSchoolId() {
+        return teacherSchoolId;
+    }
+
+    public VipGroup setTeacherSchoolId(Long teacherSchoolId) {
+        this.teacherSchoolId = teacherSchoolId;
+        return this;
+    }
+
+    public Integer getOnlineClassesNum() {
+        return onlineClassesNum;
+    }
+
+    public VipGroup setOnlineClassesNum(Integer onlineClassesNum) {
+        this.onlineClassesNum = onlineClassesNum;
+        return this;
+    }
+
+    public Integer getOfflineClassesNum() {
+        return offlineClassesNum;
+    }
+
+    public VipGroup setOfflineClassesNum(Integer offlineClassesNum) {
+        this.offlineClassesNum = offlineClassesNum;
+        return this;
+    }
+
+    public Date getRegistrationStartTime() {
+        return registrationStartTime;
+    }
+
+    public VipGroup setRegistrationStartTime(Date registrationStartTime) {
+        this.registrationStartTime = registrationStartTime;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public VipGroup setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public Integer getVipGroupCategoryId() {
+        return vipGroupCategoryId;
+    }
+
+    public VipGroup setVipGroupCategoryId(Integer vipGroupCategoryId) {
+        this.vipGroupCategoryId = vipGroupCategoryId;
+        return this;
+    }
+
+    public BigDecimal getPrice() {
+        return price;
+    }
+
+    public VipGroup setPrice(BigDecimal price) {
+        this.price = price;
+        return this;
+    }
+
+    public String getAuditStatus() {
+        return auditStatus;
+    }
+
+    public VipGroup setAuditStatus(String auditStatus) {
+        this.auditStatus = auditStatus;
+        return this;
+    }
+
+    public String getOrganIdList() {
+        return organIdList;
+    }
+
+    public VipGroup setOrganIdList(String organIdList) {
+        this.organIdList = organIdList;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "VipGroup{" +
+        ", id=" + id +
+        ", userId=" + userId +
+        ", singleClassMinutes=" + singleClassMinutes +
+        ", paymentExpireDate=" + paymentExpireDate +
+        ", coursesExpireDate=" + coursesExpireDate +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        ", teacherSchoolId=" + teacherSchoolId +
+        ", onlineClassesNum=" + onlineClassesNum +
+        ", offlineClassesNum=" + offlineClassesNum +
+        ", registrationStartTime=" + registrationStartTime +
+        ", name=" + name +
+        ", vipGroupCategoryId=" + vipGroupCategoryId +
+        ", price=" + price +
+        ", auditStatus=" + auditStatus +
+        ", organIdList=" + organIdList +
+        "}";
+    }
+}

+ 129 - 0
mec-education/src/main/java/com/ym/mec/education/entity/VipGroupCategory.java

@@ -0,0 +1,129 @@
+package com.ym.mec.education.entity;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * vip课程类型
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("vip_group_category")
+public class VipGroupCategory extends Model<VipGroupCategory> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Integer id;
+    /**
+     * 名称
+     */
+    @TableField("name_")
+    private String name;
+    /**
+     * 线上薪水
+     */
+    @TableField("online_classes_salary_")
+    private BigDecimal onlineClassesSalary;
+    /**
+     * 线下薪水
+     */
+    @TableField("offline_classes_salary_")
+    private BigDecimal offlineClassesSalary;
+    @TableField("del_flag_")
+    private String delFlag;
+    @TableField("create_time_")
+    private Date createTime;
+    @TableField("update_time_")
+    private Date updateTime;
+
+
+    public Integer getId() {
+        return id;
+    }
+
+    public VipGroupCategory setId(Integer id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public VipGroupCategory setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public BigDecimal getOnlineClassesSalary() {
+        return onlineClassesSalary;
+    }
+
+    public VipGroupCategory setOnlineClassesSalary(BigDecimal onlineClassesSalary) {
+        this.onlineClassesSalary = onlineClassesSalary;
+        return this;
+    }
+
+    public BigDecimal getOfflineClassesSalary() {
+        return offlineClassesSalary;
+    }
+
+    public VipGroupCategory setOfflineClassesSalary(BigDecimal offlineClassesSalary) {
+        this.offlineClassesSalary = offlineClassesSalary;
+        return this;
+    }
+
+    public String getDelFlag() {
+        return delFlag;
+    }
+
+    public VipGroupCategory setDelFlag(String delFlag) {
+        this.delFlag = delFlag;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public VipGroupCategory setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public VipGroupCategory setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "VipGroupCategory{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", onlineClassesSalary=" + onlineClassesSalary +
+        ", offlineClassesSalary=" + offlineClassesSalary +
+        ", delFlag=" + delFlag +
+        ", createTime=" + createTime +
+        ", updateTime=" + updateTime +
+        "}";
+    }
+}

+ 83 - 0
mec-education/src/main/java/com/ym/mec/education/entity/VipGroupClassGroupMapper.java

@@ -0,0 +1,83 @@
+package com.ym.mec.education.entity;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * vip课与班级关联表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("vip_group_class_group_mapper")
+public class VipGroupClassGroupMapper extends Model<VipGroupClassGroupMapper> {
+
+    private static final long serialVersionUID = 1L;
+
+    @TableId("id_")
+    private Long id;
+    @TableField("vip_group_id_")
+    private Long vipGroupId;
+    @TableField("class_group_id_")
+    private Integer classGroupId;
+    @TableField("create_time_")
+    private Date createTime;
+
+
+    public Long getId() {
+        return id;
+    }
+
+    public VipGroupClassGroupMapper setId(Long id) {
+        this.id = id;
+        return this;
+    }
+
+    public Long getVipGroupId() {
+        return vipGroupId;
+    }
+
+    public VipGroupClassGroupMapper setVipGroupId(Long vipGroupId) {
+        this.vipGroupId = vipGroupId;
+        return this;
+    }
+
+    public Integer getClassGroupId() {
+        return classGroupId;
+    }
+
+    public VipGroupClassGroupMapper setClassGroupId(Integer classGroupId) {
+        this.classGroupId = classGroupId;
+        return this;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public VipGroupClassGroupMapper setCreateTime(Date createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "VipGroupClassGroupMapper{" +
+        ", id=" + id +
+        ", vipGroupId=" + vipGroupId +
+        ", classGroupId=" + classGroupId +
+        ", createTime=" + createTime +
+        "}";
+    }
+}

+ 121 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfCcOrder.java

@@ -0,0 +1,121 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 抄送实例表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_cc_order")
+public class WfCcOrder extends Model<WfCcOrder> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 流程实例ID
+     */
+    @TableField("order_Id")
+    private String orderId;
+    /**
+     * 参与者ID
+     */
+    @TableField("actor_Id")
+    private String actorId;
+    /**
+     * 发起人
+     */
+    private String creator;
+    /**
+     * 抄送时间
+     */
+    @TableField("create_Time")
+    private String createTime;
+    /**
+     * 完成时间
+     */
+    @TableField("finish_Time")
+    private String finishTime;
+    /**
+     * 状态
+     */
+    private Integer status;
+
+
+    public String getOrderId() {
+        return orderId;
+    }
+
+    public WfCcOrder setOrderId(String orderId) {
+        this.orderId = orderId;
+        return this;
+    }
+
+    public String getActorId() {
+        return actorId;
+    }
+
+    public WfCcOrder setActorId(String actorId) {
+        this.actorId = actorId;
+        return this;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public WfCcOrder setCreator(String creator) {
+        this.creator = creator;
+        return this;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public WfCcOrder setCreateTime(String createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getFinishTime() {
+        return finishTime;
+    }
+
+    public WfCcOrder setFinishTime(String finishTime) {
+        this.finishTime = finishTime;
+        return this;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public WfCcOrder setStatus(Integer status) {
+        this.status = status;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return null;
+    }
+
+    @Override
+    public String toString() {
+        return "WfCcOrder{" +
+        ", orderId=" + orderId +
+        ", actorId=" + actorId +
+        ", creator=" + creator +
+        ", createTime=" + createTime +
+        ", finishTime=" + finishTime +
+        ", status=" + status +
+        "}";
+    }
+}

+ 194 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfHistOrder.java

@@ -0,0 +1,194 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 历史流程实例表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_hist_order")
+public class WfHistOrder extends Model<WfHistOrder> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键ID
+     */
+    private String id;
+    /**
+     * 流程定义ID
+     */
+    @TableField("process_Id")
+    private String processId;
+    /**
+     * 状态
+     */
+    @TableField("order_State")
+    private Integer orderState;
+    /**
+     * 发起人
+     */
+    private String creator;
+    /**
+     * 发起时间
+     */
+    @TableField("create_Time")
+    private String createTime;
+    /**
+     * 完成时间
+     */
+    @TableField("end_Time")
+    private String endTime;
+    /**
+     * 期望完成时间
+     */
+    @TableField("expire_Time")
+    private String expireTime;
+    /**
+     * 优先级
+     */
+    private Integer priority;
+    /**
+     * 父流程ID
+     */
+    @TableField("parent_Id")
+    private String parentId;
+    /**
+     * 流程实例编号
+     */
+    @TableField("order_No")
+    private String orderNo;
+    /**
+     * 附属变量json存储
+     */
+    private String variable;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public WfHistOrder setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getProcessId() {
+        return processId;
+    }
+
+    public WfHistOrder setProcessId(String processId) {
+        this.processId = processId;
+        return this;
+    }
+
+    public Integer getOrderState() {
+        return orderState;
+    }
+
+    public WfHistOrder setOrderState(Integer orderState) {
+        this.orderState = orderState;
+        return this;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public WfHistOrder setCreator(String creator) {
+        this.creator = creator;
+        return this;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public WfHistOrder setCreateTime(String createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getEndTime() {
+        return endTime;
+    }
+
+    public WfHistOrder setEndTime(String endTime) {
+        this.endTime = endTime;
+        return this;
+    }
+
+    public String getExpireTime() {
+        return expireTime;
+    }
+
+    public WfHistOrder setExpireTime(String expireTime) {
+        this.expireTime = expireTime;
+        return this;
+    }
+
+    public Integer getPriority() {
+        return priority;
+    }
+
+    public WfHistOrder setPriority(Integer priority) {
+        this.priority = priority;
+        return this;
+    }
+
+    public String getParentId() {
+        return parentId;
+    }
+
+    public WfHistOrder setParentId(String parentId) {
+        this.parentId = parentId;
+        return this;
+    }
+
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public WfHistOrder setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public String getVariable() {
+        return variable;
+    }
+
+    public WfHistOrder setVariable(String variable) {
+        this.variable = variable;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "WfHistOrder{" +
+        ", id=" + id +
+        ", processId=" + processId +
+        ", orderState=" + orderState +
+        ", creator=" + creator +
+        ", createTime=" + createTime +
+        ", endTime=" + endTime +
+        ", expireTime=" + expireTime +
+        ", priority=" + priority +
+        ", parentId=" + parentId +
+        ", orderNo=" + orderNo +
+        ", variable=" + variable +
+        "}";
+    }
+}

+ 240 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfHistTask.java

@@ -0,0 +1,240 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 历史任务表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_hist_task")
+public class WfHistTask extends Model<WfHistTask> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键ID
+     */
+    private String id;
+    /**
+     * 流程实例ID
+     */
+    @TableField("order_Id")
+    private String orderId;
+    /**
+     * 任务名称
+     */
+    @TableField("task_Name")
+    private String taskName;
+    /**
+     * 任务显示名称
+     */
+    @TableField("display_Name")
+    private String displayName;
+    /**
+     * 任务类型
+     */
+    @TableField("task_Type")
+    private Integer taskType;
+    /**
+     * 参与类型
+     */
+    @TableField("perform_Type")
+    private Integer performType;
+    /**
+     * 任务状态
+     */
+    @TableField("task_State")
+    private Integer taskState;
+    /**
+     * 任务处理人
+     */
+    private String operator;
+    /**
+     * 任务创建时间
+     */
+    @TableField("create_Time")
+    private String createTime;
+    /**
+     * 任务完成时间
+     */
+    @TableField("finish_Time")
+    private String finishTime;
+    /**
+     * 任务期望完成时间
+     */
+    @TableField("expire_Time")
+    private String expireTime;
+    /**
+     * 任务处理url
+     */
+    @TableField("action_Url")
+    private String actionUrl;
+    /**
+     * 父任务ID
+     */
+    @TableField("parent_Task_Id")
+    private String parentTaskId;
+    /**
+     * 附属变量json存储
+     */
+    private String variable;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public WfHistTask setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getOrderId() {
+        return orderId;
+    }
+
+    public WfHistTask setOrderId(String orderId) {
+        this.orderId = orderId;
+        return this;
+    }
+
+    public String getTaskName() {
+        return taskName;
+    }
+
+    public WfHistTask setTaskName(String taskName) {
+        this.taskName = taskName;
+        return this;
+    }
+
+    public String getDisplayName() {
+        return displayName;
+    }
+
+    public WfHistTask setDisplayName(String displayName) {
+        this.displayName = displayName;
+        return this;
+    }
+
+    public Integer getTaskType() {
+        return taskType;
+    }
+
+    public WfHistTask setTaskType(Integer taskType) {
+        this.taskType = taskType;
+        return this;
+    }
+
+    public Integer getPerformType() {
+        return performType;
+    }
+
+    public WfHistTask setPerformType(Integer performType) {
+        this.performType = performType;
+        return this;
+    }
+
+    public Integer getTaskState() {
+        return taskState;
+    }
+
+    public WfHistTask setTaskState(Integer taskState) {
+        this.taskState = taskState;
+        return this;
+    }
+
+    public String getOperator() {
+        return operator;
+    }
+
+    public WfHistTask setOperator(String operator) {
+        this.operator = operator;
+        return this;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public WfHistTask setCreateTime(String createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getFinishTime() {
+        return finishTime;
+    }
+
+    public WfHistTask setFinishTime(String finishTime) {
+        this.finishTime = finishTime;
+        return this;
+    }
+
+    public String getExpireTime() {
+        return expireTime;
+    }
+
+    public WfHistTask setExpireTime(String expireTime) {
+        this.expireTime = expireTime;
+        return this;
+    }
+
+    public String getActionUrl() {
+        return actionUrl;
+    }
+
+    public WfHistTask setActionUrl(String actionUrl) {
+        this.actionUrl = actionUrl;
+        return this;
+    }
+
+    public String getParentTaskId() {
+        return parentTaskId;
+    }
+
+    public WfHistTask setParentTaskId(String parentTaskId) {
+        this.parentTaskId = parentTaskId;
+        return this;
+    }
+
+    public String getVariable() {
+        return variable;
+    }
+
+    public WfHistTask setVariable(String variable) {
+        this.variable = variable;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "WfHistTask{" +
+        ", id=" + id +
+        ", orderId=" + orderId +
+        ", taskName=" + taskName +
+        ", displayName=" + displayName +
+        ", taskType=" + taskType +
+        ", performType=" + performType +
+        ", taskState=" + taskState +
+        ", operator=" + operator +
+        ", createTime=" + createTime +
+        ", finishTime=" + finishTime +
+        ", expireTime=" + expireTime +
+        ", actionUrl=" + actionUrl +
+        ", parentTaskId=" + parentTaskId +
+        ", variable=" + variable +
+        "}";
+    }
+}

+ 63 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfHistTaskActor.java

@@ -0,0 +1,63 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 历史任务参与者表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_hist_task_actor")
+public class WfHistTaskActor extends Model<WfHistTaskActor> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 任务ID
+     */
+    @TableField("task_Id")
+    private String taskId;
+    /**
+     * 参与者ID
+     */
+    @TableField("actor_Id")
+    private String actorId;
+
+
+    public String getTaskId() {
+        return taskId;
+    }
+
+    public WfHistTaskActor setTaskId(String taskId) {
+        this.taskId = taskId;
+        return this;
+    }
+
+    public String getActorId() {
+        return actorId;
+    }
+
+    public WfHistTaskActor setActorId(String actorId) {
+        this.actorId = actorId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return null;
+    }
+
+    @Override
+    public String toString() {
+        return "WfHistTaskActor{" +
+        ", taskId=" + taskId +
+        ", actorId=" + actorId +
+        "}";
+    }
+}

+ 223 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfOrder.java

@@ -0,0 +1,223 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 流程实例表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_order")
+public class WfOrder extends Model<WfOrder> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键ID
+     */
+    private String id;
+    /**
+     * 父流程ID
+     */
+    @TableField("parent_Id")
+    private String parentId;
+    /**
+     * 流程定义ID
+     */
+    @TableField("process_Id")
+    private String processId;
+    /**
+     * 发起人
+     */
+    private String creator;
+    /**
+     * 发起时间
+     */
+    @TableField("create_Time")
+    private String createTime;
+    /**
+     * 期望完成时间
+     */
+    @TableField("expire_Time")
+    private String expireTime;
+    /**
+     * 上次更新时间
+     */
+    @TableField("last_Update_Time")
+    private String lastUpdateTime;
+    /**
+     * 上次更新人
+     */
+    @TableField("last_Updator")
+    private String lastUpdator;
+    /**
+     * 优先级
+     */
+    private Integer priority;
+    /**
+     * 父流程依赖的节点名称
+     */
+    @TableField("parent_Node_Name")
+    private String parentNodeName;
+    /**
+     * 流程实例编号
+     */
+    @TableField("order_No")
+    private String orderNo;
+    /**
+     * 附属变量json存储
+     */
+    private String variable;
+    /**
+     * 版本
+     */
+    private Integer version;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public WfOrder setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getParentId() {
+        return parentId;
+    }
+
+    public WfOrder setParentId(String parentId) {
+        this.parentId = parentId;
+        return this;
+    }
+
+    public String getProcessId() {
+        return processId;
+    }
+
+    public WfOrder setProcessId(String processId) {
+        this.processId = processId;
+        return this;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public WfOrder setCreator(String creator) {
+        this.creator = creator;
+        return this;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public WfOrder setCreateTime(String createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getExpireTime() {
+        return expireTime;
+    }
+
+    public WfOrder setExpireTime(String expireTime) {
+        this.expireTime = expireTime;
+        return this;
+    }
+
+    public String getLastUpdateTime() {
+        return lastUpdateTime;
+    }
+
+    public WfOrder setLastUpdateTime(String lastUpdateTime) {
+        this.lastUpdateTime = lastUpdateTime;
+        return this;
+    }
+
+    public String getLastUpdator() {
+        return lastUpdator;
+    }
+
+    public WfOrder setLastUpdator(String lastUpdator) {
+        this.lastUpdator = lastUpdator;
+        return this;
+    }
+
+    public Integer getPriority() {
+        return priority;
+    }
+
+    public WfOrder setPriority(Integer priority) {
+        this.priority = priority;
+        return this;
+    }
+
+    public String getParentNodeName() {
+        return parentNodeName;
+    }
+
+    public WfOrder setParentNodeName(String parentNodeName) {
+        this.parentNodeName = parentNodeName;
+        return this;
+    }
+
+    public String getOrderNo() {
+        return orderNo;
+    }
+
+    public WfOrder setOrderNo(String orderNo) {
+        this.orderNo = orderNo;
+        return this;
+    }
+
+    public String getVariable() {
+        return variable;
+    }
+
+    public WfOrder setVariable(String variable) {
+        this.variable = variable;
+        return this;
+    }
+
+    public Integer getVersion() {
+        return version;
+    }
+
+    public WfOrder setVersion(Integer version) {
+        this.version = version;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "WfOrder{" +
+        ", id=" + id +
+        ", parentId=" + parentId +
+        ", processId=" + processId +
+        ", creator=" + creator +
+        ", createTime=" + createTime +
+        ", expireTime=" + expireTime +
+        ", lastUpdateTime=" + lastUpdateTime +
+        ", lastUpdator=" + lastUpdator +
+        ", priority=" + priority +
+        ", parentNodeName=" + parentNodeName +
+        ", orderNo=" + orderNo +
+        ", variable=" + variable +
+        ", version=" + version +
+        "}";
+    }
+}

+ 177 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfProcess.java

@@ -0,0 +1,177 @@
+package com.ym.mec.education.entity;
+
+import java.querys.Blob;
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 流程定义表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_process")
+public class WfProcess extends Model<WfProcess> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键ID
+     */
+    private String id;
+    /**
+     * 流程名称
+     */
+    private String name;
+    /**
+     * 流程显示名称
+     */
+    @TableField("display_Name")
+    private String displayName;
+    /**
+     * 流程类型
+     */
+    private String type;
+    /**
+     * 实例url
+     */
+    @TableField("instance_Url")
+    private String instanceUrl;
+    /**
+     * 流程是否可用
+     */
+    private Integer state;
+    /**
+     * 流程模型定义
+     */
+    private Blob content;
+    /**
+     * 版本
+     */
+    private Integer version;
+    /**
+     * 创建时间
+     */
+    @TableField("create_Time")
+    private String createTime;
+    /**
+     * 创建人
+     */
+    private String creator;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public WfProcess setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public WfProcess setName(String name) {
+        this.name = name;
+        return this;
+    }
+
+    public String getDisplayName() {
+        return displayName;
+    }
+
+    public WfProcess setDisplayName(String displayName) {
+        this.displayName = displayName;
+        return this;
+    }
+
+    public String getType() {
+        return type;
+    }
+
+    public WfProcess setType(String type) {
+        this.type = type;
+        return this;
+    }
+
+    public String getInstanceUrl() {
+        return instanceUrl;
+    }
+
+    public WfProcess setInstanceUrl(String instanceUrl) {
+        this.instanceUrl = instanceUrl;
+        return this;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public WfProcess setState(Integer state) {
+        this.state = state;
+        return this;
+    }
+
+    public Blob getContent() {
+        return content;
+    }
+
+    public WfProcess setContent(Blob content) {
+        this.content = content;
+        return this;
+    }
+
+    public Integer getVersion() {
+        return version;
+    }
+
+    public WfProcess setVersion(Integer version) {
+        this.version = version;
+        return this;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public WfProcess setCreateTime(String createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getCreator() {
+        return creator;
+    }
+
+    public WfProcess setCreator(String creator) {
+        this.creator = creator;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "WfProcess{" +
+        ", id=" + id +
+        ", name=" + name +
+        ", displayName=" + displayName +
+        ", type=" + type +
+        ", instanceUrl=" + instanceUrl +
+        ", state=" + state +
+        ", content=" + content +
+        ", version=" + version +
+        ", createTime=" + createTime +
+        ", creator=" + creator +
+        "}";
+    }
+}

+ 146 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfSurrogate.java

@@ -0,0 +1,146 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 委托代理表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_surrogate")
+public class WfSurrogate extends Model<WfSurrogate> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键ID
+     */
+    private String id;
+    /**
+     * 流程名称
+     */
+    @TableField("process_Name")
+    private String processName;
+    /**
+     * 授权人
+     */
+    private String operator;
+    /**
+     * 代理人
+     */
+    private String surrogate;
+    /**
+     * 操作时间
+     */
+    private String odate;
+    /**
+     * 开始时间
+     */
+    private String sdate;
+    /**
+     * 结束时间
+     */
+    private String edate;
+    /**
+     * 状态
+     */
+    private Integer state;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public WfSurrogate setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getProcessName() {
+        return processName;
+    }
+
+    public WfSurrogate setProcessName(String processName) {
+        this.processName = processName;
+        return this;
+    }
+
+    public String getOperator() {
+        return operator;
+    }
+
+    public WfSurrogate setOperator(String operator) {
+        this.operator = operator;
+        return this;
+    }
+
+    public String getSurrogate() {
+        return surrogate;
+    }
+
+    public WfSurrogate setSurrogate(String surrogate) {
+        this.surrogate = surrogate;
+        return this;
+    }
+
+    public String getOdate() {
+        return odate;
+    }
+
+    public WfSurrogate setOdate(String odate) {
+        this.odate = odate;
+        return this;
+    }
+
+    public String getSdate() {
+        return sdate;
+    }
+
+    public WfSurrogate setSdate(String sdate) {
+        this.sdate = sdate;
+        return this;
+    }
+
+    public String getEdate() {
+        return edate;
+    }
+
+    public WfSurrogate setEdate(String edate) {
+        this.edate = edate;
+        return this;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public WfSurrogate setState(Integer state) {
+        this.state = state;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "WfSurrogate{" +
+        ", id=" + id +
+        ", processName=" + processName +
+        ", operator=" + operator +
+        ", surrogate=" + surrogate +
+        ", odate=" + odate +
+        ", sdate=" + sdate +
+        ", edate=" + edate +
+        ", state=" + state +
+        "}";
+    }
+}

+ 239 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfTask.java

@@ -0,0 +1,239 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 任务表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_task")
+public class WfTask extends Model<WfTask> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 主键ID
+     */
+    private String id;
+    /**
+     * 流程实例ID
+     */
+    @TableField("order_Id")
+    private String orderId;
+    /**
+     * 任务名称
+     */
+    @TableField("task_Name")
+    private String taskName;
+    /**
+     * 任务显示名称
+     */
+    @TableField("display_Name")
+    private String displayName;
+    /**
+     * 任务类型
+     */
+    @TableField("task_Type")
+    private Integer taskType;
+    /**
+     * 参与类型
+     */
+    @TableField("perform_Type")
+    private Integer performType;
+    /**
+     * 任务处理人
+     */
+    private String operator;
+    /**
+     * 任务创建时间
+     */
+    @TableField("create_Time")
+    private String createTime;
+    /**
+     * 任务完成时间
+     */
+    @TableField("finish_Time")
+    private String finishTime;
+    /**
+     * 任务期望完成时间
+     */
+    @TableField("expire_Time")
+    private String expireTime;
+    /**
+     * 任务处理的url
+     */
+    @TableField("action_Url")
+    private String actionUrl;
+    /**
+     * 父任务ID
+     */
+    @TableField("parent_Task_Id")
+    private String parentTaskId;
+    /**
+     * 附属变量json存储
+     */
+    private String variable;
+    /**
+     * 版本
+     */
+    private Integer version;
+
+
+    public String getId() {
+        return id;
+    }
+
+    public WfTask setId(String id) {
+        this.id = id;
+        return this;
+    }
+
+    public String getOrderId() {
+        return orderId;
+    }
+
+    public WfTask setOrderId(String orderId) {
+        this.orderId = orderId;
+        return this;
+    }
+
+    public String getTaskName() {
+        return taskName;
+    }
+
+    public WfTask setTaskName(String taskName) {
+        this.taskName = taskName;
+        return this;
+    }
+
+    public String getDisplayName() {
+        return displayName;
+    }
+
+    public WfTask setDisplayName(String displayName) {
+        this.displayName = displayName;
+        return this;
+    }
+
+    public Integer getTaskType() {
+        return taskType;
+    }
+
+    public WfTask setTaskType(Integer taskType) {
+        this.taskType = taskType;
+        return this;
+    }
+
+    public Integer getPerformType() {
+        return performType;
+    }
+
+    public WfTask setPerformType(Integer performType) {
+        this.performType = performType;
+        return this;
+    }
+
+    public String getOperator() {
+        return operator;
+    }
+
+    public WfTask setOperator(String operator) {
+        this.operator = operator;
+        return this;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public WfTask setCreateTime(String createTime) {
+        this.createTime = createTime;
+        return this;
+    }
+
+    public String getFinishTime() {
+        return finishTime;
+    }
+
+    public WfTask setFinishTime(String finishTime) {
+        this.finishTime = finishTime;
+        return this;
+    }
+
+    public String getExpireTime() {
+        return expireTime;
+    }
+
+    public WfTask setExpireTime(String expireTime) {
+        this.expireTime = expireTime;
+        return this;
+    }
+
+    public String getActionUrl() {
+        return actionUrl;
+    }
+
+    public WfTask setActionUrl(String actionUrl) {
+        this.actionUrl = actionUrl;
+        return this;
+    }
+
+    public String getParentTaskId() {
+        return parentTaskId;
+    }
+
+    public WfTask setParentTaskId(String parentTaskId) {
+        this.parentTaskId = parentTaskId;
+        return this;
+    }
+
+    public String getVariable() {
+        return variable;
+    }
+
+    public WfTask setVariable(String variable) {
+        this.variable = variable;
+        return this;
+    }
+
+    public Integer getVersion() {
+        return version;
+    }
+
+    public WfTask setVersion(Integer version) {
+        this.version = version;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return this.id;
+    }
+
+    @Override
+    public String toString() {
+        return "WfTask{" +
+        ", id=" + id +
+        ", orderId=" + orderId +
+        ", taskName=" + taskName +
+        ", displayName=" + displayName +
+        ", taskType=" + taskType +
+        ", performType=" + performType +
+        ", operator=" + operator +
+        ", createTime=" + createTime +
+        ", finishTime=" + finishTime +
+        ", expireTime=" + expireTime +
+        ", actionUrl=" + actionUrl +
+        ", parentTaskId=" + parentTaskId +
+        ", variable=" + variable +
+        ", version=" + version +
+        "}";
+    }
+}

+ 63 - 0
mec-education/src/main/java/com/ym/mec/education/entity/WfTaskActor.java

@@ -0,0 +1,63 @@
+package com.ym.mec.education.entity;
+
+import com.baomidou.mybatisplus.annotations.TableField;
+import com.baomidou.mybatisplus.activerecord.Model;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+/**
+ * <p>
+ * 任务参与者表
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+@TableName("wf_task_actor")
+public class WfTaskActor extends Model<WfTaskActor> {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * 任务ID
+     */
+    @TableField("task_Id")
+    private String taskId;
+    /**
+     * 参与者ID
+     */
+    @TableField("actor_Id")
+    private String actorId;
+
+
+    public String getTaskId() {
+        return taskId;
+    }
+
+    public WfTaskActor setTaskId(String taskId) {
+        this.taskId = taskId;
+        return this;
+    }
+
+    public String getActorId() {
+        return actorId;
+    }
+
+    public WfTaskActor setActorId(String actorId) {
+        this.actorId = actorId;
+        return this;
+    }
+
+    @Override
+    protected Serializable pkVal() {
+        return null;
+    }
+
+    @Override
+    public String toString() {
+        return "WfTaskActor{" +
+        ", taskId=" + taskId +
+        ", actorId=" + actorId +
+        "}";
+    }
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ChargeTypeMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.ym.mec.education.entity.ChargeType;
+
+/**
+ * <p>
+ * 收费类型 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ChargeTypeMapper extends BaseMapper<ChargeType> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ChargeTypeSubjectMapperMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.ChargeTypeSubjectMapper;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 收费类型与科目的关联表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ChargeTypeSubjectMapperMapper extends BaseMapper<ChargeTypeSubjectMapper> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.ClassGroup;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 班级 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ClassGroupMapper extends BaseMapper<ClassGroup> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupRelationMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.ClassGroupRelation;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 班级关系表(定义合奏课的班级信息) Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ClassGroupRelationMapper extends BaseMapper<ClassGroupRelation> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupStudentMapperMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.ClassGroupStudentMapper;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 班级、学生关系表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ClassGroupStudentMapperMapper extends BaseMapper<ClassGroupStudentMapper> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupTeacherMapperMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.ClassGroupTeacherMapper;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 班级与老师的关联表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ClassGroupTeacherMapperMapper extends BaseMapper<ClassGroupTeacherMapper> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/ClassGroupTeacherSalaryMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.ClassGroupTeacherSalary;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 班级与老师课酬表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface ClassGroupTeacherSalaryMapper extends BaseMapper<ClassGroupTeacherSalary> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/CooperationOrganMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.CooperationOrgan;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 合作单位 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface CooperationOrganMapper extends BaseMapper<CooperationOrgan> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/CourseHomeworkMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.CourseHomework;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 课程作业表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface CourseHomeworkMapper extends BaseMapper<CourseHomework> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/CourseHomeworkTemplateMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.CourseHomeworkTemplate;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 课程作业模板 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface CourseHomeworkTemplateMapper extends BaseMapper<CourseHomeworkTemplate> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/CourseScheduleMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.CourseSchedule;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 课程计划表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface CourseScheduleMapper extends BaseMapper<CourseSchedule> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/CourseScheduleTeacherSalaryMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.CourseScheduleTeacherSalary;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 课程老师薪水表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface CourseScheduleTeacherSalaryMapper extends BaseMapper<CourseScheduleTeacherSalary> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/DemoGroupClassGroupMapperMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.DemoGroupClassGroupMapper;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 试听课与班级关联表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface DemoGroupClassGroupMapperMapper extends BaseMapper<DemoGroupClassGroupMapper> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/DemoGroupCoursesPlanMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.DemoGroupCoursesPlan;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 试听课计划 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface DemoGroupCoursesPlanMapper extends BaseMapper<DemoGroupCoursesPlan> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/DemoGroupMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.DemoGroup;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 试听课 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface DemoGroupMapper extends BaseMapper<DemoGroup> {
+
+}

+ 16 - 0
mec-education/src/main/java/com/ym/mec/education/mapper/EmployeeMapper.java

@@ -0,0 +1,16 @@
+package com.ym.mec.education.mapper;
+
+import com.ym.mec.education.entity.Employee;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+
+/**
+ * <p>
+ * 员工表 Mapper 接口
+ * </p>
+ *
+ * @author lemeng
+ * @since 2019-09-25
+ */
+public interface EmployeeMapper extends BaseMapper<Employee> {
+
+}

部分文件因文件數量過多而無法顯示