版本修改 4-26 todo
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:23
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictCommon extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID = 4167649996979863792L;
|
||||
@ApiModelProperty("code值")
|
||||
private String dictType;
|
||||
@ApiModelProperty("key")
|
||||
private String dictKey;
|
||||
@ApiModelProperty("value")
|
||||
private String dictValue;
|
||||
@ApiModelProperty("父级sid")
|
||||
private String parentSid;
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
import com.yxt.demo.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 15:34
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictCommonDto implements Dto {
|
||||
|
||||
private String sid;
|
||||
|
||||
@ApiModelProperty(value = "数据项值", required = true)
|
||||
@NotBlank(message = "数据项值不能为空")
|
||||
private String dictKey;
|
||||
|
||||
@ApiModelProperty(value = "数据类型", required = true)
|
||||
@NotBlank(message = "数据类型不能为空")
|
||||
private String dictType;
|
||||
|
||||
@ApiModelProperty(value = "数据项相对应的value值", required = true)
|
||||
@NotBlank(message = "数据项相对应的value值不能为空")
|
||||
private String dictValue;
|
||||
|
||||
@ApiModelProperty(value = "数据项的父级sid", required = true)
|
||||
@NotBlank(message = "数据项的父级sid不能为空")
|
||||
private String parentSid;
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
import com.yxt.demo.common.core.query.PagerQuery;
|
||||
import com.yxt.demo.common.core.result.ResultBean;
|
||||
import com.yxt.demo.common.core.vo.PagerVo;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.validation.Valid;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:16
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "数据字典数据项")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-DictCommon",
|
||||
name = "demo-system",
|
||||
path = "v1/DictCommon",
|
||||
fallback = DictCommonFeignFallback.class)
|
||||
public interface DictCommonFeign {
|
||||
|
||||
@PostMapping(value = "/save")
|
||||
@ApiOperation(value = "数据字典数据项保存")
|
||||
ResultBean save(@Valid @RequestBody DictCommonDto dictCommonDto);
|
||||
|
||||
@DeleteMapping("/delete/{sid}")
|
||||
@ApiOperation(value = "删除")
|
||||
ResultBean delete(@ApiParam(value = "数据项sid", required = true) @PathVariable("sid") String sid);
|
||||
|
||||
@PostMapping("/pageList")
|
||||
@ApiOperation(value = "数据字典数据项分页列表")
|
||||
ResultBean<PagerVo<DictCommonVo>> pageList(@RequestBody PagerQuery<DictCommonQuery> pagerQuery);
|
||||
|
||||
@GetMapping("/typeValues")
|
||||
@ApiOperation("下拉框的获取")
|
||||
ResultBean<List<DictCommonVo>> getTypeValues(@RequestParam("type") String type, @RequestParam(value = "psid", defaultValue = "0") String psid);
|
||||
|
||||
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:46
|
||||
* @Description
|
||||
*/
|
||||
public class DictCommonFeignFallback {
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
import com.yxt.demo.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 16:20
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictCommonQuery implements Query {
|
||||
private static final long serialVersionUID = 6235063340152975098L;
|
||||
|
||||
@ApiModelProperty(value = "数据字典条目key", required = false)
|
||||
private String dictKey;
|
||||
|
||||
@ApiModelProperty(value = "数据字典文本", required = false)
|
||||
private String dictValue;
|
||||
|
||||
@ApiModelProperty(value = "dictType")
|
||||
private String dictType;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
import com.yxt.demo.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author dimengzhe
|
||||
* @date 2021/9/30 15:33
|
||||
* @description 下拉框条件
|
||||
*/
|
||||
@Data
|
||||
public class DictCommonTypeQuery implements Query {
|
||||
private static final long serialVersionUID = 139959085226402464L;
|
||||
|
||||
@ApiModelProperty(value = "数据字典类型", required = true)
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "psid", required = false, example = "0")
|
||||
private String psid;
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_common;
|
||||
|
||||
import com.yxt.demo.common.core.vo.Vo;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 16:19
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictCommonVo implements Vo {
|
||||
|
||||
private static final long serialVersionUID = 5516430679944504663L;
|
||||
@ApiModelProperty(value = "数据字典项key")
|
||||
private String dictKey;
|
||||
|
||||
@ApiModelProperty(value = "数据字典类型")
|
||||
private String dictType;
|
||||
|
||||
@ApiModelProperty(value = "数据字典项名称")
|
||||
private String dictValue;
|
||||
@ApiModelProperty(value = "父级sid:0为第一级")
|
||||
private String parentSid;
|
||||
|
||||
private String sid;
|
||||
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_type;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:27
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictType extends BaseEntity {
|
||||
private static final long serialVersionUID = 8854804037013178995L;
|
||||
|
||||
@ApiModelProperty("类型代码")
|
||||
private String dictTypeCode;
|
||||
@ApiModelProperty("类型名称")
|
||||
private String dictTypeName;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_type;
|
||||
|
||||
import com.yxt.demo.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 16:48
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictTypeDto implements Dto {
|
||||
private static final long serialVersionUID = -7638091202643596231L;
|
||||
|
||||
@ApiModelProperty(value = "类型代码", required = true)
|
||||
@NotBlank(message = "类型代码不能为空")
|
||||
private String dictTypeCode;
|
||||
|
||||
@ApiModelProperty(value = "类型名称", required = true)
|
||||
@NotBlank(message = "类型名称不能为空")
|
||||
private String dictTypeName;
|
||||
|
||||
@ApiModelProperty(value = "类型说明", required = false)
|
||||
private String remarks;
|
||||
|
||||
private String sid;
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_type;
|
||||
|
||||
import com.yxt.demo.common.core.query.PagerQuery;
|
||||
import com.yxt.demo.common.core.result.ResultBean;
|
||||
import com.yxt.demo.common.core.vo.PagerVo;
|
||||
import com.yxt.demo.system.api.dict_common.DictCommonFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.validation.Valid;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:21
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "数据字典数据项")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-DictType",
|
||||
name = "demo-system",
|
||||
path = "v1/DictType",
|
||||
fallback = DictTypeFeignFallback.class)
|
||||
public interface DictTypeFeign {
|
||||
|
||||
@PostMapping(value = "/save")
|
||||
@ResponseBody
|
||||
@ApiOperation(value = "数据字典类型保存")
|
||||
ResultBean save(@Valid @RequestBody DictTypeDto dictTypeDto);
|
||||
|
||||
@PostMapping("/pageList")
|
||||
@ApiOperation(value = "数据字典类型分页列表")
|
||||
ResultBean<PagerVo<DictTypeVo>> pageList(@RequestBody PagerQuery<DictTypeQuery> pagerQuery);
|
||||
|
||||
@DeleteMapping("/delete/{sid}")
|
||||
@ApiOperation(value = "数据字典类型删除")
|
||||
ResultBean delete(@ApiParam(value = "sid", required = true) @PathVariable("sid") String sid);
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_type;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:47
|
||||
* @Description
|
||||
*/
|
||||
public class DictTypeFeignFallback {
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_type;
|
||||
|
||||
import com.yxt.demo.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 17:15
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictTypeQuery implements Query {
|
||||
|
||||
@ApiModelProperty(value = "数据字典code", required = false)
|
||||
private String dictTypeCode;
|
||||
|
||||
@ApiModelProperty(value = "数据分类名称", required = false)
|
||||
private String dictTypeName;
|
||||
|
||||
@ApiModelProperty(value = "说明", required = false)
|
||||
private String remarks;
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
package com.yxt.demo.system.api.dict_type;
|
||||
|
||||
import com.yxt.demo.common.core.vo.Vo;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 17:16
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class DictTypeVo implements Vo {
|
||||
private static final long serialVersionUID = -3404457483419237424L;
|
||||
|
||||
@ApiModelProperty(value = "数据类型sid")
|
||||
private String sid;
|
||||
|
||||
@ApiModelProperty(value = "类型代码")
|
||||
private String dictTypeCode;
|
||||
|
||||
@ApiModelProperty(value = "类型名称")
|
||||
private String dictTypeName;
|
||||
|
||||
@ApiModelProperty(value = "说明")
|
||||
private String remarks;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_forum;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:27
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysForum extends BaseEntity {
|
||||
private static final long serialVersionUID = -6162657517570831690L;
|
||||
|
||||
@ApiModelProperty("标题")
|
||||
private String title;
|
||||
@ApiModelProperty("内容")
|
||||
private String content;
|
||||
@ApiModelProperty("类别")
|
||||
private String type;
|
||||
@ApiModelProperty("类别key")
|
||||
private String typeKey;
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_forum;
|
||||
|
||||
import com.yxt.demo.system.api.dict_type.DictTypeFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:21
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "论坛")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysForum",
|
||||
name = "demo-system",
|
||||
path = "v1/sysforum",
|
||||
fallback = SysForumFeignFallback.class)
|
||||
public interface SysForumFeign {
|
||||
|
||||
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_forum;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:47
|
||||
* @Description
|
||||
*/
|
||||
public class SysForumFeignFallback {
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_forum_comment;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysForumComment extends BaseEntity {
|
||||
private static final long serialVersionUID = 3863241346399021803L;
|
||||
|
||||
@ApiModelProperty("论坛sid")
|
||||
private String forumSid;
|
||||
@ApiModelProperty("内容")
|
||||
private String content;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_forum_comment;
|
||||
|
||||
import com.yxt.demo.system.api.sys_forum.SysForumFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:22
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "论坛评论")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysForumComment",
|
||||
name = "demo-system",
|
||||
path = "v1/SysForumComment",
|
||||
fallback = SysForumCommentFeignFallback.class)
|
||||
public interface SysForumCommentFeign {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_forum_comment;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 15:25
|
||||
* @Description
|
||||
*/
|
||||
public class SysForumCommentFeignFallback {
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_info;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysInfo extends BaseEntity {
|
||||
private static final long serialVersionUID = -6222893927885655368L;
|
||||
|
||||
@ApiModelProperty("用户sid")
|
||||
private String userSid;
|
||||
@ApiModelProperty("学号、工号")
|
||||
private String infoId;
|
||||
@ApiModelProperty("姓名")
|
||||
private String name;
|
||||
@ApiModelProperty("性别")
|
||||
private String sex;
|
||||
@ApiModelProperty("性别key")
|
||||
private String sexKey;
|
||||
@ApiModelProperty("入学年份")
|
||||
private String studyYear;
|
||||
@ApiModelProperty("系别")
|
||||
private String department;
|
||||
@ApiModelProperty("专业")
|
||||
private String speciality;
|
||||
@ApiModelProperty("班级")
|
||||
private String calss;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_info;
|
||||
|
||||
import com.yxt.demo.system.api.sys_user.SysUserFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:50
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "基础信息")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysInfo",
|
||||
name = "demo-system",
|
||||
path = "v1/sysinfo",
|
||||
fallback = SysInfoFeignFallback.class)
|
||||
public interface SysInfoFeign {
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_info;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:53
|
||||
* @Description
|
||||
*/
|
||||
@Component
|
||||
public class SysInfoFeignFallback {
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_info_ship;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysInfoShip extends BaseEntity {
|
||||
private static final long serialVersionUID = -8733034109620831216L;
|
||||
@ApiModelProperty("工号")
|
||||
private String teacherNo;
|
||||
@ApiModelProperty("教师")
|
||||
private String teacherName;
|
||||
@ApiModelProperty("学号")
|
||||
private String studentNo;
|
||||
@ApiModelProperty("学生")
|
||||
private String studentName;
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysMenu extends BaseEntity {
|
||||
private static final long serialVersionUID = 1451455109001765427L;
|
||||
@ApiModelProperty("菜单名称")
|
||||
private String name;
|
||||
@ApiModelProperty("菜单路由路径")
|
||||
private String menuUrl;
|
||||
@ApiModelProperty("菜单对应的前端页面路径")
|
||||
private String pageUrl;
|
||||
@ApiModelProperty("菜单图标地址")
|
||||
private String iconUrl;
|
||||
@ApiModelProperty("资源sid")
|
||||
private String sourceSid;
|
||||
@ApiModelProperty("是否显示:1显示,0不显示")
|
||||
private String isShow;
|
||||
@ApiModelProperty("排序号")
|
||||
private Integer sortNo;
|
||||
|
||||
private String pSid;
|
||||
@ApiModelProperty("前端页面路径重定向")
|
||||
private String pageUrlRedirect;
|
||||
@ApiModelProperty("前端页面名称")
|
||||
private String pageName;
|
||||
@ApiModelProperty("前端页面别名")
|
||||
private String pageAliasName;
|
||||
@ApiModelProperty("菜单类型(0左侧当行菜单1页面中的功能)")
|
||||
private String menuType;
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu;
|
||||
|
||||
import com.yxt.demo.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 21:27
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysMenuDto implements Dto {
|
||||
private static final long serialVersionUID = -3578983530779493714L;
|
||||
|
||||
private String sid;
|
||||
@ApiModelProperty("图标地址")
|
||||
private String iconUrl;
|
||||
@ApiModelProperty("是否可见:默认为1显示,0为不显示")
|
||||
private String isShow;
|
||||
@ApiModelProperty("菜单名称")
|
||||
private String name;
|
||||
@ApiModelProperty("前端页面路径")
|
||||
private String pageUrl;
|
||||
@ApiModelProperty("上级名称")
|
||||
private String pname;
|
||||
@ApiModelProperty("父级sid")
|
||||
private String psid;
|
||||
@ApiModelProperty("排序")
|
||||
private int sortNo;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu;
|
||||
|
||||
import com.yxt.demo.common.core.result.ResultBean;
|
||||
import com.yxt.demo.system.api.sys_info.SysInfoFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:08
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "菜单表")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysMenu",
|
||||
name = "demo-system",
|
||||
path = "v1/SysMenu",
|
||||
fallback = SysMenuFeignFallback.class)
|
||||
public interface SysMenuFeign {
|
||||
|
||||
@PostMapping(value = "/save")
|
||||
@ApiOperation(value = "保存修改")
|
||||
ResultBean saveOrUpdates(@RequestBody SysMenuDto dto);
|
||||
|
||||
@PostMapping(value = "/list")
|
||||
@ApiOperation(value = "列表")
|
||||
ResultBean<SysMenuVo> list(@RequestBody SysMenuQuery sysMenuQuery);
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:09
|
||||
* @Description
|
||||
*/
|
||||
@Component
|
||||
public class SysMenuFeignFallback {
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu;
|
||||
|
||||
import com.yxt.demo.common.core.query.Query;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 22:15
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysMenuQuery implements Query {
|
||||
private static final long serialVersionUID = 4807896221608672228L;
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu;
|
||||
|
||||
import com.yxt.demo.common.core.vo.Vo;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 22:15
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysMenuVo implements Vo {
|
||||
private static final long serialVersionUID = 4190346430531800875L;
|
||||
|
||||
@ApiModelProperty("菜单名称")
|
||||
private String name;
|
||||
@ApiModelProperty("排序号")
|
||||
private Integer sortNo;
|
||||
@ApiModelProperty("上级sid")
|
||||
private String pSid;
|
||||
@ApiModelProperty("上级菜单名称")
|
||||
private String pName;
|
||||
@ApiModelProperty("sid")
|
||||
private String sid;
|
||||
@ApiModelProperty("前端页面地址")
|
||||
private String pageUrl;
|
||||
@ApiModelProperty("图标")
|
||||
private String iconUrl;
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remarks;
|
||||
@ApiModelProperty("子菜单")
|
||||
private List<SysMenuVo> children;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_menu_role;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysMenuRole extends BaseEntity {
|
||||
private static final long serialVersionUID = 451643872797644349L;
|
||||
|
||||
@ApiModelProperty("菜单sid")
|
||||
private String menuSid;
|
||||
@ApiModelProperty("角色sid")
|
||||
private String roleSid;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_notice;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysNotice extends BaseEntity {
|
||||
private static final long serialVersionUID = 1231722267699962585L;
|
||||
|
||||
@ApiModelProperty("标题")
|
||||
private String title;
|
||||
@ApiModelProperty("内容")
|
||||
private String content;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_notice;
|
||||
|
||||
import com.yxt.demo.system.api.dict_type.DictTypeFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:23
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "公告")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysNotice",
|
||||
name = "demo-system",
|
||||
path = "v1/SysNotice",
|
||||
fallback = SysNoticeFeignFallback.class)
|
||||
public interface SysNoticeFeign {
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_notice;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 22:42
|
||||
* @Description
|
||||
*/
|
||||
@Component
|
||||
public class SysNoticeFeignFallback {
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_plan;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysPlan extends BaseEntity {
|
||||
private static final long serialVersionUID = -7482950267556936041L;
|
||||
|
||||
@ApiModelProperty("工号")
|
||||
private String teacherNo;
|
||||
@ApiModelProperty("学号")
|
||||
private String studentNo;
|
||||
|
||||
@ApiModelProperty("学习计划内容")
|
||||
private String planContent;
|
||||
@ApiModelProperty("反馈意见")
|
||||
private String planOpinion;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_plan;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:24
|
||||
* @Description
|
||||
*/
|
||||
public interface SysPlanFeign {
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_plan_schedule;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysPlanSchedule extends BaseEntity {
|
||||
private static final long serialVersionUID = 1774768251703010035L;
|
||||
|
||||
@ApiModelProperty("计划sid")
|
||||
private String planSid;
|
||||
@ApiModelProperty("进度内容")
|
||||
private String planContent;
|
||||
@ApiModelProperty("反馈意见")
|
||||
private String planOpinion;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_plan_schedule;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:25
|
||||
* @Description
|
||||
*/
|
||||
public interface SysPlanScheduleFeign {
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_resources;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysResources extends BaseEntity {
|
||||
private static final long serialVersionUID = 2392261901770217832L;
|
||||
|
||||
private String filePath;
|
||||
|
||||
private String type;
|
||||
|
||||
private String typeKey;
|
||||
|
||||
private String content;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_resources;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:26
|
||||
* @Description
|
||||
*/
|
||||
public interface SysResourcesFeign {
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_role;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysRole extends BaseEntity {
|
||||
private static final long serialVersionUID = -1613625558809353237L;
|
||||
@ApiModelProperty("角色名称")
|
||||
private String name;
|
||||
@ApiModelProperty("排序")
|
||||
private int sort;
|
||||
@ApiModelProperty("角色类型")
|
||||
private int type;
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_role;
|
||||
|
||||
import com.yxt.demo.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysRoleDto implements Dto {
|
||||
private static final long serialVersionUID = 2068661415449582838L;
|
||||
|
||||
@ApiModelProperty("角色名称")
|
||||
@NotBlank(message = "角色名称不能为空")
|
||||
private String name;
|
||||
@ApiModelProperty("排序")
|
||||
private int sort;
|
||||
@ApiModelProperty("角色类型")
|
||||
@NotBlank(message = "角色类型不能为空")
|
||||
private int type;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_role;
|
||||
|
||||
import com.yxt.demo.common.core.result.ResultBean;
|
||||
import com.yxt.demo.system.api.sys_user.SysUserDto;
|
||||
import com.yxt.demo.system.api.sys_user.SysUserFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:27
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "角色表")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysRole",
|
||||
name = "demo-system",
|
||||
path = "v1/sysrole",
|
||||
fallback = SysRoleFeignFallback.class)
|
||||
public interface SysRoleFeign {
|
||||
|
||||
@ApiOperation(value = "添加角色")
|
||||
@PostMapping("/addRole")
|
||||
ResultBean addRole(@RequestBody SysRole sysRole);
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_role;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:28
|
||||
* @Description
|
||||
*/
|
||||
@Component
|
||||
public class SysRoleFeignFallback {
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_score;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysScore extends BaseEntity {
|
||||
private static final long serialVersionUID = -1676424079241884880L;
|
||||
@ApiModelProperty("类别")
|
||||
private String type;
|
||||
@ApiModelProperty("类别Key")
|
||||
private String typeKey;
|
||||
@ApiModelProperty("成绩")
|
||||
private String score;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_score;
|
||||
|
||||
import com.yxt.demo.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @author shkstart
|
||||
* @create 2023-04-25-16:07
|
||||
*/
|
||||
@Data
|
||||
public class SysScoreDto implements Dto {
|
||||
|
||||
@ApiModelProperty("类别")
|
||||
@NotBlank(message = "类别不能为空")
|
||||
private String type;
|
||||
@ApiModelProperty("类别Key")
|
||||
@NotBlank(message = "类别Key不能为空")
|
||||
private String typeKey;
|
||||
@ApiModelProperty("成绩")
|
||||
private String score;
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_score;
|
||||
|
||||
import com.yxt.demo.common.core.result.ResultBean;
|
||||
import com.yxt.demo.system.api.sys_user.SysUserDto;
|
||||
import com.yxt.demo.system.api.sys_user.SysUserFeignFallback;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:28
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "用户表")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysScore",
|
||||
name = "demo-system",
|
||||
path = "v1/sysscore",
|
||||
fallback = SysScoreFeignFallback.class)
|
||||
public interface SysScoreFeign {
|
||||
|
||||
@ApiOperation(value = "查询成绩")
|
||||
@PostMapping("/save")
|
||||
ResultBean save(@RequestBody SysScoreDto sysScoreDto);
|
||||
|
||||
@ApiOperation(value = "成绩修改")
|
||||
@PostMapping("/update")
|
||||
ResultBean alterById(@RequestBody SysScore sysScore);
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_score;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author shkstart
|
||||
* @create 2023-04-25-16:10
|
||||
*/
|
||||
@Component
|
||||
public class SysScoreFeignFallback {
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_student_score;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysStudentScore extends BaseEntity {
|
||||
private static final long serialVersionUID = -3123378722999542918L;
|
||||
|
||||
@ApiModelProperty("类别")
|
||||
private String type;
|
||||
|
||||
private String typeKey;
|
||||
@ApiModelProperty("学号")
|
||||
private String studentNo;
|
||||
@ApiModelProperty("四级")
|
||||
private String fourScore;
|
||||
@ApiModelProperty("六级")
|
||||
private String sixScore;
|
||||
@ApiModelProperty("计算机成绩")
|
||||
private String computerScore;
|
||||
@ApiModelProperty("是否就业:1是,0否")
|
||||
private int employment;
|
||||
@ApiModelProperty("是否升学")
|
||||
private int enterSchool;
|
||||
@ApiModelProperty("是否考公通过")
|
||||
private int kaoGong;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_student_score;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 14:29
|
||||
* @Description
|
||||
*/
|
||||
public interface SysStudentScoreFeign {
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_user;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:29
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysUser extends BaseEntity {
|
||||
private static final long serialVersionUID = -4151693504419808527L;
|
||||
@ApiModelProperty("用户名工号")
|
||||
private String userName;
|
||||
@ApiModelProperty("姓名")
|
||||
private String name;
|
||||
@ApiModelProperty("昵称")
|
||||
private String nickName;
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
@ApiModelProperty("基础信息sid")
|
||||
private String infoSid;
|
||||
@ApiModelProperty("类型:0学生、1教师、2管理员")
|
||||
private int type;
|
||||
@ApiModelProperty("是否已激活:0未激活,1已激活")
|
||||
private int hasActivated;
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_user;
|
||||
|
||||
import com.yxt.demo.common.core.dto.Dto;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:28
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysUserDto implements Dto {
|
||||
private static final long serialVersionUID = 2068661415449582838L;
|
||||
|
||||
@ApiModelProperty("学号")
|
||||
@NotBlank(message = "学号不能为空")
|
||||
private String userName;
|
||||
@ApiModelProperty("姓名")
|
||||
@NotBlank(message = "姓名不能为空")
|
||||
private String name;
|
||||
@ApiModelProperty("密码")
|
||||
@NotBlank(message = "密码不能为空")
|
||||
private String password;
|
||||
@ApiModelProperty("确认密码")
|
||||
@NotBlank(message = "确认密码不能为空")
|
||||
private String confirmPassword;
|
||||
@ApiModelProperty("手机号")
|
||||
@NotBlank(message = "手机号不能为空")
|
||||
private String mobile;
|
||||
|
||||
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_user;
|
||||
|
||||
import com.yxt.demo.common.core.result.ResultBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:26
|
||||
* @Description
|
||||
*/
|
||||
@Api(tags = "用户表")
|
||||
@FeignClient(
|
||||
contextId = "demo-system-SysUser",
|
||||
name = "demo-system",
|
||||
path = "v1/sysuser",
|
||||
fallback = SysUserFeignFallback.class)
|
||||
public interface SysUserFeign {
|
||||
|
||||
@ApiOperation(value = "学生注册")
|
||||
@PostMapping("/register")
|
||||
ResultBean register(@RequestBody SysUserDto dto);
|
||||
|
||||
|
||||
@ApiOperation(value = "登录")
|
||||
@PostMapping("/login")
|
||||
ResultBean login(@RequestBody SysUserLoginQuery query);
|
||||
|
||||
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_user;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 11:28
|
||||
* @Description
|
||||
*/
|
||||
@Component
|
||||
public class SysUserFeignFallback {
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_user;
|
||||
|
||||
import com.yxt.demo.common.core.query.Query;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/24 13:36
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysUserLoginQuery implements Query {
|
||||
private static final long serialVersionUID = 4963834204184842445L;
|
||||
|
||||
@ApiModelProperty("工号")
|
||||
private String userName;
|
||||
@ApiModelProperty("密码")
|
||||
private String password;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package com.yxt.demo.system.api.sys_user_role;
|
||||
|
||||
import com.yxt.demo.common.core.domain.BaseEntity;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author dimengzhe
|
||||
* @Date 2023/4/20 0:30
|
||||
* @Description
|
||||
*/
|
||||
@Data
|
||||
public class SysUserRole extends BaseEntity {
|
||||
private static final long serialVersionUID = 1275775509946006356L;
|
||||
@ApiModelProperty("用户sid")
|
||||
private String userSid;
|
||||
@ApiModelProperty("角色sid")
|
||||
private String roleSid;
|
||||
}
|
||||
Reference in New Issue
Block a user