serv init
This commit is contained in:
21
schoolNewsServ/common/common-dto/pom.xml
Normal file
21
schoolNewsServ/common/common-dto/pom.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.xyzh</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
<version>${school-news.version}</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.xyzh</groupId>
|
||||
<artifactId>common-dto</artifactId>
|
||||
<version>${school-news.version}</version>
|
||||
<packaging>jar</packaging>
|
||||
<properties>
|
||||
<maven.compiler.source>21</maven.compiler.source>
|
||||
<maven.compiler.target>21</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,161 @@
|
||||
package org.xyzh.common.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Date;
|
||||
|
||||
|
||||
/**
|
||||
* @description BaseDTO.java文件描述
|
||||
* @filename BaseDTO.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-07
|
||||
*/
|
||||
public class BaseDTO implements Serializable{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description id 主键
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private String id;
|
||||
|
||||
/**
|
||||
* @description 创建时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
/**
|
||||
* @description 更新时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private Date updateTime;
|
||||
|
||||
/**
|
||||
* @description 删除时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private Date deleteTime;
|
||||
|
||||
/**
|
||||
* @description 是否删除
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private Integer deleted;
|
||||
|
||||
|
||||
|
||||
public BaseDTO() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 获取ID
|
||||
* @return String ID
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public String getID() {
|
||||
return this.id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 设置ID
|
||||
* @param id ID
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public void setID(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 获取创建时间
|
||||
* @return Date 创建时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public Date getCreateTime() {
|
||||
return createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 设置创建时间
|
||||
* @param createTime 创建时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public void setCreateTime(Date createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 获取更新时间
|
||||
* @return Date 更新时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public Date getUpdateTime() {
|
||||
return updateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 设置更新时间
|
||||
* @param updateTime 更新时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public void setUpdateTime(Date updateTime) {
|
||||
this.updateTime = updateTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 获取删除时间
|
||||
* @return Date 删除时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public Date getDeleteTime() {
|
||||
return deleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 设置删除时间
|
||||
* @param deleteTime 删除时间
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public void setDeleteTime(Date deleteTime) {
|
||||
this.deleteTime = deleteTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 获取是否删除
|
||||
* @return Integer 是否删除
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public Integer getDeleted() {
|
||||
return deleted;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 设置是否删除
|
||||
* @param deleted 是否删除
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public void setDeleted(Integer deleted) {
|
||||
this.deleted = deleted;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString(){
|
||||
return "BaseDTO { id=" + id + ", createTime=" + createTime + ", updateTime=" + updateTime + ", deleteTime=" + deleteTime + ", deleted=" + deleted + " }";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package org.xyzh.common.dto.dept;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysDept.java文件描述 部门信息
|
||||
* @filename TbSysDept.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysDept extends BaseDTO{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 部门ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String deptID;
|
||||
|
||||
/**
|
||||
* @description 父部门ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String parentID;
|
||||
|
||||
/**
|
||||
* @description 部门名称
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* @description 部门描述
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String updater;
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysDept{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", deptID='" + deptID + '\'' +
|
||||
", parentID='" + parentID + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", description='" + description + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
package org.xyzh.common.dto.dept;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysDeptRole.java文件描述 部门角色关联信息
|
||||
* @filename TbSysDeptRole.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysDeptRole extends BaseDTO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 部门ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String deptID;
|
||||
|
||||
/**
|
||||
* @description 角色ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String roleID;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public String updater;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysDeptRole{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", deptID='" + deptID + '\'' +
|
||||
", roleID='" + roleID + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,200 @@
|
||||
package org.xyzh.common.dto.log;
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysLoginLog.java文件描述 登录日志信息
|
||||
* @filename TbSysLoginLog.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysLoginLog extends BaseDTO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 用户ID
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String userID;
|
||||
|
||||
/**
|
||||
* @description 用户名
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* @description 登录IP地址
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String ipAddress;
|
||||
|
||||
/**
|
||||
* @description IP来源
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String ipSource;
|
||||
|
||||
/**
|
||||
* @description 浏览器类型
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String browser;
|
||||
|
||||
/**
|
||||
* @description 操作系统
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String os;
|
||||
|
||||
/**
|
||||
* @description 登录密码
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* @description 登录时间
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String loginTime;
|
||||
|
||||
/**
|
||||
* @description 登录状态(0失败 1成功)
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* @description 错误次数
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private Integer errorCount;
|
||||
|
||||
/**
|
||||
* @description 登录消息
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
private String message;
|
||||
|
||||
public String getUserID() {
|
||||
return userID;
|
||||
}
|
||||
|
||||
public void setUserID(String userID) {
|
||||
this.userID = userID;
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getIpAddress() {
|
||||
return ipAddress;
|
||||
}
|
||||
|
||||
public void setIpAddress(String ipAddress) {
|
||||
this.ipAddress = ipAddress;
|
||||
}
|
||||
|
||||
public String getIpSource() {
|
||||
return ipSource;
|
||||
}
|
||||
|
||||
public void setIpSource(String ipSource) {
|
||||
this.ipSource = ipSource;
|
||||
}
|
||||
|
||||
public String getBrowser() {
|
||||
return browser;
|
||||
}
|
||||
|
||||
public void setBrowser(String browser) {
|
||||
this.browser = browser;
|
||||
}
|
||||
|
||||
public String getOs() {
|
||||
return os;
|
||||
}
|
||||
|
||||
public void setOs(String os) {
|
||||
this.os = os;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getLoginTime() {
|
||||
return loginTime;
|
||||
}
|
||||
|
||||
public void setLoginTime(String loginTime) {
|
||||
this.loginTime = loginTime;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Integer getErrorCount() {
|
||||
return errorCount;
|
||||
}
|
||||
|
||||
public void setErrorCount(Integer errorCount) {
|
||||
this.errorCount = errorCount;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysLoginLog{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", userID='" + userID + '\'' +
|
||||
", username='" + username + '\'' +
|
||||
", ipAddress='" + ipAddress + '\'' +
|
||||
", ipSource='" + ipSource + '\'' +
|
||||
", browser='" + browser + '\'' +
|
||||
", os='" + os + '\'' +
|
||||
", password='" + password + '\'' +
|
||||
", loginTime='" + loginTime + '\'' +
|
||||
", status=" + status +
|
||||
", errorCount=" + errorCount +
|
||||
", message='" + message + '\'' +
|
||||
", createTime='" + getCreateTime() + '\'' +
|
||||
", updateTime='" + getUpdateTime() + '\'' +
|
||||
", deleteTime='" + getDeleteTime() + '\'' +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
package org.xyzh.common.dto.menu;
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysMenu.java文件描述 菜单信息
|
||||
* @filename TbSysMenu.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysMenu extends BaseDTO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 菜单ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String menuID;
|
||||
|
||||
/**
|
||||
* @description 父菜单ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String parentID;
|
||||
|
||||
/**
|
||||
* @description 菜单名称
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* @description 菜单描述
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* @description 菜单URL
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* @description 菜单图标
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String icon;
|
||||
|
||||
/**
|
||||
* @description 菜单顺序
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private Integer orderNum;
|
||||
|
||||
/**
|
||||
* @description 菜单类型 0目录 1菜单 2按钮
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String updater;
|
||||
|
||||
public String getMenuID() {
|
||||
return menuID;
|
||||
}
|
||||
|
||||
public void setMenuID(String menuID) {
|
||||
this.menuID = menuID;
|
||||
}
|
||||
|
||||
public String getParentID() {
|
||||
return parentID;
|
||||
}
|
||||
|
||||
public void setParentID(String parentID) {
|
||||
this.parentID = parentID;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getUrl() {
|
||||
return url;
|
||||
}
|
||||
|
||||
public void setUrl(String url) {
|
||||
this.url = url;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public Integer getOrderNum() {
|
||||
return orderNum;
|
||||
}
|
||||
|
||||
public void setOrderNum(Integer orderNum) {
|
||||
this.orderNum = orderNum;
|
||||
}
|
||||
|
||||
public Integer getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(Integer type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getCreator() {
|
||||
return creator;
|
||||
}
|
||||
|
||||
public void setCreator(String creator) {
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
public String getUpdater() {
|
||||
return updater;
|
||||
}
|
||||
|
||||
public void setUpdater(String updater) {
|
||||
this.updater = updater;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysMenu{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", menuID='" + menuID + '\'' +
|
||||
", parentID='" + parentID + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", description='" + description + '\'' +
|
||||
", url='" + url + '\'' +
|
||||
", icon='" + icon + '\'' +
|
||||
", orderNum=" + orderNum +
|
||||
", type=" + type +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
package org.xyzh.common.dto.menu;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysMenuPermission.java文件描述 菜单权限信息
|
||||
* @filename TbSysMenuPermission.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysMenuPermission extends BaseDTO{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 菜单ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String menuID;
|
||||
|
||||
/**
|
||||
* @description 权限ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String permissionID;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String updater;
|
||||
|
||||
public String getMenuID() {
|
||||
return menuID;
|
||||
}
|
||||
|
||||
public void setMenuID(String menuID) {
|
||||
this.menuID = menuID;
|
||||
}
|
||||
|
||||
public String getPermissionID() {
|
||||
return permissionID;
|
||||
}
|
||||
|
||||
public void setPermissionID(String permissionID) {
|
||||
this.permissionID = permissionID;
|
||||
}
|
||||
|
||||
public String getCreator() {
|
||||
return creator;
|
||||
}
|
||||
|
||||
public void setCreator(String creator) {
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
public String getUpdater() {
|
||||
return updater;
|
||||
}
|
||||
|
||||
public void setUpdater(String updater) {
|
||||
this.updater = updater;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysMenuPermission{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", menuID='" + menuID + '\'' +
|
||||
", permissionID='" + permissionID + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
package org.xyzh.common.dto.permission;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysPermission.java文件描述 权限信息
|
||||
* @filename TbSysPermission.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysPermission extends BaseDTO{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 权限ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String permissionID;
|
||||
|
||||
/**
|
||||
* @description 权限名称
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* @description 权限描述
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* @description 权限编码
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String updater;
|
||||
|
||||
public String getPermissionID() {
|
||||
return permissionID;
|
||||
}
|
||||
|
||||
public void setPermissionID(String permissionID) {
|
||||
this.permissionID = permissionID;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public void setCode(String code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
public String getCreator() {
|
||||
return creator;
|
||||
}
|
||||
|
||||
public void setCreator(String creator) {
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
public String getUpdater() {
|
||||
return updater;
|
||||
}
|
||||
|
||||
public void setUpdater(String updater) {
|
||||
this.updater = updater;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysPermission{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", permissionID='" + permissionID + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", description='" + description + '\'' +
|
||||
", code='" + code + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
package org.xyzh.common.dto.role;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysRole.java文件描述 角色信息
|
||||
* @filename TbSysRole.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysRole extends BaseDTO {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 角色ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String roleID;
|
||||
|
||||
/**
|
||||
* @description 角色名称
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* @description 角色描述
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String description;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String updater;
|
||||
|
||||
public String getRoleID() {
|
||||
return roleID;
|
||||
}
|
||||
|
||||
public void setRoleID(String roleID) {
|
||||
this.roleID = roleID;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCreator() {
|
||||
return creator;
|
||||
}
|
||||
|
||||
public void setCreator(String creator) {
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
public String getUpdater() {
|
||||
return updater;
|
||||
}
|
||||
|
||||
public void setUpdater(String updater) {
|
||||
this.updater = updater;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysRole{" +
|
||||
"id='" + getID() + '\'' +
|
||||
",roleID='" + roleID + '\'' +
|
||||
", name='" + name + '\'' +
|
||||
", description='" + description + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
package org.xyzh.common.dto.role;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
/**
|
||||
* @description TbSysRolePermission.java文件描述 角色权限关联信息
|
||||
* @filename TbSysRolePermission.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public class TbSysRolePermission extends BaseDTO{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 角色ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String roleID;
|
||||
|
||||
/**
|
||||
* @description 权限ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String permissionID;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2025-09-16
|
||||
*/
|
||||
public String updater;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysRolePermission{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", roleID='" + roleID + '\'' +
|
||||
", permissionID='" + permissionID + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package org.xyzh.common.dto.user;
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysUser.java文件描述
|
||||
* @filename TbSysUser.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
public class TbSysUser extends BaseDTO {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 用户名
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private String username;
|
||||
|
||||
/**
|
||||
* @description 密码
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private String password;
|
||||
|
||||
/**
|
||||
* @description 邮箱
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private String email;
|
||||
|
||||
/**
|
||||
* @description 手机号
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private String phone;
|
||||
|
||||
/**
|
||||
* @description 微信号
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private String wechatID;
|
||||
|
||||
/**
|
||||
* @description 用户状态
|
||||
* @author yslg
|
||||
* @since 2025-09-10
|
||||
*/
|
||||
private Integer status;
|
||||
|
||||
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getWechatID() {
|
||||
return wechatID;
|
||||
}
|
||||
|
||||
public void setWechatID(String wechatID) {
|
||||
this.wechatID = wechatID;
|
||||
}
|
||||
|
||||
public Integer getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(Integer status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysUser{" +
|
||||
"id=" + getID() +
|
||||
", username='" + username + '\'' +
|
||||
", password='" + password + '\'' +
|
||||
", email='" + email + '\'' +
|
||||
", phone='" + phone + '\'' +
|
||||
", wechatID='" + wechatID + '\'' +
|
||||
", status=" + status +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
package org.xyzh.common.dto.user;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysUserInfo.java文件描述 用户信息
|
||||
* @filename TbSysUserInfo.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
public class TbSysUserInfo extends BaseDTO {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 用户ID
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String userID;
|
||||
|
||||
/**
|
||||
* @description 头像
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String avatar;
|
||||
|
||||
/**
|
||||
* @description 性别(0-未知,1-女,2-男)
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private Integer gender;
|
||||
|
||||
/**
|
||||
* @description 姓
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String familyName;
|
||||
|
||||
/**
|
||||
* @description 名
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String givenName;
|
||||
|
||||
/**
|
||||
* @description 全名
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String fullName;
|
||||
|
||||
/**
|
||||
* @description ID卡号
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String idCard;
|
||||
|
||||
/**
|
||||
* @description 地址
|
||||
* @author yslg
|
||||
* @since 2025-09-11
|
||||
*/
|
||||
private String address;
|
||||
|
||||
public String getUserID() {
|
||||
return userID;
|
||||
}
|
||||
|
||||
public void setUserID(String userID) {
|
||||
this.userID = userID;
|
||||
}
|
||||
|
||||
public String getAvatar() {
|
||||
return avatar;
|
||||
}
|
||||
|
||||
public void setAvatar(String avatar) {
|
||||
this.avatar = avatar;
|
||||
}
|
||||
|
||||
public Integer getGender() {
|
||||
return gender;
|
||||
}
|
||||
|
||||
public void setGender(Integer gender) {
|
||||
this.gender = gender;
|
||||
}
|
||||
|
||||
public String getFamilyName() {
|
||||
return familyName;
|
||||
}
|
||||
|
||||
public void setFamilyName(String familyName) {
|
||||
this.familyName = familyName;
|
||||
}
|
||||
|
||||
public String getGivenName() {
|
||||
return givenName;
|
||||
}
|
||||
|
||||
public void setGivenName(String givenName) {
|
||||
this.givenName = givenName;
|
||||
}
|
||||
|
||||
public String getFullName() {
|
||||
return fullName;
|
||||
}
|
||||
|
||||
public void setFullName(String fullName) {
|
||||
this.fullName = fullName;
|
||||
}
|
||||
|
||||
public String getIdCard() {
|
||||
return idCard;
|
||||
}
|
||||
|
||||
public void setIdCard(String idCard) {
|
||||
this.idCard = idCard;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysUserInfo{" +
|
||||
"id=" + getID() +
|
||||
", userID='" + userID + '\'' +
|
||||
", avatar='" + avatar + '\'' +
|
||||
", gender=" + gender +
|
||||
", familyName='" + familyName + '\'' +
|
||||
", givenName='" + givenName + '\'' +
|
||||
", fullName='" + fullName + '\'' +
|
||||
", idCard='" + idCard + '\'' +
|
||||
", address='" + address + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package org.xyzh.common.dto.user;
|
||||
|
||||
import org.xyzh.common.dto.BaseDTO;
|
||||
|
||||
/**
|
||||
* @description TbSysUserRole.java文件描述 用户角色
|
||||
* @filename TbSysUserRole.java
|
||||
* @author yslg
|
||||
* @copyright xyzh
|
||||
* @since 2025-09-26
|
||||
*/
|
||||
public class TbSysUserRole extends BaseDTO{
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* @description 用户ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String userID;
|
||||
|
||||
/**
|
||||
* @description 角色ID
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String roleID;
|
||||
|
||||
/**
|
||||
* @description 创建人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String creator;
|
||||
|
||||
/**
|
||||
* @description 更新人
|
||||
* @author yslg
|
||||
* @since 2024-06
|
||||
*/
|
||||
private String updater;
|
||||
|
||||
public String getUserID() {
|
||||
return userID;
|
||||
}
|
||||
|
||||
public void setUserID(String userID) {
|
||||
this.userID = userID;
|
||||
}
|
||||
|
||||
public String getRoleID() {
|
||||
return roleID;
|
||||
}
|
||||
|
||||
public void setRoleID(String roleID) {
|
||||
this.roleID = roleID;
|
||||
}
|
||||
|
||||
public String getCreator() {
|
||||
return creator;
|
||||
}
|
||||
|
||||
public void setCreator(String creator) {
|
||||
this.creator = creator;
|
||||
}
|
||||
|
||||
public String getUpdater() {
|
||||
return updater;
|
||||
}
|
||||
|
||||
public void setUpdater(String updater) {
|
||||
this.updater = updater;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TbSysUserRole{" +
|
||||
"id='" + getID() + '\'' +
|
||||
", userID='" + userID + '\'' +
|
||||
", roleID='" + roleID + '\'' +
|
||||
", creator='" + creator + '\'' +
|
||||
", updater='" + updater + '\'' +
|
||||
", createTime=" + getCreateTime() +
|
||||
", updateTime=" + getUpdateTime() +
|
||||
", deleteTime=" + getDeleteTime() +
|
||||
", deleted=" + getDeleted() +
|
||||
'}';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user