初始代码
This commit is contained in:
22
yunzhupaas-app/yunzhupaas-app-entity/pom.xml
Normal file
22
yunzhupaas-app/yunzhupaas-app-entity/pom.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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">
|
||||
<parent>
|
||||
<artifactId>yunzhupaas-app</artifactId>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<version>5.2.0-RELEASE</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>yunzhupaas-app-entity</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.yunzhupaas</groupId>
|
||||
<artifactId>yunzhupaas-common-all</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.yunzhupaas.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.yunzhupaas.base.entity.SuperExtendEntity;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* app常用数据
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-08-08
|
||||
*/
|
||||
@Data
|
||||
@TableName("base_app_data")
|
||||
public class AppDataEntity extends SuperExtendEntity.SuperExtendDEEntity<String> {
|
||||
|
||||
/**
|
||||
* 对象类型
|
||||
*/
|
||||
@TableField("f_object_type")
|
||||
private String objectType;
|
||||
|
||||
/**
|
||||
* 对象主键
|
||||
*/
|
||||
@TableField("f_object_id")
|
||||
private String objectId;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*/
|
||||
@TableField("f_object_data")
|
||||
private String objectData;
|
||||
|
||||
/**
|
||||
* 关联系统id
|
||||
*/
|
||||
@TableField("f_system_id")
|
||||
private String systemId;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
/**
|
||||
* app常用数据
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-07-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppDataCrForm {
|
||||
@NotBlank(message = "必填")
|
||||
@Schema(description = "应用类型")
|
||||
private String objectType;
|
||||
@NotBlank(message = "必填")
|
||||
@Schema(description = "应用主键")
|
||||
private String objectId;
|
||||
@Schema(description = "数据")
|
||||
private String objectData;
|
||||
@Schema(description = "系统主键")
|
||||
private String systemId;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* app常用数据
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-07-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppDataListAllVO {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "是否有下级菜单")
|
||||
private Boolean hasChildren;
|
||||
@Schema(description = "菜单名称")
|
||||
private String fullName;
|
||||
@Schema(description = " 图标")
|
||||
private String icon;
|
||||
@Schema(description = "链接地址")
|
||||
private String urlAddress;
|
||||
@Schema(description = "父级id")
|
||||
private String parentId;
|
||||
@Schema(description = "菜单类型",example = "1")
|
||||
private Integer type;
|
||||
@Schema(description = "扩展字段")
|
||||
private String propertyJson;
|
||||
@Schema(description = "图标背景色")
|
||||
private String iconBackground;
|
||||
@Schema(description = "是否常用")
|
||||
private Boolean isData;
|
||||
@Schema(description = "排序")
|
||||
private Long sortCode;
|
||||
@Schema(description = "分类")
|
||||
private String category;
|
||||
@Schema(description = "下级菜单列表")
|
||||
private List<AppDataListAllVO> children;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* app常用数据
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-07-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppDataListVO {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "应用主键")
|
||||
private String objectId;
|
||||
@Schema(description = "数据")
|
||||
private String objectData;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* app常用数据
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-07-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppFlowListAllVO {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "名称")
|
||||
private String fullName;
|
||||
@Schema(description = "图标")
|
||||
private String icon;
|
||||
@Schema(description = "图标背景色")
|
||||
private String iconBackground;
|
||||
@Schema(description = "编码")
|
||||
private String enCode;
|
||||
@Schema(description = "是否常用")
|
||||
private Boolean isData;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* app应用
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-07-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppMenuListVO {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "是否有下级菜单")
|
||||
private Boolean hasChildren;
|
||||
@Schema(description = "父级id")
|
||||
private String parentId;
|
||||
@Schema(description = "菜单编码")
|
||||
private String enCode;
|
||||
@Schema(description = "菜单名称")
|
||||
private String fullName;
|
||||
@Schema(description = " 图标")
|
||||
private String icon;
|
||||
@Schema(description = "是否常用")
|
||||
private Boolean isData;
|
||||
@Schema(description = "链接地址")
|
||||
private String urlAddress;
|
||||
@Schema(description = "菜单类型",example = "1")
|
||||
private Integer type;
|
||||
@Schema(description = "扩展字段")
|
||||
private String propertyJson;
|
||||
@Schema(description = "下级菜单列表")
|
||||
private List<AppMenuListVO> children;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* app应用
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-08-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppPositionVO {
|
||||
@Schema(description = "岗位id")
|
||||
private String id;
|
||||
@Schema(description = "岗位名称")
|
||||
private String name;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024/3/12 15:31
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppUserInfoVO {
|
||||
@Schema(description = "主键")
|
||||
private String id;
|
||||
@Schema(description = "户名")
|
||||
private String realName;
|
||||
@Schema(description = "部门名称")
|
||||
private String organizeName;
|
||||
@Schema(description = "账号")
|
||||
private String account;
|
||||
@Schema(description = "岗位名称")
|
||||
private String positionName;
|
||||
@Schema(description = "办公电话")
|
||||
private String telePhone;
|
||||
@Schema(description = "办公座机")
|
||||
private String landline;
|
||||
@Schema(description = "手机号码")
|
||||
private String mobilePhone;
|
||||
@Schema(description = "用户头像")
|
||||
private String headIcon;
|
||||
@Schema(description = "邮箱")
|
||||
private String email;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
package com.yunzhupaas.model;
|
||||
|
||||
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 用户
|
||||
*
|
||||
* @author 云筑产品开发平台组
|
||||
* @version V3.1.0
|
||||
* @copyright 深圳市乐程软件有限公司
|
||||
* @date 2024-07-08
|
||||
*/
|
||||
@Data
|
||||
@Schema(description = "常用模型")
|
||||
public class AppUsersVO {
|
||||
@Schema(description = "用户id")
|
||||
private String userId;
|
||||
@Schema(description = "用户账号")
|
||||
private String userAccount;
|
||||
@Schema(description = "用户姓名")
|
||||
private String userName;
|
||||
@Schema(description = "用户头像")
|
||||
private String headIcon;
|
||||
@Schema(description = "组织主键")
|
||||
private String organizeId;
|
||||
@Schema(description = "组织名称")
|
||||
private String organizeName;
|
||||
@Schema(description = "角色主键")
|
||||
private String roleId;
|
||||
@Schema(description = "角色名称")
|
||||
private String roleName;
|
||||
@Schema(description = "性别")
|
||||
private String gender;
|
||||
@Schema(description = "岗位")
|
||||
private List<AppPositionVO> positionIds;
|
||||
@Schema(description = "生日")
|
||||
private Long birthday;
|
||||
@Schema(description = "手机")
|
||||
private String mobilePhone;
|
||||
@Schema(description = "邮箱")
|
||||
private String email;
|
||||
@Schema(description = "直属主管")
|
||||
private String manager;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user